@@ -579,7 +579,7 @@ fn stbi_fsh(x: Wrapping<i32>) -> Wrapping<i32> {
579
579
580
580
#[ test]
581
581
fn test_dequantize_and_idct_block_8x8 ( ) {
582
- #[ cfg_attr ( rustfmt, rustfmt_skip ) ]
582
+ #[ rustfmt:: skip ]
583
583
let coefficients: [ i16 ; 8 * 8 ] = [
584
584
-14 , -39 , 58 , -2 , 3 , 3 , 0 , 1 ,
585
585
11 , 27 , 4 , -3 , 3 , 0 , 1 , 0 ,
@@ -591,7 +591,7 @@ fn test_dequantize_and_idct_block_8x8() {
591
591
0 , 0 , 0 , 0 , 0 , 0 , 0 , 0
592
592
] ;
593
593
594
- #[ cfg_attr ( rustfmt, rustfmt_skip ) ]
594
+ #[ rustfmt:: skip ]
595
595
let quantization_table: [ u16 ; 8 * 8 ] = [
596
596
8 , 6 , 5 , 8 , 12 , 20 , 26 , 31 ,
597
597
6 , 6 , 7 , 10 , 13 , 29 , 30 , 28 ,
@@ -610,7 +610,7 @@ fn test_dequantize_and_idct_block_8x8() {
610
610
output_linestride,
611
611
& mut output,
612
612
) ;
613
- #[ cfg_attr ( rustfmt, rustfmt_skip ) ]
613
+ #[ rustfmt:: skip ]
614
614
let expected_output = [
615
615
118 , 92 , 110 , 83 , 77 , 93 , 144 , 198 ,
616
616
172 , 116 , 114 , 87 , 78 , 93 , 146 , 191 ,
@@ -642,7 +642,7 @@ fn test_dequantize_and_idct_block_8x8_saturated() {
642
642
}
643
643
let mut output = [ 0u8 ; 8 * 8 ] ;
644
644
dequantize_and_idct_block_8x8 ( & [ i16:: MAX ; 8 * 8 ] , & [ u16:: MAX ; 8 * 8 ] , 8 , & mut output) ;
645
- #[ cfg_attr ( rustfmt, rustfmt_skip ) ]
645
+ #[ rustfmt:: skip ]
646
646
let expected = [
647
647
0 , 0 , 0 , 255 , 255 , 0 , 0 , 255 ,
648
648
0 , 0 , 215 , 0 , 0 , 255 , 255 , 0 ,
0 commit comments