int mvx, int mvy,
int i_width, int i_height );
+ /* may round up the dimensions if they're not a power of 2 */
uint8_t* (*get_ref)(uint8_t **, int, uint8_t *, int *,
int mvx, int mvy,
int i_width, int i_height );
void (*plane_copy)( uint8_t *dst, int i_dst,
uint8_t *src, int i_src, int w, int h);
+
+ void (*hpel_filter)( uint8_t *dsth, uint8_t *dstv, uint8_t *dstc, uint8_t *src,
+ int i_stride, int i_width, int i_height );
+
+ /* prefetch the next few macroblocks of fenc or fdec */
+ void (*prefetch_fenc)( uint8_t *pix_y, int stride_y,
+ uint8_t *pix_uv, int stride_uv, int mb_x );
+ /* prefetch the next few macroblocks of a hpel reference frame */
+ void (*prefetch_ref)( uint8_t *pix, int stride, int parity );
+
} x264_mc_functions_t;
void x264_mc_init( int cpu, x264_mc_functions_t *pf );