Lines Matching refs:cmsFloat32Number
805 cmsFloat32Number* Pt = (cmsFloat32Number*) accum; in UnrollLabFloatTo16()
813 return accum + sizeof(cmsFloat32Number); in UnrollLabFloatTo16()
817 Lab.L = ((cmsFloat32Number*) accum)[0]; in UnrollLabFloatTo16()
818 Lab.a = ((cmsFloat32Number*) accum)[1]; in UnrollLabFloatTo16()
819 Lab.b = ((cmsFloat32Number*) accum)[2]; in UnrollLabFloatTo16()
822 accum += (3 + T_EXTRA(info ->InputFormat)) * sizeof(cmsFloat32Number); in UnrollLabFloatTo16()
865 cmsFloat32Number* Pt = (cmsFloat32Number*) accum; in UnrollXYZFloatTo16()
873 return accum + sizeof(cmsFloat32Number); in UnrollXYZFloatTo16()
878 cmsFloat32Number* Pt = (cmsFloat32Number*) accum; in UnrollXYZFloatTo16()
886 … accum += 3 * sizeof(cmsFloat32Number) + T_EXTRA(info ->InputFormat) * sizeof(cmsFloat32Number); in UnrollXYZFloatTo16()
944 v = (cmsFloat32Number) ((cmsFloat64Number*) accum)[(i + start) * Stride]; in UnrollDoubleTo16()
946 v = (cmsFloat32Number) ((cmsFloat64Number*) accum)[i + start]; in UnrollDoubleTo16()
986 cmsFloat32Number v; in UnrollFloatTo16()
1000 v = (cmsFloat32Number) ((cmsFloat32Number*) accum)[(i + start) * Stride]; in UnrollFloatTo16()
1002 v = (cmsFloat32Number) ((cmsFloat32Number*) accum)[i + start]; in UnrollFloatTo16()
1021 return accum + sizeof(cmsFloat32Number); in UnrollFloatTo16()
1023 return accum + (nChan + Extra) * sizeof(cmsFloat32Number); in UnrollFloatTo16()
1051 cmsFloat32Number wIn[], in UnrollFloatsToFloat()
1063 cmsFloat32Number v; in UnrollFloatsToFloat()
1065 cmsFloat32Number maximum = IsInkSpace(info ->InputFormat) ? 100.0F : 1.0F; in UnrollFloatsToFloat()
1076 v = (cmsFloat32Number) ((cmsFloat32Number*) accum)[(i + start) * Stride]; in UnrollFloatsToFloat()
1078 v = (cmsFloat32Number) ((cmsFloat32Number*) accum)[i + start]; in UnrollFloatsToFloat()
1087 cmsFloat32Number tmp = wIn[0]; in UnrollFloatsToFloat()
1089 memmove(&wIn[0], &wIn[1], (nChan-1) * sizeof(cmsFloat32Number)); in UnrollFloatsToFloat()
1094 return accum + sizeof(cmsFloat32Number); in UnrollFloatsToFloat()
1096 return accum + (nChan + Extra) * sizeof(cmsFloat32Number); in UnrollFloatsToFloat()
1103 cmsFloat32Number wIn[], in UnrollDoublesToFloat()
1134 wIn[index] = (cmsFloat32Number) (Reverse ? 1.0 - v : v); in UnrollDoublesToFloat()
1139 cmsFloat32Number tmp = wIn[0]; in UnrollDoublesToFloat()
1141 memmove(&wIn[0], &wIn[1], (nChan-1) * sizeof(cmsFloat32Number)); in UnrollDoublesToFloat()
1156 cmsFloat32Number wIn[], in UnrollLabDoubleToFloat()
1164 … wIn[0] = (cmsFloat32Number) (Pt[0] / 100.0); // from 0..100 to 0..1 in UnrollLabDoubleToFloat()
1165 wIn[1] = (cmsFloat32Number) ((Pt[Stride] + 128) / 255.0); // form -128..+127 to 0..1 in UnrollLabDoubleToFloat()
1166 wIn[2] = (cmsFloat32Number) ((Pt[Stride*2] + 128) / 255.0); in UnrollLabDoubleToFloat()
1172 wIn[0] = (cmsFloat32Number) (Pt[0] / 100.0); // from 0..100 to 0..1 in UnrollLabDoubleToFloat()
1173 wIn[1] = (cmsFloat32Number) ((Pt[1] + 128) / 255.0); // form -128..+127 to 0..1 in UnrollLabDoubleToFloat()
1174 wIn[2] = (cmsFloat32Number) ((Pt[2] + 128) / 255.0); in UnrollLabDoubleToFloat()
1184 cmsFloat32Number wIn[], in UnrollLabFloatToFloat()
1188 cmsFloat32Number* Pt = (cmsFloat32Number*) accum; in UnrollLabFloatToFloat()
1192 wIn[0] = (cmsFloat32Number) (Pt[0] / 100.0); // from 0..100 to 0..1 in UnrollLabFloatToFloat()
1193 wIn[1] = (cmsFloat32Number) ((Pt[Stride] + 128) / 255.0); // form -128..+127 to 0..1 in UnrollLabFloatToFloat()
1194 wIn[2] = (cmsFloat32Number) ((Pt[Stride*2] + 128) / 255.0); in UnrollLabFloatToFloat()
1196 return accum + sizeof(cmsFloat32Number); in UnrollLabFloatToFloat()
1200 wIn[0] = (cmsFloat32Number) (Pt[0] / 100.0); // from 0..100 to 0..1 in UnrollLabFloatToFloat()
1201 wIn[1] = (cmsFloat32Number) ((Pt[1] + 128) / 255.0); // form -128..+127 to 0..1 in UnrollLabFloatToFloat()
1202 wIn[2] = (cmsFloat32Number) ((Pt[2] + 128) / 255.0); in UnrollLabFloatToFloat()
1204 accum += sizeof(cmsFloat32Number)*(3 + T_EXTRA(info ->InputFormat)); in UnrollLabFloatToFloat()
1214 cmsFloat32Number wIn[], in UnrollXYZDoubleToFloat()
1222 wIn[0] = (cmsFloat32Number) (Pt[0] / MAX_ENCODEABLE_XYZ); in UnrollXYZDoubleToFloat()
1223 wIn[1] = (cmsFloat32Number) (Pt[Stride] / MAX_ENCODEABLE_XYZ); in UnrollXYZDoubleToFloat()
1224 wIn[2] = (cmsFloat32Number) (Pt[Stride*2] / MAX_ENCODEABLE_XYZ); in UnrollXYZDoubleToFloat()
1230 wIn[0] = (cmsFloat32Number) (Pt[0] / MAX_ENCODEABLE_XYZ); in UnrollXYZDoubleToFloat()
1231 wIn[1] = (cmsFloat32Number) (Pt[1] / MAX_ENCODEABLE_XYZ); in UnrollXYZDoubleToFloat()
1232 wIn[2] = (cmsFloat32Number) (Pt[2] / MAX_ENCODEABLE_XYZ); in UnrollXYZDoubleToFloat()
1241 cmsFloat32Number wIn[], in UnrollXYZFloatToFloat()
1245 cmsFloat32Number* Pt = (cmsFloat32Number*) accum; in UnrollXYZFloatToFloat()
1249 wIn[0] = (cmsFloat32Number) (Pt[0] / MAX_ENCODEABLE_XYZ); in UnrollXYZFloatToFloat()
1250 wIn[1] = (cmsFloat32Number) (Pt[Stride] / MAX_ENCODEABLE_XYZ); in UnrollXYZFloatToFloat()
1251 wIn[2] = (cmsFloat32Number) (Pt[Stride*2] / MAX_ENCODEABLE_XYZ); in UnrollXYZFloatToFloat()
1253 return accum + sizeof(cmsFloat32Number); in UnrollXYZFloatToFloat()
1257 wIn[0] = (cmsFloat32Number) (Pt[0] / MAX_ENCODEABLE_XYZ); in UnrollXYZFloatToFloat()
1258 wIn[1] = (cmsFloat32Number) (Pt[1] / MAX_ENCODEABLE_XYZ); in UnrollXYZFloatToFloat()
1259 wIn[2] = (cmsFloat32Number) (Pt[2] / MAX_ENCODEABLE_XYZ); in UnrollXYZFloatToFloat()
1261 accum += sizeof(cmsFloat32Number)*(3 + T_EXTRA(info ->InputFormat)); in UnrollXYZFloatToFloat()
2297 cmsFloat32Number* Out = (cmsFloat32Number*) output; in PackLabFloatFrom16()
2299 Out[0] = (cmsFloat32Number)Lab.L; in PackLabFloatFrom16()
2300 Out[Stride] = (cmsFloat32Number)Lab.a; in PackLabFloatFrom16()
2301 Out[Stride*2] = (cmsFloat32Number)Lab.b; in PackLabFloatFrom16()
2303 return output + sizeof(cmsFloat32Number); in PackLabFloatFrom16()
2307 ((cmsFloat32Number*) output)[0] = (cmsFloat32Number) Lab.L; in PackLabFloatFrom16()
2308 ((cmsFloat32Number*) output)[1] = (cmsFloat32Number) Lab.a; in PackLabFloatFrom16()
2309 ((cmsFloat32Number*) output)[2] = (cmsFloat32Number) Lab.b; in PackLabFloatFrom16()
2311 return output + (3 + T_EXTRA(info ->OutputFormat)) * sizeof(cmsFloat32Number); in PackLabFloatFrom16()
2351 cmsFloat32Number* Out = (cmsFloat32Number*) output; in PackXYZFloatFrom16()
2354 Out[0] = (cmsFloat32Number) XYZ.X; in PackXYZFloatFrom16()
2355 Out[Stride] = (cmsFloat32Number) XYZ.Y; in PackXYZFloatFrom16()
2356 Out[Stride*2] = (cmsFloat32Number) XYZ.Z; in PackXYZFloatFrom16()
2358 return output + sizeof(cmsFloat32Number); in PackXYZFloatFrom16()
2364 cmsFloat32Number* Out = (cmsFloat32Number*) output; in PackXYZFloatFrom16()
2367 Out[0] = (cmsFloat32Number) XYZ.X; in PackXYZFloatFrom16()
2368 Out[1] = (cmsFloat32Number) XYZ.Y; in PackXYZFloatFrom16()
2369 Out[2] = (cmsFloat32Number) XYZ.Z; in PackXYZFloatFrom16()
2371 …return output + (3 * sizeof(cmsFloat32Number) + T_EXTRA(Info ->OutputFormat) * sizeof(cmsFloat32Nu… in PackXYZFloatFrom16()
2444 cmsFloat32Number* swap1 = (cmsFloat32Number*) output; in PackFloatFrom16()
2460 ((cmsFloat32Number*) output)[(i + start ) * Stride]= (cmsFloat32Number) v; in PackFloatFrom16()
2462 ((cmsFloat32Number*) output)[i + start] = (cmsFloat32Number) v; in PackFloatFrom16()
2466 output += Extra * sizeof(cmsFloat32Number); in PackFloatFrom16()
2471 memmove(swap1 + 1, swap1, (nChan-1)* sizeof(cmsFloat32Number)); in PackFloatFrom16()
2472 *swap1 = (cmsFloat32Number) v; in PackFloatFrom16()
2476 return output + sizeof(cmsFloat32Number); in PackFloatFrom16()
2478 return output + nChan * sizeof(cmsFloat32Number); in PackFloatFrom16()
2487 cmsFloat32Number wOut[], in PackFloatsFromFloat()
2499 cmsFloat32Number* swap1 = (cmsFloat32Number*) output; in PackFloatsFromFloat()
2516 ((cmsFloat32Number*) output)[(i + start)* Stride]= (cmsFloat32Number) v; in PackFloatsFromFloat()
2518 ((cmsFloat32Number*) output)[i + start] = (cmsFloat32Number) v; in PackFloatsFromFloat()
2522 output += Extra * sizeof(cmsFloat32Number); in PackFloatsFromFloat()
2527 memmove(swap1 + 1, swap1, (nChan-1)* sizeof(cmsFloat32Number)); in PackFloatsFromFloat()
2528 *swap1 = (cmsFloat32Number) v; in PackFloatsFromFloat()
2532 return output + sizeof(cmsFloat32Number); in PackFloatsFromFloat()
2534 return output + nChan * sizeof(cmsFloat32Number); in PackFloatsFromFloat()
2539 cmsFloat32Number wOut[], in PackDoublesFromFloat()
2597 cmsFloat32Number wOut[], in PackLabFloatFromFloat()
2601 cmsFloat32Number* Out = (cmsFloat32Number*) output; in PackLabFloatFromFloat()
2605 Out[0] = (cmsFloat32Number) (wOut[0] * 100.0); in PackLabFloatFromFloat()
2606 Out[Stride] = (cmsFloat32Number) (wOut[1] * 255.0 - 128.0); in PackLabFloatFromFloat()
2607 Out[Stride*2] = (cmsFloat32Number) (wOut[2] * 255.0 - 128.0); in PackLabFloatFromFloat()
2609 return output + sizeof(cmsFloat32Number); in PackLabFloatFromFloat()
2613 Out[0] = (cmsFloat32Number) (wOut[0] * 100.0); in PackLabFloatFromFloat()
2614 Out[1] = (cmsFloat32Number) (wOut[1] * 255.0 - 128.0); in PackLabFloatFromFloat()
2615 Out[2] = (cmsFloat32Number) (wOut[2] * 255.0 - 128.0); in PackLabFloatFromFloat()
2617 …return output + (sizeof(cmsFloat32Number)*3 + T_EXTRA(Info ->OutputFormat) * sizeof(cmsFloat32Numb… in PackLabFloatFromFloat()
2625 cmsFloat32Number wOut[], in PackLabDoubleFromFloat()
2654 cmsFloat32Number wOut[], in PackXYZFloatFromFloat()
2658 cmsFloat32Number* Out = (cmsFloat32Number*) output; in PackXYZFloatFromFloat()
2662 Out[0] = (cmsFloat32Number) (wOut[0] * MAX_ENCODEABLE_XYZ); in PackXYZFloatFromFloat()
2663 Out[Stride] = (cmsFloat32Number) (wOut[1] * MAX_ENCODEABLE_XYZ); in PackXYZFloatFromFloat()
2664 Out[Stride*2] = (cmsFloat32Number) (wOut[2] * MAX_ENCODEABLE_XYZ); in PackXYZFloatFromFloat()
2666 return output + sizeof(cmsFloat32Number); in PackXYZFloatFromFloat()
2670 Out[0] = (cmsFloat32Number) (wOut[0] * MAX_ENCODEABLE_XYZ); in PackXYZFloatFromFloat()
2671 Out[1] = (cmsFloat32Number) (wOut[1] * MAX_ENCODEABLE_XYZ); in PackXYZFloatFromFloat()
2672 Out[2] = (cmsFloat32Number) (wOut[2] * MAX_ENCODEABLE_XYZ); in PackXYZFloatFromFloat()
2674 …return output + (sizeof(cmsFloat32Number)*3 + T_EXTRA(Info ->OutputFormat) * sizeof(cmsFloat32Numb… in PackXYZFloatFromFloat()
2682 cmsFloat32Number wOut[], in PackXYZDoubleFromFloat()
2728 cmsFloat32Number v; in UnrollHalfTo16()
2730 cmsFloat32Number maximum = IsInkSpace(info ->InputFormat) ? 655.35F : 65535.0F; in UnrollHalfTo16()
2768 cmsFloat32Number wIn[], in UnrollHalfToFloat()
2780 cmsFloat32Number v; in UnrollHalfToFloat()
2782 cmsFloat32Number maximum = IsInkSpace(info ->InputFormat) ? 100.0F : 1.0F; in UnrollHalfToFloat()
2804 cmsFloat32Number tmp = wIn[0]; in UnrollHalfToFloat()
2806 memmove(&wIn[0], &wIn[1], (nChan-1) * sizeof(cmsFloat32Number)); in UnrollHalfToFloat()
2830 cmsFloat32Number maximum = IsInkSpace(info ->OutputFormat) ? 655.35F : 65535.0F; in PackHalfFrom16()
2831 cmsFloat32Number v = 0; in PackHalfFrom16()
2842 v = (cmsFloat32Number) wOut[index] / maximum; in PackHalfFrom16()
2873 cmsFloat32Number wOut[], in PackHalfFromFloat()
2884 cmsFloat32Number maximum = IsInkSpace(info ->OutputFormat) ? 100.0F : 1.0F; in PackHalfFromFloat()
2886 cmsFloat32Number v = 0; in PackHalfFromFloat()