Commit 84f05d2c authored by Angie Chiang's avatar Angie Chiang
Browse files

One-dir 12 sharp filter only in highbitdepth mode

When both directions pick sharp filter, horizontal direction use
12-tap sharp filter and vertical direction uses 8-tap sharp filter.

BDRate performance drop slightly.
       BDRate
lowres -0.083%
midres -0.073%
hdres  -0.016%

Change-Id: I6dc075af98f6b4fae558827424a7dd8f38d56503
parent 9e963dc0
......@@ -466,6 +466,12 @@ void av1_highbd_convolve(const uint8_t *src8, int src_stride, uint8_t *dst8,
av1_get_interp_filter_params(interp_filter[1 + 2 * ref_idx]);
InterpFilterParams filter_params_y =
av1_get_interp_filter_params(interp_filter[0 + 2 * ref_idx]);
if (interp_filter[0 + 2 * ref_idx] == MULTITAP_SHARP &&
interp_filter[1 + 2 * ref_idx] == MULTITAP_SHARP) {
// Avoid two directions both using 12-tap filter.
// This will reduce hardware implementation cost.
filter_params_y = av1_get_interp_filter_params(EIGHTTAP_SHARP);
}
#endif
#if CONFIG_DUAL_FILTER
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment