Commit b1d1f2ca authored by David Barker's avatar David Barker

deblock-13tap: Don't use 8-tap filter for chroma plane

For the chroma plane, the selected filter length was based on
transform size as follows:
TX_4X4 -> filter_length = 4
TX_8X8 -> filter_length = 8
TX_16X16 -> filter_length = 6 (this is intentionally *not* 16)

This seems inconsistent; presumably the intention is to use the
6-tap filter for TX_8X8 as well. This patch makes the appropriate
change to make that be the case.

Change-Id: I7f53d1dce4f16144bcf0c20131527b5193311603
parent d3d0615e
......@@ -2950,7 +2950,12 @@ static void set_lpf_parameters(
if (TX_4X4 >= min_ts) {
params->filter_length = 4;
} else if (TX_8X8 == min_ts) {
params->filter_length = 8;
#if PARALLEL_DEBLOCKING_5_TAP_CHROMA
if (plane != 0)
params->filter_length = 6;
else
#endif
params->filter_length = 8;
} else {
params->filter_length = 16;
#if PARALLEL_DEBLOCKING_15TAPLUMAONLY
......
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