Revision 0da71265 libavcodec/dsputil.h

View differences:

libavcodec/dsputil.h
76 76
// blocksizes for op_pixels_func are 8x4,8x8 16x8 16x16
77 77
typedef void (*op_pixels_func)(uint8_t *block/*align width (8 or 16)*/, const uint8_t *pixels/*align 1*/, int line_size, int h);
78 78
typedef void (*qpel_mc_func)(uint8_t *dst/*align width (8 or 16)*/, uint8_t *src/*align 1*/, int stride);
79
typedef void (*h264_chroma_mc_func)(uint8_t *dst/*align 8*/, uint8_t *src/*align 1*/, int srcStride, int h, int x, int y);
79 80

  
80 81
#define DEF_OLD_QPEL(name)\
81 82
void ff_put_        ## name (uint8_t *dst/*align width (8 or 16)*/, uint8_t *src/*align 1*/, int stride);\
......
107 108

  
108 109
typedef int (*me_cmp_func)(void /*MpegEncContext*/ *s, uint8_t *blk1/*align width (8 or 16)*/, uint8_t *blk2/*align 1*/, int line_size)/* __attribute__ ((const))*/;
109 110

  
111

  
110 112
/**
111 113
 * DSPContext.
112 114
 */
......
187 189
    qpel_mc_func put_no_rnd_qpel_pixels_tab[2][16];
188 190
    qpel_mc_func avg_no_rnd_qpel_pixels_tab[2][16];
189 191
    qpel_mc_func put_mspel_pixels_tab[8];
192
    
193
    /**
194
     * h264 Chram MC
195
     */
196
    h264_chroma_mc_func put_h264_chroma_pixels_tab[3];
197
    h264_chroma_mc_func avg_h264_chroma_pixels_tab[3];
190 198

  
199
    qpel_mc_func put_h264_qpel_pixels_tab[3][16];
200
    qpel_mc_func avg_h264_qpel_pixels_tab[3][16];
201
    
191 202
    op_pixels_abs_func pix_abs16x16;
192 203
    op_pixels_abs_func pix_abs16x16_x2;
193 204
    op_pixels_abs_func pix_abs16x16_y2;

Also available in: Unified diff