Lines Matching refs:ToLinear8

341 	unsigned char *ToLinear8)  in horizontalAccumulate8()  argument
348 op[0] = ToLinear8[cr = (wp[0] & mask)]; in horizontalAccumulate8()
349 op[1] = ToLinear8[cg = (wp[1] & mask)]; in horizontalAccumulate8()
350 op[2] = ToLinear8[cb = (wp[2] & mask)]; in horizontalAccumulate8()
356 op[0] = ToLinear8[(cr += wp[0]) & mask]; in horizontalAccumulate8()
357 op[1] = ToLinear8[(cg += wp[1]) & mask]; in horizontalAccumulate8()
358 op[2] = ToLinear8[(cb += wp[2]) & mask]; in horizontalAccumulate8()
361 op[0] = ToLinear8[cr = (wp[0] & mask)]; in horizontalAccumulate8()
362 op[1] = ToLinear8[cg = (wp[1] & mask)]; in horizontalAccumulate8()
363 op[2] = ToLinear8[cb = (wp[2] & mask)]; in horizontalAccumulate8()
364 op[3] = ToLinear8[ca = (wp[3] & mask)]; in horizontalAccumulate8()
370 op[0] = ToLinear8[(cr += wp[0]) & mask]; in horizontalAccumulate8()
371 op[1] = ToLinear8[(cg += wp[1]) & mask]; in horizontalAccumulate8()
372 op[2] = ToLinear8[(cb += wp[2]) & mask]; in horizontalAccumulate8()
373 op[3] = ToLinear8[(ca += wp[3]) & mask]; in horizontalAccumulate8()
376 REPEAT(stride, *op = ToLinear8[*wp&mask]; wp++; op++) in horizontalAccumulate8()
380 wp[stride] += *wp; *op = ToLinear8[*wp&mask]; wp++; op++) in horizontalAccumulate8()
390 unsigned char *ToLinear8) in horizontalAccumulate8abgr() argument
399 t1 = ToLinear8[cb = (wp[2] & mask)]; in horizontalAccumulate8abgr()
400 t2 = ToLinear8[cg = (wp[1] & mask)]; in horizontalAccumulate8abgr()
401 t3 = ToLinear8[cr = (wp[0] & mask)]; in horizontalAccumulate8abgr()
411 t1 = ToLinear8[(cb += wp[2]) & mask]; in horizontalAccumulate8abgr()
412 t2 = ToLinear8[(cg += wp[1]) & mask]; in horizontalAccumulate8abgr()
413 t3 = ToLinear8[(cr += wp[0]) & mask]; in horizontalAccumulate8abgr()
419 t0 = ToLinear8[ca = (wp[3] & mask)]; in horizontalAccumulate8abgr()
420 t1 = ToLinear8[cb = (wp[2] & mask)]; in horizontalAccumulate8abgr()
421 t2 = ToLinear8[cg = (wp[1] & mask)]; in horizontalAccumulate8abgr()
422 t3 = ToLinear8[cr = (wp[0] & mask)]; in horizontalAccumulate8abgr()
432 t0 = ToLinear8[(ca += wp[3]) & mask]; in horizontalAccumulate8abgr()
433 t1 = ToLinear8[(cb += wp[2]) & mask]; in horizontalAccumulate8abgr()
434 t2 = ToLinear8[(cg += wp[1]) & mask]; in horizontalAccumulate8abgr()
435 t3 = ToLinear8[(cr += wp[0]) & mask]; in horizontalAccumulate8abgr()
442 REPEAT(stride, *op = ToLinear8[*wp&mask]; wp++; op++) in horizontalAccumulate8abgr()
446 wp[stride] += *wp; *op = ToLinear8[*wp&mask]; wp++; op++) in horizontalAccumulate8abgr()
473 unsigned char *ToLinear8; member
500 unsigned char *ToLinear8; in PixarLogMakeTables() local
519 ToLinear8 = (unsigned char *)_TIFFmalloc(TSIZEP1 * sizeof(unsigned char)); in PixarLogMakeTables()
521 ToLinearF == NULL || ToLinear16 == NULL || ToLinear8 == NULL) { in PixarLogMakeTables()
527 if (ToLinear8) _TIFFfree(ToLinear8); in PixarLogMakeTables()
533 sp->ToLinear8 = NULL; in PixarLogMakeTables()
553 ToLinear8[i] = (v > 255.0) ? 255 : (unsigned char)v; in PixarLogMakeTables()
586 sp->ToLinear8 = ToLinear8; in PixarLogMakeTables()
877 (unsigned char *)op, sp->ToLinear8); in PixarLogDecode()
882 (unsigned char *)op, sp->ToLinear8); in PixarLogDecode()
1294 if (sp->ToLinear8) _TIFFfree(sp->ToLinear8); in PixarLogCleanup()