Skip to content

Commit

Permalink
[rdoq] Fix rdoq with MTS
Browse files Browse the repository at this point in the history
  • Loading branch information
Jovasa committed Nov 29, 2024
1 parent 7669886 commit 2d2301c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rdo.c
Original file line number Diff line number Diff line change
Expand Up @@ -1854,7 +1854,7 @@ void uvg_rdoq(
int32_t blk_y = blkPos >> log2_block_width;
int32_t level = blk_x >= 16 || blk_y >= 16 ? 0 : dest_coeff[blkPos];
abs_sum += level;
dest_coeff[blkPos] = (coeff_t)(( level < 0 ) ? -level : level);
dest_coeff[blkPos] = (coeff_t)((coef[blkPos] < 0) ? -level : level);
}
}
//===== clean uncoded coefficients =====
Expand Down

0 comments on commit 2d2301c

Please sign in to comment.