Lines Matching refs:op
107 #define REPEAT(n, op) { int i; i=n; do { i--; op; } while (i>0); }
110 horizontalAccumulateF(uint16 *wp, int n, int stride, float *op,
122 op[0] = t0;
123 op[1] = t1;
124 op[2] = t2;
128 op += 3;
133 op[0] = t0;
134 op[1] = t1;
135 op[2] = t2;
142 op[0] = t0;
143 op[1] = t1;
144 op[2] = t2;
145 op[3] = t3;
149 op += 4;
155 op[0] = t0;
156 op[1] = t1;
157 op[2] = t2;
158 op[3] = t3;
161 REPEAT(stride, *op = ToLinearF[*wp&mask]; wp++; op++)
165 wp[stride] += *wp; *op = ToLinearF[*wp&mask]; wp++; op++)
173 horizontalAccumulate12(uint16 *wp, int n, int stride, int16 *op,
188 op[0] = CLAMP12(t0);
189 op[1] = CLAMP12(t1);
190 op[2] = CLAMP12(t2);
194 op += 3;
199 op[0] = CLAMP12(t0);
200 op[1] = CLAMP12(t1);
201 op[2] = CLAMP12(t2);
208 op[0] = CLAMP12(t0);
209 op[1] = CLAMP12(t1);
210 op[2] = CLAMP12(t2);
211 op[3] = CLAMP12(t3);
215 op += 4;
221 op[0] = CLAMP12(t0);
222 op[1] = CLAMP12(t1);
223 op[2] = CLAMP12(t2);
224 op[3] = CLAMP12(t3);
228 *op = CLAMP12(t0); wp++; op++)
233 *op = CLAMP12(t0); wp++; op++)
241 horizontalAccumulate16(uint16 *wp, int n, int stride, uint16 *op,
249 op[0] = ToLinear16[cr = wp[0]];
250 op[1] = ToLinear16[cg = wp[1]];
251 op[2] = ToLinear16[cb = wp[2]];
255 op += 3;
257 op[0] = ToLinear16[(cr += wp[0]) & mask];
258 op[1] = ToLinear16[(cg += wp[1]) & mask];
259 op[2] = ToLinear16[(cb += wp[2]) & mask];
262 op[0] = ToLinear16[cr = wp[0]];
263 op[1] = ToLinear16[cg = wp[1]];
264 op[2] = ToLinear16[cb = wp[2]];
265 op[3] = ToLinear16[ca = wp[3]];
269 op += 4;
271 op[0] = ToLinear16[(cr += wp[0]) & mask];
272 op[1] = ToLinear16[(cg += wp[1]) & mask];
273 op[2] = ToLinear16[(cb += wp[2]) & mask];
274 op[3] = ToLinear16[(ca += wp[3]) & mask];
277 REPEAT(stride, *op = ToLinear16[*wp&mask]; wp++; op++)
281 wp[stride] += *wp; *op = ToLinear16[*wp&mask]; wp++; op++)
293 horizontalAccumulate11(uint16 *wp, int n, int stride, uint16 *op)
300 op[0] = cr = wp[0]; op[1] = cg = wp[1]; op[2] = cb = wp[2];
304 op += 3;
306 op[0] = (cr += wp[0]) & mask;
307 op[1] = (cg += wp[1]) & mask;
308 op[2] = (cb += wp[2]) & mask;
311 op[0] = cr = wp[0]; op[1] = cg = wp[1];
312 op[2] = cb = wp[2]; op[3] = ca = wp[3];
316 op += 4;
318 op[0] = (cr += wp[0]) & mask;
319 op[1] = (cg += wp[1]) & mask;
320 op[2] = (cb += wp[2]) & mask;
321 op[3] = (ca += wp[3]) & mask;
324 REPEAT(stride, *op = *wp&mask; wp++; op++)
328 wp[stride] += *wp; *op = *wp&mask; wp++; op++)
336 horizontalAccumulate8(uint16 *wp, int n, int stride, unsigned char *op,
344 op[0] = ToLinear8[cr = wp[0]];
345 op[1] = ToLinear8[cg = wp[1]];
346 op[2] = ToLinear8[cb = wp[2]];
351 op += 3;
352 op[0] = ToLinear8[(cr += wp[0]) & mask];
353 op[1] = ToLinear8[(cg += wp[1]) & mask];
354 op[2] = ToLinear8[(cb += wp[2]) & mask];
357 op[0] = ToLinear8[cr = wp[0]];
358 op[1] = ToLinear8[cg = wp[1]];
359 op[2] = ToLinear8[cb = wp[2]];
360 op[3] = ToLinear8[ca = wp[3]];
365 op += 4;
366 op[0] = ToLinear8[(cr += wp[0]) & mask];
367 op[1] = ToLinear8[(cg += wp[1]) & mask];
368 op[2] = ToLinear8[(cb += wp[2]) & mask];
369 op[3] = ToLinear8[(ca += wp[3]) & mask];
372 REPEAT(stride, *op = ToLinear8[*wp&mask]; wp++; op++)
376 wp[stride] += *wp; *op = ToLinear8[*wp&mask]; wp++; op++)
385 horizontalAccumulate8abgr(uint16 *wp, int n, int stride, unsigned char *op,
394 op[0] = 0;
398 op[1] = t1;
399 op[2] = t2;
400 op[3] = t3;
405 op += 4;
406 op[0] = 0;
410 op[1] = t1;
411 op[2] = t2;
412 op[3] = t3;
419 op[0] = t0;
420 op[1] = t1;
421 op[2] = t2;
422 op[3] = t3;
427 op += 4;
432 op[0] = t0;
433 op[1] = t1;
434 op[2] = t2;
435 op[3] = t3;
438 REPEAT(stride, *op = ToLinear8[*wp&mask]; wp++; op++)
442 wp[stride] += *wp; *op = ToLinear8[*wp&mask]; wp++; op++)
703 PixarLogDecode(TIFF* tif, tidata_t op, tsize_t occ, tsample_t s)
774 (float *)op, sp->ToLinearF);
775 op += llen * sizeof(float);
779 (uint16 *)op, sp->ToLinear16);
780 op += llen * sizeof(uint16);
784 (int16 *)op, sp->ToLinearF);
785 op += llen * sizeof(int16);
789 (uint16 *)op);
790 op += llen * sizeof(uint16);
794 (unsigned char *)op, sp->ToLinear8);
795 op += llen * sizeof(unsigned char);
799 (unsigned char *)op, sp->ToLinear8);
800 op += llen * sizeof(unsigned char);