mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-24 02:24:07 +00:00
Fix incorrect blitting of top row during SAO reconstruction.
This commit is contained in:
parent
f9061d322a
commit
ef8a984d4f
|
@ -209,7 +209,7 @@ void sao_reconstruct(picture *pic, pixel *new_y_data, unsigned x_ctb, unsigned y
|
|||
// Copy reconstructed block from tmp buffer to rec image.
|
||||
//
|
||||
picture_blit_pixels(new_rec_y,
|
||||
&new_y_recdata[(tl.y + rec.y - y) * (LCU_WIDTH) + (tl.x + rec.x - x)],
|
||||
&new_y_recdata[(tl.y + rec.y - y) * (pic->width) + (tl.x + rec.x - x)],
|
||||
block.x, block.y, LCU_WIDTH, pic->width);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue