We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c247d53 commit a2f01b3Copy full SHA for a2f01b3
src/rate.rs
@@ -518,8 +518,7 @@ fn chroma_offset(
518
ChromaSampling::Cs422 => (x >> 3) + (x >> 4) - (x >> 7), // 0.180
519
ChromaSampling::Cs444 => (x >> 4) + (x >> 5) + (x >> 8), // 0.098
520
};
521
- // blog64(7) - blog64(4); blog64(5) - blog64(4)
522
- (0x19D_5D9F_D501_0B37 - y, 0xA4_D3C2_5E68_DC58 - y)
+ (const { blog64(7) - blog64(4) } - y, const { blog64(5) - blog64(4) } - y)
523
}
524
525
impl QuantizerParameters {
0 commit comments