]> granicus.if.org Git - libvpx/commitdiff
fix vp10_convolve() signatures
authorskal <pascal.massimino@gmail.com>
Mon, 18 Jul 2016 15:32:43 +0000 (08:32 -0700)
committerPascal Massimino <pascal.massimino@gmail.com>
Mon, 18 Jul 2016 15:35:18 +0000 (15:35 +0000)
fortunately, the call site was calling the function with
the correct parameter order.

Change-Id: Ia48099c18288a2416c8b9a7062d2b8d417fd07df

vp10/common/vp10_convolve.c
vp10/common/vp10_convolve.h

index 5b1d921ec8d1bdb8758ec875ce88b2ea72fecbce..32e63addd38094150cb6e01468e19ffa42f1e6a5 100644 (file)
@@ -102,8 +102,8 @@ void vp10_convolve(const uint8_t *src, int src_stride, uint8_t *dst,
 #else
                    const INTERP_FILTER interp_filter,
 #endif
-                   const int subpel_x_q4, int x_step_q4, const int subpel_y_q4,
-                   int y_step_q4, int ref_idx) {
+                   const int subpel_x_q4, int x_step_q4,
+                   const int subpel_y_q4, int y_step_q4, int ref_idx) {
   int ignore_horiz = x_step_q4 == 16 && subpel_x_q4 == 0;
   int ignore_vert = y_step_q4 == 16 && subpel_y_q4 == 0;
 
index 13f87fc364d5ea5faac7c72ad573d5493f955743..2cc57fe623521a0bc7d9b96ffa3a7ed39b7081f9 100644 (file)
@@ -14,9 +14,8 @@ void vp10_convolve(const uint8_t *src, int src_stride,
 #else
                    const INTERP_FILTER interp_filter,
 #endif
-                   const int subpel_x,
-                   const int subpel_y,
-                   int xstep, int ystep, int avg);
+                   const int subpel_x, int xstep,
+                   const int subpel_y, int ystep, int avg);
 
 #if CONFIG_VP9_HIGHBITDEPTH
 void vp10_highbd_convolve(const uint8_t *src, int src_stride,
@@ -27,9 +26,9 @@ void vp10_highbd_convolve(const uint8_t *src, int src_stride,
 #else
                    const INTERP_FILTER interp_filter,
 #endif
-                   const int subpel_x,
-                   const int subpel_y,
-                   int xstep, int ystep, int avg, int bd);
+                   const int subpel_x, int xstep,
+                   const int subpel_y, int ystep,
+                   int avg, int bd);
 #endif  // CONFIG_VP9_HIGHBITDEPTH
 
 #ifdef __cplusplus