File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -13,9 +13,16 @@ use super::jpeg_header::JPegHeader;
13
13
14
14
pub struct QuantizationTables {
15
15
quantization_table : [ u16 ; 64 ] ,
16
+
17
+ /// transposed version of quantization table
16
18
quantization_table_transposed : [ u16 ; 64 ] ,
17
19
20
+ /// precalculated divisors * 8192 for the top row of the quantization table for final step of lak calculation
21
+ /// compiler sees non-zero to avoid having to check for division-by-zero
18
22
quantization_table_divisors_horiz : [ NonZeroI32 ; 8 ] ,
23
+
24
+ /// precalculated divisors * 8192 for the left column of the quantization table for final step of lak calculation
25
+ /// compiler sees non-zero to avoid having to check for division-by-zero
19
26
quantization_table_divisors_vert : [ NonZeroI32 ; 8 ] ,
20
27
21
28
// Values for discrimination between "regular" and "noise" part of
You can’t perform that action at this time.
0 commit comments