[lfnst] Fix lfnst+tr_skip for dual tree

This commit is contained in:
Joose Sainio 2022-07-07 11:53:16 +03:00
parent 450cd00290
commit 03fb6ce92e

View file

@ -201,7 +201,7 @@ static bool can_use_lfnst_with_isp(const int width, const int height, const int
const int tu_height = tu_width; // TODO: height for non-square blocks const int tu_height = tu_width; // TODO: height for non-square blocks
// TODO: chroma transform skip // TODO: chroma transform skip
if (tree_type != UVG_BOTH_T) { if (color == COLOR_Y) {
for (int i = 0; i < num_transform_units; i++) { for (int i = 0; i < num_transform_units; i++) {
// TODO: this works only for square blocks // TODO: this works only for square blocks
const int pu_x = x + ((i % tu_row_length) * tu_width); const int pu_x = x + ((i % tu_row_length) * tu_width);