mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-27 11:24:05 +00:00
[lfnst] Fix lfnst+tr_skip for dual tree
This commit is contained in:
parent
450cd00290
commit
03fb6ce92e
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue