Revision 622348f9 libavcodec/dsputil.h

View differences:

libavcodec/dsputil.h
138 138
    int (*pix_norm1)(uint8_t * pix, int line_size);
139 139
// 16x16 8x8 4x4 2x2 16x8 8x4 4x2 8x16 4x8 2x4
140 140
    
141
    me_cmp_func sad[4]; /* identical to pix_absAxA except additional void * */
142
    me_cmp_func sse[4];
143
    me_cmp_func hadamard8_diff[4];
144
    me_cmp_func dct_sad[4];
145
    me_cmp_func quant_psnr[4];
146
    me_cmp_func bit[4];
147
    me_cmp_func rd[4];
148
    int (*hadamard8_abs )(uint8_t *src, int stride, int mean);
141
    me_cmp_func sad[5]; /* identical to pix_absAxA except additional void * */
142
    me_cmp_func sse[5];
143
    me_cmp_func hadamard8_diff[5];
144
    me_cmp_func dct_sad[5];
145
    me_cmp_func quant_psnr[5];
146
    me_cmp_func bit[5];
147
    me_cmp_func rd[5];
148
    me_cmp_func vsad[5];
149
    me_cmp_func vsse[5];
149 150

  
150 151
    me_cmp_func me_pre_cmp[5];
151 152
    me_cmp_func me_cmp[5];
152 153
    me_cmp_func me_sub_cmp[5];
153 154
    me_cmp_func mb_cmp[5];
155
    me_cmp_func ildct_cmp[5]; //only width 16 used
154 156

  
155
    /* maybe create an array for 16/8/4/2 functions */
156 157
    /**
157 158
     * Halfpel motion compensation with rounding (a+b+1)>>1.
158 159
     * this is an array[4][4] of motion compensation funcions for 4 
......
293 294
 */
294 295
void ff_block_permute(DCTELEM *block, uint8_t *permutation, const uint8_t *scantable, int last);
295 296

  
297
void ff_set_cmp(DSPContext* c, me_cmp_func *cmp, int type);
298

  
296 299
#define	BYTE_VEC32(c)	((c)*0x01010101UL)
297 300

  
298 301
static inline uint32_t rnd_avg32(uint32_t a, uint32_t b)

Also available in: Unified diff