The simple filter only processes the Y plane.
BUG=webm:1612
Change-Id: I9886ff43ea7f621d8915846cb65f609a9298566d
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
}
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 &&
}
y_ptr += 16;
- u_ptr += 8;
- v_ptr += 8;
mode_info_context++; /* step to next MB */
}
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],
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],