comparison dsputil.h @ 403:2c3e25f4c496 libavcodec

removed unused stuff - added dsputil_set_bit_exact() support for easier testing
author glantau
date Mon, 20 May 2002 16:37:58 +0000
parents 9c6f056f0e41
children 718a22dc121f
comparison
equal deleted inserted replaced
402:92d143c2d5a8 403:2c3e25f4c496
59 extern op_pixels_func put_no_rnd_pixels_tab[4]; 59 extern op_pixels_func put_no_rnd_pixels_tab[4];
60 extern op_pixels_func avg_no_rnd_pixels_tab[4]; 60 extern op_pixels_func avg_no_rnd_pixels_tab[4];
61 extern qpel_mc_func qpel_mc_rnd_tab[16]; 61 extern qpel_mc_func qpel_mc_rnd_tab[16];
62 extern qpel_mc_func qpel_mc_no_rnd_tab[16]; 62 extern qpel_mc_func qpel_mc_no_rnd_tab[16];
63 63
64
65 /* sub pixel (encoding) */
66 extern void (*sub_pixels_tab[4])(DCTELEM *block, const UINT8 *pixels, int line_size, int h);
67
68 #define sub_pixels_2(block, pixels, line_size, dxy) \
69 sub_pixels_tab[dxy](block, pixels, line_size, 8)
70
71 /* motion estimation */ 64 /* motion estimation */
72 65
73 typedef int (*op_pixels_abs_func)(UINT8 *blk1, UINT8 *blk2, int line_size); 66 typedef int (*op_pixels_abs_func)(UINT8 *blk1, UINT8 *blk2, int line_size);
74 67
75 extern op_pixels_abs_func pix_abs16x16; 68 extern op_pixels_abs_func pix_abs16x16;
117 } 110 }
118 111
119 #define __align8 __attribute__ ((aligned (8))) 112 #define __align8 __attribute__ ((aligned (8)))
120 113
121 void dsputil_init_mmx(void); 114 void dsputil_init_mmx(void);
115 void dsputil_set_bit_exact_mmx(void);
122 116
123 #elif defined(ARCH_ARMV4L) 117 #elif defined(ARCH_ARMV4L)
124 118
125 #define emms_c() 119 #define emms_c()
126 120