mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-23 18:14:06 +00:00
[mtt] Fix ref pixel generation for the second half of 32x2 chroma cus
This commit is contained in:
parent
446c53fd00
commit
4e203108bc
|
@ -1492,7 +1492,7 @@ void uvg_intra_build_reference_inner(
|
|||
int i = multi_ref_index; // Offset by multi_ref_index
|
||||
|
||||
// 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 {
|
||||
out_left_ref[i + 1] = left_border[(i + 0 - multi_ref_index) * left_stride];
|
||||
i += 1;
|
||||
|
|
Loading…
Reference in a new issue