ref: 16d4f15782fa708769ac1838ea7b9f7a7d800503
parent: a653423f232d6ad3a6569a224f27c3249f13606c
author: Johann <[email protected]>
date: Mon Nov 4 09:52:17 EST 2019
remove unused simple loopfilter parameters The simple filter only processes the Y plane. BUG=webm:1612 Change-Id: I9886ff43ea7f621d8915846cb65f609a9298566d
--- a/vp8/common/loopfilter.h
+++ b/vp8/common/loopfilter.h
@@ -93,9 +93,7 @@
void vp8_loop_filter_row_simple(struct VP8Common *cm,
struct modeinfo *mode_info_context, int mb_row,
- int post_ystride, int post_uvstride,
- unsigned char *y_ptr, unsigned char *u_ptr,
- unsigned char *v_ptr);
+ int post_ystride, unsigned char *y_ptr);
#ifdef __cplusplus
} // extern "C"
#endif
--- a/vp8/common/vp8_loopfilter.c
+++ b/vp8/common/vp8_loopfilter.c
@@ -219,13 +219,11 @@
}
void vp8_loop_filter_row_simple(VP8_COMMON *cm, MODE_INFO *mode_info_context,
- int mb_row, int post_ystride, int post_uvstride,
- unsigned char *y_ptr, unsigned char *u_ptr,
- unsigned char *v_ptr) {
+ int mb_row, int post_ystride,
+ unsigned char *y_ptr) {
int mb_col;
int filter_level;
loop_filter_info_n *lfi_n = &cm->lf_info;
- (void)post_uvstride;
for (mb_col = 0; mb_col < cm->mb_cols; ++mb_col) {
int skip_lf = (mode_info_context->mbmi.mode != B_PRED &&
@@ -258,8 +256,6 @@
}
y_ptr += 16;
- u_ptr += 8;
- v_ptr += 8;
mode_info_context++; /* step to next MB */
}
--- a/vp8/decoder/decodeframe.c
+++ b/vp8/decoder/decodeframe.c
@@ -610,8 +610,7 @@
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]);
}
if (mb_row > 1) {
yv12_extend_frame_left_right_c(yv12_fb_new, eb_dst[0], eb_dst[1],
@@ -647,8 +646,7 @@
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]);
}
yv12_extend_frame_left_right_c(yv12_fb_new, eb_dst[0], eb_dst[1],