Lines Matching refs:i

163 		for(int i = 0; i < 16; i++)  in Constants()  local
165 maskB4Q[i][0] = -(i >> 0 & 1); in Constants()
166 maskB4Q[i][1] = -(i >> 1 & 1); in Constants()
167 maskB4Q[i][2] = -(i >> 2 & 1); in Constants()
168 maskB4Q[i][3] = -(i >> 3 & 1); in Constants()
169 maskB4Q[i][4] = -(i >> 0 & 1); in Constants()
170 maskB4Q[i][5] = -(i >> 1 & 1); in Constants()
171 maskB4Q[i][6] = -(i >> 2 & 1); in Constants()
172 maskB4Q[i][7] = -(i >> 3 & 1); in Constants()
174 invMaskB4Q[i][0] = ~maskB4Q[i][0]; in Constants()
175 invMaskB4Q[i][1] = ~maskB4Q[i][1]; in Constants()
176 invMaskB4Q[i][2] = ~maskB4Q[i][2]; in Constants()
177 invMaskB4Q[i][3] = ~maskB4Q[i][3]; in Constants()
178 invMaskB4Q[i][4] = ~maskB4Q[i][4]; in Constants()
179 invMaskB4Q[i][5] = ~maskB4Q[i][5]; in Constants()
180 invMaskB4Q[i][6] = ~maskB4Q[i][6]; in Constants()
181 invMaskB4Q[i][7] = ~maskB4Q[i][7]; in Constants()
183 maskW4Q[i][0] = -(i >> 0 & 1); in Constants()
184 maskW4Q[i][1] = -(i >> 1 & 1); in Constants()
185 maskW4Q[i][2] = -(i >> 2 & 1); in Constants()
186 maskW4Q[i][3] = -(i >> 3 & 1); in Constants()
188 invMaskW4Q[i][0] = ~maskW4Q[i][0]; in Constants()
189 invMaskW4Q[i][1] = ~maskW4Q[i][1]; in Constants()
190 invMaskW4Q[i][2] = ~maskW4Q[i][2]; in Constants()
191 invMaskW4Q[i][3] = ~maskW4Q[i][3]; in Constants()
193 maskD4X[i][0] = -(i >> 0 & 1); in Constants()
194 maskD4X[i][1] = -(i >> 1 & 1); in Constants()
195 maskD4X[i][2] = -(i >> 2 & 1); in Constants()
196 maskD4X[i][3] = -(i >> 3 & 1); in Constants()
198 invMaskD4X[i][0] = ~maskD4X[i][0]; in Constants()
199 invMaskD4X[i][1] = ~maskD4X[i][1]; in Constants()
200 invMaskD4X[i][2] = ~maskD4X[i][2]; in Constants()
201 invMaskD4X[i][3] = ~maskD4X[i][3]; in Constants()
203 maskQ0Q[i] = -(i >> 0 & 1); in Constants()
204 maskQ1Q[i] = -(i >> 1 & 1); in Constants()
205 maskQ2Q[i] = -(i >> 2 & 1); in Constants()
206 maskQ3Q[i] = -(i >> 3 & 1); in Constants()
208 invMaskQ0Q[i] = ~maskQ0Q[i]; in Constants()
209 invMaskQ1Q[i] = ~maskQ1Q[i]; in Constants()
210 invMaskQ2Q[i] = ~maskQ2Q[i]; in Constants()
211 invMaskQ3Q[i] = ~maskQ3Q[i]; in Constants()
213 maskX0X[i][0] = maskX0X[i][1] = maskX0X[i][2] = maskX0X[i][3] = -(i >> 0 & 1); in Constants()
214 maskX1X[i][0] = maskX1X[i][1] = maskX1X[i][2] = maskX1X[i][3] = -(i >> 1 & 1); in Constants()
215 maskX2X[i][0] = maskX2X[i][1] = maskX2X[i][2] = maskX2X[i][3] = -(i >> 2 & 1); in Constants()
216 maskX3X[i][0] = maskX3X[i][1] = maskX3X[i][2] = maskX3X[i][3] = -(i >> 3 & 1); in Constants()
218 invMaskX0X[i][0] = invMaskX0X[i][1] = invMaskX0X[i][2] = invMaskX0X[i][3] = ~maskX0X[i][0]; in Constants()
219 invMaskX1X[i][0] = invMaskX1X[i][1] = invMaskX1X[i][2] = invMaskX1X[i][3] = ~maskX1X[i][0]; in Constants()
220 invMaskX2X[i][0] = invMaskX2X[i][1] = invMaskX2X[i][2] = invMaskX2X[i][3] = ~maskX2X[i][0]; in Constants()
221 invMaskX3X[i][0] = invMaskX3X[i][1] = invMaskX3X[i][2] = invMaskX3X[i][3] = ~maskX3X[i][0]; in Constants()
223 maskD01Q[i][0] = -(i >> 0 & 1); in Constants()
224 maskD01Q[i][1] = -(i >> 1 & 1); in Constants()
225 maskD23Q[i][0] = -(i >> 2 & 1); in Constants()
226 maskD23Q[i][1] = -(i >> 3 & 1); in Constants()
228 invMaskD01Q[i][0] = ~maskD01Q[i][0]; in Constants()
229 invMaskD01Q[i][1] = ~maskD01Q[i][1]; in Constants()
230 invMaskD23Q[i][0] = ~maskD23Q[i][0]; in Constants()
231 invMaskD23Q[i][1] = ~maskD23Q[i][1]; in Constants()
233 maskQ01X[i][0] = -(i >> 0 & 1); in Constants()
234 maskQ01X[i][1] = -(i >> 1 & 1); in Constants()
235 maskQ23X[i][0] = -(i >> 2 & 1); in Constants()
236 maskQ23X[i][1] = -(i >> 3 & 1); in Constants()
238 invMaskQ01X[i][0] = ~maskQ01X[i][0]; in Constants()
239 invMaskQ01X[i][1] = ~maskQ01X[i][1]; in Constants()
240 invMaskQ23X[i][0] = ~maskQ23X[i][0]; in Constants()
241 invMaskQ23X[i][1] = ~maskQ23X[i][1]; in Constants()
244 for(int i = 0; i < 8; i++) in Constants() local
246 mask565Q[i][0] = in Constants()
247 mask565Q[i][1] = in Constants()
248 mask565Q[i][2] = in Constants()
249 mask565Q[i][3] = (i & 0x1 ? 0x001F : 0) | (i & 0x2 ? 0x07E0 : 0) | (i & 0x4 ? 0xF800 : 0); in Constants()
252 for(int i = 0; i < 4; i++) in Constants() local
254 maskW01Q[i][0] = -(i >> 0 & 1); in Constants()
255 maskW01Q[i][1] = -(i >> 1 & 1); in Constants()
256 maskW01Q[i][2] = -(i >> 0 & 1); in Constants()
257 maskW01Q[i][3] = -(i >> 1 & 1); in Constants()
259 maskD01X[i][0] = -(i >> 0 & 1); in Constants()
260 maskD01X[i][1] = -(i >> 1 & 1); in Constants()
261 maskD01X[i][2] = -(i >> 0 & 1); in Constants()
262 maskD01X[i][3] = -(i >> 1 & 1); in Constants()
265 for(int i = 0; i < 256; i++) in Constants() local
267 sRGBtoLinear8_16[i] = (unsigned short)(sw::sRGBtoLinear((float)i / 0xFF) * 0xFFFF + 0.5f); in Constants()
270 for(int i = 0; i < 64; i++) in Constants() local
272 sRGBtoLinear6_16[i] = (unsigned short)(sw::sRGBtoLinear((float)i / 0x3F) * 0xFFFF + 0.5f); in Constants()
275 for(int i = 0; i < 32; i++) in Constants() local
277 sRGBtoLinear5_16[i] = (unsigned short)(sw::sRGBtoLinear((float)i / 0x1F) * 0xFFFF + 0.5f); in Constants()
280 for(int i = 0; i < 0x1000; i++) in Constants() local
282 …linearToSRGB12_16[i] = (unsigned short)(clamp(sw::linearToSRGB((float)i / 0x0FFF) * 0xFFFF + 0.5f,… in Constants()
283 …sRGBtoLinear12_16[i] = (unsigned short)(clamp(sw::sRGBtoLinear((float)i / 0x0FFF) * 0xFFFF + 0.5f,… in Constants()
290 for(int i = 0; i < 4; i++) in Constants() local
295 sampleX[q][c][i] = c & (1 << i) ? X[q] : 0.0f; in Constants()
296 sampleY[q][c][i] = c & (1 << i) ? Y[q] : 0.0f; in Constants()
297 weight[c][i] = c & (1 << i) ? 1.0f : 0.0f; in Constants()
357 for(int i = 0; i <= 0xFFFF; i++) in Constants() local
359 half2float[i] = (float)reinterpret_cast<half&>(i); in Constants()