1use super::*;
2
3impl_threshold_value_c1!(threshold_value_u8_c1, u8, nppiThreshold_Val_8u_C1R_Ctx);
4impl_threshold_value_c1!(threshold_value_u16_c1, u16, nppiThreshold_Val_16u_C1R_Ctx);
5impl_threshold_value_c1!(threshold_value_i16_c1, i16, nppiThreshold_Val_16s_C1R_Ctx);
6impl_threshold_value_c1!(threshold_value_f32_c1, f32, nppiThreshold_Val_32f_C1R_Ctx);
7impl_threshold_value_c1_in_place!(
8 threshold_value_u8_c1_in_place,
9 u8,
10 nppiThreshold_Val_8u_C1IR_Ctx
11);
12impl_threshold_value_c1_in_place!(
13 threshold_value_u16_c1_in_place,
14 u16,
15 nppiThreshold_Val_16u_C1IR_Ctx
16);
17impl_threshold_value_c1_in_place!(
18 threshold_value_i16_c1_in_place,
19 i16,
20 nppiThreshold_Val_16s_C1IR_Ctx
21);
22impl_threshold_value_c1_in_place!(
23 threshold_value_f32_c1_in_place,
24 f32,
25 nppiThreshold_Val_32f_C1IR_Ctx
26);
27impl_threshold_value_packed!(
28 threshold_value_u8_c3,
29 u8,
30 C3,
31 3,
32 nppiThreshold_Val_8u_C3R_Ctx
33);
34impl_threshold_value_packed!(
35 threshold_value_u8_ac4,
36 u8,
37 AC4,
38 3,
39 nppiThreshold_Val_8u_AC4R_Ctx
40);
41impl_threshold_value_packed!(
42 threshold_value_u16_c3,
43 u16,
44 C3,
45 3,
46 nppiThreshold_Val_16u_C3R_Ctx
47);
48impl_threshold_value_packed!(
49 threshold_value_u16_ac4,
50 u16,
51 AC4,
52 3,
53 nppiThreshold_Val_16u_AC4R_Ctx
54);
55impl_threshold_value_packed!(
56 threshold_value_i16_c3,
57 i16,
58 C3,
59 3,
60 nppiThreshold_Val_16s_C3R_Ctx
61);
62impl_threshold_value_packed!(
63 threshold_value_i16_ac4,
64 i16,
65 AC4,
66 3,
67 nppiThreshold_Val_16s_AC4R_Ctx
68);
69impl_threshold_value_packed!(
70 threshold_value_f32_c3,
71 f32,
72 C3,
73 3,
74 nppiThreshold_Val_32f_C3R_Ctx
75);
76impl_threshold_value_packed!(
77 threshold_value_f32_ac4,
78 f32,
79 AC4,
80 3,
81 nppiThreshold_Val_32f_AC4R_Ctx
82);
83impl_threshold_value_packed_in_place!(
84 threshold_value_u8_c3_in_place,
85 u8,
86 C3,
87 3,
88 nppiThreshold_Val_8u_C3IR_Ctx
89);
90impl_threshold_value_packed_in_place!(
91 threshold_value_u8_ac4_in_place,
92 u8,
93 AC4,
94 3,
95 nppiThreshold_Val_8u_AC4IR_Ctx
96);
97impl_threshold_value_packed_in_place!(
98 threshold_value_u16_c3_in_place,
99 u16,
100 C3,
101 3,
102 nppiThreshold_Val_16u_C3IR_Ctx
103);
104impl_threshold_value_packed_in_place!(
105 threshold_value_u16_ac4_in_place,
106 u16,
107 AC4,
108 3,
109 nppiThreshold_Val_16u_AC4IR_Ctx
110);
111impl_threshold_value_packed_in_place!(
112 threshold_value_i16_c3_in_place,
113 i16,
114 C3,
115 3,
116 nppiThreshold_Val_16s_C3IR_Ctx
117);
118impl_threshold_value_packed_in_place!(
119 threshold_value_i16_ac4_in_place,
120 i16,
121 AC4,
122 3,
123 nppiThreshold_Val_16s_AC4IR_Ctx
124);
125impl_threshold_value_packed_in_place!(
126 threshold_value_f32_c3_in_place,
127 f32,
128 C3,
129 3,
130 nppiThreshold_Val_32f_C3IR_Ctx
131);
132impl_threshold_value_packed_in_place!(
133 threshold_value_f32_ac4_in_place,
134 f32,
135 AC4,
136 3,
137 nppiThreshold_Val_32f_AC4IR_Ctx
138);
139
140impl_generic_threshold_value_scalar!(ThresholdValueC1, threshold_value, threshold_value_c1, [
141 u8 => threshold_value_u8_c1,
142 u16 => threshold_value_u16_c1,
143 i16 => threshold_value_i16_c1,
144 f32 => threshold_value_f32_c1,
145]);
146impl_generic_threshold_value_scalar_in_place!(
147 ThresholdValueC1InPlace,
148 threshold_value_in_place,
149 threshold_value_c1_in_place,
150 [
151 u8 => threshold_value_u8_c1_in_place,
152 u16 => threshold_value_u16_c1_in_place,
153 i16 => threshold_value_i16_c1_in_place,
154 f32 => threshold_value_f32_c1_in_place,
155 ]
156);
157impl_generic_threshold_value_array!(
158 ThresholdValueC3,
159 threshold_value,
160 threshold_value_c3,
161 C3,
162 3,
163 [
164 u8 => threshold_value_u8_c3,
165 u16 => threshold_value_u16_c3,
166 i16 => threshold_value_i16_c3,
167 f32 => threshold_value_f32_c3,
168 ]
169);
170impl_generic_threshold_value_array_in_place!(
171 ThresholdValueC3InPlace,
172 threshold_value_in_place,
173 threshold_value_c3_in_place,
174 C3,
175 3,
176 [
177 u8 => threshold_value_u8_c3_in_place,
178 u16 => threshold_value_u16_c3_in_place,
179 i16 => threshold_value_i16_c3_in_place,
180 f32 => threshold_value_f32_c3_in_place,
181 ]
182);
183impl_generic_threshold_value_array!(
184 ThresholdValueAc4,
185 threshold_value,
186 threshold_value_ac4,
187 AC4,
188 3,
189 [
190 u8 => threshold_value_u8_ac4,
191 u16 => threshold_value_u16_ac4,
192 i16 => threshold_value_i16_ac4,
193 f32 => threshold_value_f32_ac4,
194 ]
195);
196impl_generic_threshold_value_array_in_place!(
197 ThresholdValueAc4InPlace,
198 threshold_value_in_place,
199 threshold_value_ac4_in_place,
200 AC4,
201 3,
202 [
203 u8 => threshold_value_u8_ac4_in_place,
204 u16 => threshold_value_u16_ac4_in_place,
205 i16 => threshold_value_i16_ac4_in_place,
206 f32 => threshold_value_f32_ac4_in_place,
207 ]
208);