mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-24 02:24:07 +00:00
Fix bug in SAO reconstruction.
This commit is contained in:
parent
43ae719ddb
commit
8b0eb66555
|
@ -156,7 +156,7 @@ void sao_calc_block_dims(const picture *pic, const sao_info *sao, vector2d *rec,
|
||||||
if (rec->x + LCU_WIDTH > pic->width) {
|
if (rec->x + LCU_WIDTH > pic->width) {
|
||||||
block->x = pic->width - rec->x;
|
block->x = pic->width - rec->x;
|
||||||
}
|
}
|
||||||
if (a_ofs.x == 1 || b_ofs.y == 1) {
|
if (a_ofs.x == 1 || b_ofs.x == 1) {
|
||||||
block->x -= 1;
|
block->x -= 1;
|
||||||
br->x += 1;
|
br->x += 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue