diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-02-06 13:16:31 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-02-06 13:22:19 +0100 |
commit | 0ddca7d416cc8b80d9943405d6d0bb39bc2dec06 (patch) | |
tree | 78c1a6834e65ea7376353819338482c5eea83b2e /libavcodec/vc1dsp.h | |
parent | ede45c4e1da8bd2fefc89ea63e57a49e6c0a3e19 (diff) | |
download | ffmpeg-streaming-0ddca7d416cc8b80d9943405d6d0bb39bc2dec06.zip ffmpeg-streaming-0ddca7d416cc8b80d9943405d6d0bb39bc2dec06.tar.gz |
dsputil: fixup half a dozen bugs with ptrdiff vs int linesize
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/vc1dsp.h')
-rw-r--r-- | libavcodec/vc1dsp.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libavcodec/vc1dsp.h b/libavcodec/vc1dsp.h index 901e46a..1d4c813 100644 --- a/libavcodec/vc1dsp.h +++ b/libavcodec/vc1dsp.h @@ -30,6 +30,8 @@ #include "dsputil.h" +typedef void (*vc1op_pixels_func)(uint8_t *block/*align width (8 or 16)*/, const uint8_t *pixels/*align 1*/, int line_size, int h); + typedef struct VC1DSPContext { /* vc1 functions */ void (*vc1_inv_trans_8x8)(int16_t *b); @@ -54,8 +56,8 @@ typedef struct VC1DSPContext { /* put 8x8 block with bicubic interpolation and quarterpel precision * last argument is actually round value instead of height */ - op_pixels_func put_vc1_mspel_pixels_tab[16]; - op_pixels_func avg_vc1_mspel_pixels_tab[16]; + vc1op_pixels_func put_vc1_mspel_pixels_tab[16]; + vc1op_pixels_func avg_vc1_mspel_pixels_tab[16]; /* This is really one func used in VC-1 decoding */ h264_chroma_mc_func put_no_rnd_vc1_chroma_pixels_tab[3]; |