mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-24 10:34:05 +00:00
[mtt] Fix ref pixel generation for the second half of 32x2 chroma cus
This commit is contained in:
parent
c431529c0e
commit
47b6754113
|
@ -1492,7 +1492,7 @@ void uvg_intra_build_reference_inner(
|
||||||
int i = multi_ref_index; // Offset by multi_ref_index
|
int i = multi_ref_index; // Offset by multi_ref_index
|
||||||
|
|
||||||
// Do different loop for heights smaller than 4 (possible for some ISP splits)
|
// Do different loop for heights smaller than 4 (possible for some ISP splits)
|
||||||
if (px.y % 4 != 0) {
|
if (px.y % 4 != 0 || px_available_left < 4) {
|
||||||
do {
|
do {
|
||||||
out_left_ref[i + 1] = left_border[(i + 0 - multi_ref_index) * left_stride];
|
out_left_ref[i + 1] = left_border[(i + 0 - multi_ref_index) * left_stride];
|
||||||
i += 1;
|
i += 1;
|
||||||
|
|
Loading…
Reference in a new issue