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
This commit is contained in:
Родитель
9e963dc0ed
Коммит
84f05d2c78
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче