From 392a2c43c77242f05715bdac086f235e6cbbdf2e Mon Sep 17 00:00:00 2001 From: Jim Bankoski Date: Tue, 27 May 2014 16:36:17 -0700 Subject: [PATCH] remove vp8 unused uvstride parm in simple loop filter Change-Id: I35fac6c0db327ef81852f326a93878b57cb2def4 --- vp8/common/loopfilter.c | 2 +- vp8/common/loopfilter.h | 2 +- vp8/decoder/decodeframe.c | 5 ++--- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/vp8/common/loopfilter.c b/vp8/common/loopfilter.c index 7a07e76fc..b89ec65fd 100644 --- a/vp8/common/loopfilter.c +++ b/vp8/common/loopfilter.c @@ -254,7 +254,7 @@ void vp8_loop_filter_row_normal(VP8_COMMON *cm, MODE_INFO *mode_info_context, } void vp8_loop_filter_row_simple(VP8_COMMON *cm, MODE_INFO *mode_info_context, - int mb_row, int post_ystride, int post_uvstride, + int mb_row, int post_ystride, unsigned char *y_ptr, unsigned char *u_ptr, unsigned char *v_ptr) { diff --git a/vp8/common/loopfilter.h b/vp8/common/loopfilter.h index 20a6bd375..38e013f88 100644 --- a/vp8/common/loopfilter.h +++ b/vp8/common/loopfilter.h @@ -103,7 +103,7 @@ void vp8_loop_filter_row_normal(struct VP8Common *cm, void vp8_loop_filter_row_simple(struct VP8Common *cm, struct modeinfo *mode_info_context, - int mb_row, int post_ystride, int post_uvstride, + int mb_row, int post_ystride, unsigned char *y_ptr, unsigned char *u_ptr, unsigned char *v_ptr); #ifdef __cplusplus diff --git a/vp8/decoder/decodeframe.c b/vp8/decoder/decodeframe.c index e7cf0d9b9..1b035be58 100644 --- a/vp8/decoder/decodeframe.c +++ b/vp8/decoder/decodeframe.c @@ -687,7 +687,7 @@ static void decode_mb_rows(VP8D_COMP *pbi) lf_dst[0], lf_dst[1], lf_dst[2]); else vp8_loop_filter_row_simple(pc, lf_mic, mb_row-1, - recon_y_stride, recon_uv_stride, + recon_y_stride, lf_dst[0], lf_dst[1], lf_dst[2]); if(mb_row > 1) { @@ -732,8 +732,7 @@ static void decode_mb_rows(VP8D_COMP *pbi) lf_dst[2]); else vp8_loop_filter_row_simple(pc, lf_mic, mb_row-1, recon_y_stride, - recon_uv_stride, lf_dst[0], lf_dst[1], - lf_dst[2]); + lf_dst[0], lf_dst[1], lf_dst[2]); yv12_extend_frame_left_right_c(yv12_fb_new, eb_dst[0],