Lines Matching refs:ToLinearF
113 float *ToLinearF) in horizontalAccumulateF() argument
121 t0 = ToLinearF[cr = (wp[0] & mask)]; in horizontalAccumulateF()
122 t1 = ToLinearF[cg = (wp[1] & mask)]; in horizontalAccumulateF()
123 t2 = ToLinearF[cb = (wp[2] & mask)]; in horizontalAccumulateF()
132 t0 = ToLinearF[(cr += wp[0]) & mask]; in horizontalAccumulateF()
133 t1 = ToLinearF[(cg += wp[1]) & mask]; in horizontalAccumulateF()
134 t2 = ToLinearF[(cb += wp[2]) & mask]; in horizontalAccumulateF()
140 t0 = ToLinearF[cr = (wp[0] & mask)]; in horizontalAccumulateF()
141 t1 = ToLinearF[cg = (wp[1] & mask)]; in horizontalAccumulateF()
142 t2 = ToLinearF[cb = (wp[2] & mask)]; in horizontalAccumulateF()
143 t3 = ToLinearF[ca = (wp[3] & mask)]; in horizontalAccumulateF()
153 t0 = ToLinearF[(cr += wp[0]) & mask]; in horizontalAccumulateF()
154 t1 = ToLinearF[(cg += wp[1]) & mask]; in horizontalAccumulateF()
155 t2 = ToLinearF[(cb += wp[2]) & mask]; in horizontalAccumulateF()
156 t3 = ToLinearF[(ca += wp[3]) & mask]; in horizontalAccumulateF()
163 REPEAT(stride, *op = ToLinearF[*wp&mask]; wp++; op++) in horizontalAccumulateF()
167 wp[stride] += *wp; *op = ToLinearF[*wp&mask]; wp++; op++) in horizontalAccumulateF()
176 float *ToLinearF) in horizontalAccumulate12() argument
187 t0 = ToLinearF[cr = (wp[0] & mask)] * SCALE12; in horizontalAccumulate12()
188 t1 = ToLinearF[cg = (wp[1] & mask)] * SCALE12; in horizontalAccumulate12()
189 t2 = ToLinearF[cb = (wp[2] & mask)] * SCALE12; in horizontalAccumulate12()
198 t0 = ToLinearF[(cr += wp[0]) & mask] * SCALE12; in horizontalAccumulate12()
199 t1 = ToLinearF[(cg += wp[1]) & mask] * SCALE12; in horizontalAccumulate12()
200 t2 = ToLinearF[(cb += wp[2]) & mask] * SCALE12; in horizontalAccumulate12()
206 t0 = ToLinearF[cr = (wp[0] & mask)] * SCALE12; in horizontalAccumulate12()
207 t1 = ToLinearF[cg = (wp[1] & mask)] * SCALE12; in horizontalAccumulate12()
208 t2 = ToLinearF[cb = (wp[2] & mask)] * SCALE12; in horizontalAccumulate12()
209 t3 = ToLinearF[ca = (wp[3] & mask)] * SCALE12; in horizontalAccumulate12()
219 t0 = ToLinearF[(cr += wp[0]) & mask] * SCALE12; in horizontalAccumulate12()
220 t1 = ToLinearF[(cg += wp[1]) & mask] * SCALE12; in horizontalAccumulate12()
221 t2 = ToLinearF[(cb += wp[2]) & mask] * SCALE12; in horizontalAccumulate12()
222 t3 = ToLinearF[(ca += wp[3]) & mask] * SCALE12; in horizontalAccumulate12()
229 REPEAT(stride, t0 = ToLinearF[*wp&mask] * SCALE12; in horizontalAccumulate12()
234 wp[stride] += *wp; t0 = ToLinearF[wp[stride]&mask]*SCALE12; in horizontalAccumulate12()
471 float *ToLinearF; member
498 float *ToLinearF; in PixarLogMakeTables() local
517 ToLinearF = (float *)_TIFFmalloc(TSIZEP1 * sizeof(float)); in PixarLogMakeTables()
521 ToLinearF == NULL || ToLinear16 == NULL || ToLinear8 == NULL) { in PixarLogMakeTables()
525 if (ToLinearF) _TIFFfree(ToLinearF); in PixarLogMakeTables()
531 sp->ToLinearF = NULL; in PixarLogMakeTables()
541 ToLinearF[j++] = (float)v; in PixarLogMakeTables()
545 ToLinearF[j++] = (float)(b*exp(c*i)); in PixarLogMakeTables()
547 ToLinearF[2048] = ToLinearF[2047]; in PixarLogMakeTables()
550 v = ToLinearF[i]*65535.0 + 0.5; in PixarLogMakeTables()
552 v = ToLinearF[i]*255.0 + 0.5; in PixarLogMakeTables()
558 if ((i*linstep)*(i*linstep) > ToLinearF[j]*ToLinearF[j+1]) in PixarLogMakeTables()
570 while ((i/16383.)*(i/16383.) > ToLinearF[j]*ToLinearF[j+1]) in PixarLogMakeTables()
577 while ((i/255.)*(i/255.) > ToLinearF[j]*ToLinearF[j+1]) in PixarLogMakeTables()
584 sp->ToLinearF = ToLinearF; in PixarLogMakeTables()
857 (float *)op, sp->ToLinearF); in PixarLogDecode()
867 (int16 *)op, sp->ToLinearF); in PixarLogDecode()
1292 if (sp->ToLinearF) _TIFFfree(sp->ToLinearF); in PixarLogCleanup()