Debian Codegraph @

src/idct/scalar.rs

raw symbols SCIP
1 /*
2 * Copyright (c) 2023.
3 *
4 * This software is free software;
5 *
6 * You can redistribute it or modify it under terms of the MIT, Apache License or Zlib license
7 */
8
9 //! Platform independent IDCT algorithm
10 //!
11 //! Not as fast as AVX one.
12
13 const SCALE_BITSrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/SCALE_BITS.: i32 = 512 rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][`Add<Self>`]add().65536 rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][`Add<Self>`]add().(128 rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shl<Self>`]shl().<<rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shl<Self>`]shl(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shl<Self>`]shl().17);
14
15 #[inline(always)]
16 fn warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(a: i32, b: i32) -> i32 {
17 a.wrapping_addrust-analyzer cargo core https://github.com/rust-lang/rust/library/core num/impl#[i32]wrapping_add().(b)
18 }
19
20 #[inline(always)]
21 fn wsrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/ws().(a: i32, b: i32) -> i32 {
22 a.wrapping_subrust-analyzer cargo core https://github.com/rust-lang/rust/library/core num/impl#[i32]wrapping_sub().(b)
23 }
24
25 #[inline(always)]
26 fn wmrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wm().(a: i32, b: i32) -> i32 {
27 a.wrapping_mulrust-analyzer cargo core https://github.com/rust-lang/rust/library/core num/impl#[i32]wrapping_mul().(b)
28 }
29
30 #[inline]
31 pub fn idct_int_1x1rust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/idct_int_1x1().(in_vector: &mut [i32; 64], mut out_vector: &mut [i16], stride: usize) {
32 let coeff = ((warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(in_vector[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().0]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index()., 4), 1024) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().>>rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().3).clamprust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[i32][Ord]clamp().(0, 255)) as i16;
33
34 out_vector[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut()...rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/RangeTo#8]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut()..fillrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]fill().(coeff);
35 for _ in 0..rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/Range#7 {
36 out_vector = &mut out_vector[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut().stride..rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/RangeFrom#]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut().;
37 out_vector[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut()...rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/RangeTo#8]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut()..fillrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]fill().(coeff);
38
39 }
40 }
41
42 #[allow(unused_assignments)]
43 #[allow(
44 clippy::too_many_lines,
45 clippy::op_ref,
46 clippy::cast_possible_truncation
47 )]
48 pub fn idct_intrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/idct_int().(in_vector: &mut [i32; 64], out_vector: &mut [i16], stride: usize) {
49 let mut pos = 0;
50 let mut i = 0;
51
52 if &in_vector[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().1..rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/RangeFrom#]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[`&A`][`PartialEq<&B>`]eq().==rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[`&A`][`PartialEq<&B>`]eq(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[`&A`][`PartialEq<&B>`]eq().&[0_i32; 63] {
53 return idct_int_1x1rust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/idct_int_1x1().(in_vector, out_vector, stride);
54 }
55
56 // vertical pass
57 for ptr in 0..rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/Range#8 {
58 let p2 = in_vector[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().ptr rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().16]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().;
59 let p3 = in_vector[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().ptr rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().48]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().;
60
61 let p1 = wmrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wm().(warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(p2, p3), 2217);
62
63 let t2 = warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(p1, wmrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wm().(p3, -rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][Neg]neg().7567));
64 let t3 = warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(p1, wmrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wm().(p2, 3135));
65
66 let p2 = in_vector[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().ptr]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().;
67 let p3 = in_vector[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().32 rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().ptr]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().;
68
69 let t0 = fshrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/fsh().(warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(p2, p3));
70 let t1 = fshrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/fsh().(wsrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/ws().(p2, p3));
71
72 let x0 = warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(t0, t3), 512);
73 let x3 = warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(wsrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/ws().(t0, t3), 512);
74 let x1 = warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(t1, t2), 512);
75 let x2 = warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(wsrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/ws().(t1, t2), 512);
76
77 let mut t0 = in_vector[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().ptr rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().56]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().;
78 let mut t1 = in_vector[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().ptr rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().40]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().;
79 let mut t2 = in_vector[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().ptr rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().24]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().;
80 let mut t3 = in_vector[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().ptr rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().8]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().;
81
82 let p3 = warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(t0, t2);
83 let p4 = warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(t1, t3);
84 let p1 = warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(t0, t3);
85 let p2 = warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(t1, t2);
86 let p5 = wmrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wm().(warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(p3, p4), 4816);
87
88 t0 = wmrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wm().(t0, 1223);
89 t1 = wmrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wm().(t1, 8410);
90 t2 = wmrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wm().(t2, 12586);
91 t3 = wmrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wm().(t3, 6149);
92
93 let p1 = warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(p5, wmrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wm().(p1, -rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][Neg]neg().3685));
94 let p2 = warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(p5, wmrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wm().(p2, -rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][Neg]neg().10497));
95 let p3 = wmrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wm().(p3, -rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][Neg]neg().8034);
96 let p4 = wmrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wm().(p4, -rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][Neg]neg().1597);
97
98 t3 = warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(t3, warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(p1, p4));
99 t2 = warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(t2, warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(p2, p3));
100 t1 = warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(t1, warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(p2, p4));
101 t0 = warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(t0, warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(p1, p3));
102
103 in_vector[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut().ptr]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut(). = wsrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/ws().(warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(x0, t3), 0) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().>>rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().10;
104 in_vector[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut().ptr rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().8]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut(). = wsrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/ws().(warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(x1, t2), 0) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().>>rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().10;
105 in_vector[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut().ptr rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().16]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut(). = wsrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/ws().(warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(x2, t1), 0) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().>>rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().10;
106 in_vector[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut().ptr rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().24]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut(). = wsrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/ws().(warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(x3, t0), 0) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().>>rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().10;
107 in_vector[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut().ptr rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().32]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut(). = wsrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/ws().(wsrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/ws().(x3, t0), 0) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().>>rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().10;
108 in_vector[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut().ptr rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().40]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut(). = wsrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/ws().(wsrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/ws().(x2, t1), 0) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().>>rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().10;
109 in_vector[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut().ptr rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().48]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut(). = wsrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/ws().(wsrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/ws().(x1, t2), 0) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().>>rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().10;
110 in_vector[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut().ptr rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().56]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut(). = wsrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/ws().(wsrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/ws().(x0, t3), 0) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().>>rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().10;
111 }
112
113 // horizontal pass
114 while i rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[usize][`PartialOrd<Self>`]lt().<rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[usize][`PartialOrd<Self>`]lt(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[usize][`PartialOrd<Self>`]lt().64 {
115 let p2 = in_vector[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().2]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().;
116 let p3 = in_vector[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().6]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().;
117
118 let p1 = wmrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wm().(warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(p2, p3), 2217);
119 let t2 = warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(p1, wmrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wm().(p3, -rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][Neg]neg().7567));
120 let t3 = warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(p1, wmrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wm().(p2, 3135));
121
122 let p2 = in_vector[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().;
123 let p3 = in_vector[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().4]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().;
124
125 let t0 = fshrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/fsh().(warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(p2, p3));
126 let t1 = fshrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/fsh().(wsrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/ws().(p2, p3));
127
128 let x0 = warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(t0, t3), SCALE_BITSrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/SCALE_BITS.);
129 let x3 = warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(wsrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/ws().(t0, t3), SCALE_BITSrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/SCALE_BITS.);
130 let x1 = warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(t1, t2), SCALE_BITSrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/SCALE_BITS.);
131 let x2 = warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(wsrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/ws().(t1, t2), SCALE_BITSrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/SCALE_BITS.);
132
133 let mut t0 = in_vector[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().7]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().;
134 let mut t1 = in_vector[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().5]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().;
135 let mut t2 = in_vector[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().3]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().;
136 let mut t3 = in_vector[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().1]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().;
137
138 let p3 = warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(t0, t2);
139 let p4 = warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(t1, t3);
140 let p1 = warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(t0, t3);
141 let p2 = warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(t1, t2);
142 let p5 = wmrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wm().(warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(p3, p4), f2frust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/f2f().(1.175875602));
143
144 t0 = wmrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wm().(t0, 1223);
145 t1 = wmrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wm().(t1, 8410);
146 t2 = wmrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wm().(t2, 12586);
147 t3 = wmrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wm().(t3, 6149);
148
149 let p1 = warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(p5, wmrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wm().(p1, -rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][Neg]neg().3685));
150 let p2 = warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(p5, wmrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wm().(p2, -rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][Neg]neg().10497));
151 let p3 = wmrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wm().(p3, -rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][Neg]neg().8034);
152 let p4 = wmrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wm().(p4, -rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][Neg]neg().1597);
153
154 t3 = warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(t3, warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(p1, p4));
155 t2 = warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(t2, warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(p2, p3));
156 t1 = warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(t1, warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(p2, p4));
157 t0 = warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(t0, warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(p1, p3));
158
159 // to prevent some bad images from crashing
160 let mut tmp = [0; 8];
161
162 let out: &mut [i16; 8] = out_vector
163 .get_mutrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]get_mut().(pos..rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/Range#pos rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().8)
164 .unwrap_orrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]unwrap_or().(&mut tmp)
165 .try_intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/impl#[T][`TryInto<U>`]try_into().()
166 .unwraprust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`]unwrap().();
167
168 out[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut().0]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut(). = clamprust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/clamp().(warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(x0, t3) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().>>rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().17);
169 out[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut().1]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut(). = clamprust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/clamp().(warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(x1, t2) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().>>rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().17);
170 out[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut().2]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut(). = clamprust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/clamp().(warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(x2, t1) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().>>rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().17);
171 out[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut().3]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut(). = clamprust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/clamp().(warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(x3, t0) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().>>rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().17);
172 out[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut().4]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut(). = clamprust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/clamp().(wsrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/ws().(x3, t0) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().>>rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().17);
173 out[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut().5]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut(). = clamprust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/clamp().(wsrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/ws().(x2, t1) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().>>rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().17);
174 out[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut().6]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut(). = clamprust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/clamp().(wsrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/ws().(x1, t2) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().>>rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().17);
175 out[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut().7]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut(). = clamprust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/clamp().(wsrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/ws().(x0, t3) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().>>rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().17);
176
177 i rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`AddAssign<Self>`]add_assign().+=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`AddAssign<Self>`]add_assign(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`AddAssign<Self>`]add_assign().8;
178 pos rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`AddAssign<Self>`]add_assign().+=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`AddAssign<Self>`]add_assign(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`AddAssign<Self>`]add_assign().stride;
179 }
180 }
181
182 #[inline]
183 #[allow(clippy::cast_possible_truncation)]
184 /// Multiply a number by 4096
185 fn f2frust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/f2f().(x: f32) -> i32 {
186 (x rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[f32][`Mul<Self>`]mul().*rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[f32][`Mul<Self>`]mul(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[f32][`Mul<Self>`]mul().4096.0 rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[f32][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[f32][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[f32][`Add<Self>`]add().0.5) as i32
187 }
188
189 #[inline]
190 /// Multiply a number by 4096
191 fn fshrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/fsh().(x: i32) -> i32 {
192 x rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shl<Self>`]shl().<<rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shl<Self>`]shl(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shl<Self>`]shl().12
193 }
194
195 /// Clamp values between 0 and 255
196 #[inline]
197 #[allow(clippy::cast_possible_truncation)]
198 fn clamprust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/clamp().(a: i32) -> i16 {
199 a.clamprust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[i32][Ord]clamp().(0, 255) as i16
200 }
201
202 /// IDCT assuming only the upper 4x4 is filled.
203 pub fn idct4x4rust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/idct4x4().(in_vector: &mut [i32; 64], out_vector: &mut [i16], stride: usize) {
204 let mut pos = 0;
205
206 // vertical pass
207 for ptr in 0..rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/Range#4 {
208 let i0 = warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(fshrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/fsh().(in_vector[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().ptr]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().), 512);
209 let i2 = in_vector[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().ptr rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().16]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().;
210
211 let p1 = wmrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wm().(i2, 2217);
212 let p3 = wmrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wm().(i2, 5352);
213
214 let x0 = warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(i0, p3);
215 let x1 = warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(i0, p1);
216 let x2 = wsrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/ws().(i0, p1);
217 let x3 = wsrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/ws().(i0, p3);
218
219 // odd part
220 let i4 = in_vector[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().ptr rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().24]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().;
221 let i3 = in_vector[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().ptr rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().8]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().;
222
223 let p5 = wmrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wm().(warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(i4, i3), 4816);
224
225 let p1 = warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(p5, wmrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wm().(i3, -rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][Neg]neg().3685));
226 let p2 = warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(p5, wmrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wm().(i4, -rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][Neg]neg().10497));
227
228 let t3 = warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(p5, wmrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wm().(i3, 867));
229 let t2 = warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(p5, wmrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wm().(i4, -rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][Neg]neg().5945));
230
231 let t1 = warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(p2, wmrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wm().(i3, -rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][Neg]neg().1597));
232 let t0 = warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(p1, wmrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wm().(i4, -rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][Neg]neg().8034));
233
234 in_vector[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut().ptr]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut(). = warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(x0, t3) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().>>rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().10;
235 in_vector[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut().ptr rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().8]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut(). = warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(x1, t2) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().>>rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().10;
236 in_vector[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut().ptr rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().16]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut(). = warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(x2, t1) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().>>rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().10;
237 in_vector[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut().ptr rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().24]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut(). = warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(x3, t0) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().>>rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().10;
238 in_vector[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut().ptr rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().32]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut(). = wsrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/ws().(x3, t0) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().>>rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().10;
239 in_vector[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut().ptr rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().40]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut(). = wsrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/ws().(x2, t1) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().>>rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().10;
240 in_vector[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut().ptr rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().48]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut(). = wsrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/ws().(x1, t2) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().>>rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().10;
241 in_vector[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut().ptr rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().56]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut(). = wsrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/ws().(x0, t3) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().>>rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().10;
242 }
243
244 // horizontal pass
245 for i in (0..rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/Range#8).maprust-analyzer cargo core https://github.com/rust-lang/rust/library/core iter/traits/iterator/Iterator#map().(|i| 8 rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Mul<Self>`]mul().*rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Mul<Self>`]mul(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Mul<Self>`]mul().i) {
246 let i2 = in_vector[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().2]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().;
247 let i0 = in_vector[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().;
248
249 let t0 = warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(fshrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/fsh().(i0), SCALE_BITSrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/SCALE_BITS.);
250 let t2 = wmrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wm().(i2, 2217);
251 let t3 = wmrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wm().(i2, 5352);
252
253 let x0 = warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(t0, t3);
254 let x3 = wsrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/ws().(t0, t3);
255 let x1 = warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(t0, t2);
256 let x2 = wsrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/ws().(t0, t2);
257
258 // odd part
259 let i3 = in_vector[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().3]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().;
260 let i1 = in_vector[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().i rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().1]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/Index#index().;
261
262 let p5 = wmrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wm().(warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(i3, i1), f2frust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/f2f().(1.175875602));
263
264 let p1 = warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(p5, wmrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wm().(i1, -rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][Neg]neg().3685));
265 let p2 = warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(p5, wmrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wm().(i3, -rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][Neg]neg().10497));
266
267 let t3 = warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(p5, wmrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wm().(i1, 867));
268 let t2 = warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(p5, wmrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wm().(i3, -rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][Neg]neg().5945));
269
270 let t1 = warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(p2, wmrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wm().(i1, -rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][Neg]neg().1597));
271 let t0 = warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(p1, wmrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wm().(i3, -rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[i32][Neg]neg().8034));
272
273 // to prevent some bad images from crashing
274 let mut tmp = [0; 8];
275
276 let out: &mut [i16; 8] = out_vector
277 .get_mutrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]get_mut().(pos..rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/Range#pos rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().+rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`Add<Self>`]add().8)
278 .unwrap_orrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]unwrap_or().(&mut tmp)
279 .try_intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/impl#[T][`TryInto<U>`]try_into().()
280 .unwraprust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`]unwrap().();
281
282 out.copy_from_slicerust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]copy_from_slice().(&[
283 clamprust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/clamp().(warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(x0, t3) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().>>rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().17),
284 clamprust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/clamp().(warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(x1, t2) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().>>rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().17),
285 clamprust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/clamp().(warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(x2, t1) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().>>rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().17),
286 clamprust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/clamp().(warust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/wa().(x3, t0) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().>>rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().17),
287 clamprust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/clamp().(wsrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/ws().(x3, t0) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().>>rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().17),
288 clamprust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/clamp().(wsrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/ws().(x2, t1) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().>>rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().17),
289 clamprust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/clamp().(wsrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/ws().(x1, t2) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().>>rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().17),
290 clamprust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/clamp().(wsrust-analyzer cargo zune-jpeg 0.5.15 idct/scalar/ws().(x0, t3) rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().>>rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/bit/impl#[i32][`Shr<Self>`]shr().17)
291 ]);
292
293 pos rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`AddAssign<Self>`]add_assign().+=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`AddAssign<Self>`]add_assign(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/arith/impl#[usize][`AddAssign<Self>`]add_assign().stride;
294 }
295
296 in_vector[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut().32..rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/Range#36]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut()..fillrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]fill().(0);
297 in_vector[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut().40..rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/Range#44]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut()..fillrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]fill().(0);
298 in_vector[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut().48..rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/Range#52]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut()..fillrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]fill().(0);
299 in_vector[rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut().56..rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/range/Range#60]rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/index/IndexMut#index_mut()..fillrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]fill().(0);
300 }