diff options
author | Jason Garrett-Glaser <darkshikari@gmail.com> | 2010-06-25 18:14:07 +0000 |
---|---|---|
committer | Jason Garrett-Glaser <darkshikari@gmail.com> | 2010-06-25 18:14:07 +0000 |
commit | d6f8476be4895c620d58e021ab880823d2fe25bf (patch) | |
tree | 6a6b0d4114ddc750b031fb7920cbc5bdbdc80a50 /libavcodec/vp8dsp.h | |
parent | eb7626a32b5d0b14fdc15d9b1bdf65342efe3b67 (diff) | |
download | ffmpeg-d6f8476be4895c620d58e021ab880823d2fe25bf.tar.gz |
Make VP8 DSP functions take two strides
This isn't useful for the C functions, but will allow re-using H and V functions
for HV functions without adding separate H and V wrappers.
Originally committed as revision 23782 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/vp8dsp.h')
-rw-r--r-- | libavcodec/vp8dsp.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/vp8dsp.h b/libavcodec/vp8dsp.h index fa7bf76d29..2cd9e7a10b 100644 --- a/libavcodec/vp8dsp.h +++ b/libavcodec/vp8dsp.h @@ -27,6 +27,8 @@ #include "dsputil.h" +typedef void (*vp8_mc_func)(uint8_t *dst/*align 8*/, int dstStride, uint8_t *src/*align 1*/, int srcStride, int h, int x, int y); + typedef struct VP8DSPContext { void (*vp8_luma_dc_wht)(DCTELEM block[4][4][16], DCTELEM dc[16]); void (*vp8_idct_add)(uint8_t *dst, DCTELEM block[16], int stride); @@ -55,7 +57,7 @@ typedef struct VP8DSPContext { * third dimension: same as second dimention, for horizontal interpolation * so something like put_vp8_epel_pixels_tab[width>>3][2*!!my-(my&1)][2*!!mx-(mx&1)](..., mx, my) */ - h264_chroma_mc_func put_vp8_epel_pixels_tab[3][3][3]; + vp8_mc_func put_vp8_epel_pixels_tab[3][3][3]; } VP8DSPContext; void ff_put_vp8_pixels16_c(uint8_t *dst, uint8_t *src, int stride, int h, int x, int y); |