diff vp8.c @ 11950:56aba5a9761c libavcodec

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.
author darkshikari
date Fri, 25 Jun 2010 18:14:07 +0000
parents fc9e4874a12c
children c7953ee47af4
line wrap: on
line diff
--- a/vp8.c	Fri Jun 25 13:43:55 2010 +0000
+++ b/vp8.c	Fri Jun 25 18:14:07 2010 +0000
@@ -912,7 +912,7 @@
                           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 @@
         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);
 }
 
 /**