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/vp8.c | |
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/vp8.c')
-rw-r--r-- | libavcodec/vp8.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/vp8.c b/libavcodec/vp8.c index a4b3788d62..b7c60f9809 100644 --- a/libavcodec/vp8.c +++ b/libavcodec/vp8.c @@ -912,7 +912,7 @@ static inline void vp8_mc(VP8Context *s, int luma, uint8_t *dst, uint8_t *src, const VP56mv *mv, int x_off, int y_off, int block_w, int block_h, int width, int height, int linesize, - h264_chroma_mc_func mc_func[3][3]) + vp8_mc_func mc_func[3][3]) { static const uint8_t idx[8] = { 0, 1, 2, 1, 2, 1, 2, 1 }; int mx = (mv->x << luma)&7, mx_idx = idx[mx]; @@ -931,7 +931,7 @@ static inline void vp8_mc(VP8Context *s, int luma, src = s->edge_emu_buffer + 2 + linesize * 2; } - mc_func[my_idx][mx_idx](dst, src, linesize, block_h, mx, my); + mc_func[my_idx][mx_idx](dst, linesize, src, linesize, block_h, mx, my); } /** |