• Home
  • Raw
  • Download

Lines Matching refs:_cmsIOPrintf

316     _cmsIOPrintf(m, "%02x", b);  in WriteByte()
321 _cmsIOPrintf(m, "\n"); in WriteByte()
363 _cmsIOPrintf(m, "%%!PS-Adobe-3.0\n"); in EmitHeader()
364 _cmsIOPrintf(m, "%%\n"); in EmitHeader()
365 _cmsIOPrintf(m, "%% %s\n", Title); in EmitHeader()
366 _cmsIOPrintf(m, "%% Source: %s\n", RemoveCR(DescASCII)); in EmitHeader()
367 _cmsIOPrintf(m, "%% %s\n", RemoveCR(CopyrightASCII)); in EmitHeader()
368 _cmsIOPrintf(m, "%% Created: %s", ctime(&timer)); // ctime appends a \n!!! in EmitHeader()
369 _cmsIOPrintf(m, "%%\n"); in EmitHeader()
370 _cmsIOPrintf(m, "%%%%BeginResource\n"); in EmitHeader()
382 _cmsIOPrintf(m, "/BlackPoint [%f %f %f]\n", BlackPoint -> X, in EmitWhiteBlackD50()
386 _cmsIOPrintf(m, "/WhitePoint [%f %f %f]\n", cmsD50_XYZ()->X, in EmitWhiteBlackD50()
395 _cmsIOPrintf(m, "dup 0.0 lt { pop 0.0 } if " in EmitRangeCheck()
417 _cmsIOPrintf(m, "/RenderingIntent (%s)\n", intent ); in EmitIntent()
447 _cmsIOPrintf(m, "/RangeABC [ 0 1 0 1 0 1]\n"); in EmitLab2XYZ()
448 _cmsIOPrintf(m, "/DecodeABC [\n"); in EmitLab2XYZ()
449 _cmsIOPrintf(m, "{100 mul 16 add 116 div } bind\n"); in EmitLab2XYZ()
450 _cmsIOPrintf(m, "{255 mul 128 sub 500 div } bind\n"); in EmitLab2XYZ()
451 _cmsIOPrintf(m, "{255 mul 128 sub 200 div } bind\n"); in EmitLab2XYZ()
452 _cmsIOPrintf(m, "]\n"); in EmitLab2XYZ()
453 _cmsIOPrintf(m, "/MatrixABC [ 1 1 1 1 0 0 0 0 -1]\n"); in EmitLab2XYZ()
454 _cmsIOPrintf(m, "/RangeLMN [ -0.236 1.254 0 1 -0.635 1.640 ]\n"); in EmitLab2XYZ()
455 _cmsIOPrintf(m, "/DecodeLMN [\n"); in EmitLab2XYZ()
456_cmsIOPrintf(m, "{dup 6 29 div ge {dup dup mul mul} {4 29 div sub 108 841 div mul} ifelse 0.964200… in EmitLab2XYZ()
457_cmsIOPrintf(m, "{dup 6 29 div ge {dup dup mul mul} {4 29 div sub 108 841 div mul} ifelse } bind\n… in EmitLab2XYZ()
458_cmsIOPrintf(m, "{dup 6 29 div ge {dup dup mul mul} {4 29 div sub 108 841 div mul} ifelse 0.824900… in EmitLab2XYZ()
459 _cmsIOPrintf(m, "]\n"); in EmitLab2XYZ()
482 _cmsIOPrintf(m, "{ %g exp } bind ", gamma); in Emit1Gamma()
486 _cmsIOPrintf(m, "{ "); in Emit1Gamma()
496 _cmsIOPrintf(m, " ["); in Emit1Gamma()
499 _cmsIOPrintf(m, "%d ", Table->Table16[i]); in Emit1Gamma()
502 _cmsIOPrintf(m, "] "); // v tab in Emit1Gamma()
504 _cmsIOPrintf(m, "dup "); // v tab tab in Emit1Gamma()
505 _cmsIOPrintf(m, "length 1 sub "); // v tab dom in Emit1Gamma()
506 _cmsIOPrintf(m, "3 -1 roll "); // tab dom v in Emit1Gamma()
507 _cmsIOPrintf(m, "mul "); // tab val2 in Emit1Gamma()
508 _cmsIOPrintf(m, "dup "); // tab val2 val2 in Emit1Gamma()
509 _cmsIOPrintf(m, "dup "); // tab val2 val2 val2 in Emit1Gamma()
510 _cmsIOPrintf(m, "floor cvi "); // tab val2 val2 cell0 in Emit1Gamma()
511 _cmsIOPrintf(m, "exch "); // tab val2 cell0 val2 in Emit1Gamma()
512 _cmsIOPrintf(m, "ceiling cvi "); // tab val2 cell0 cell1 in Emit1Gamma()
513 _cmsIOPrintf(m, "3 index "); // tab val2 cell0 cell1 tab in Emit1Gamma()
514 _cmsIOPrintf(m, "exch "); // tab val2 cell0 tab cell1 in Emit1Gamma()
515 _cmsIOPrintf(m, "get "); // tab val2 cell0 y1 in Emit1Gamma()
516 _cmsIOPrintf(m, "4 -1 roll "); // val2 cell0 y1 tab in Emit1Gamma()
517 _cmsIOPrintf(m, "3 -1 roll "); // val2 y1 tab cell0 in Emit1Gamma()
518 _cmsIOPrintf(m, "get "); // val2 y1 y0 in Emit1Gamma()
519 _cmsIOPrintf(m, "dup "); // val2 y1 y0 y0 in Emit1Gamma()
520 _cmsIOPrintf(m, "3 1 roll "); // val2 y0 y1 y0 in Emit1Gamma()
521 _cmsIOPrintf(m, "sub "); // val2 y0 (y1-y0) in Emit1Gamma()
522 _cmsIOPrintf(m, "3 -1 roll "); // y0 (y1-y0) val2 in Emit1Gamma()
523 _cmsIOPrintf(m, "dup "); // y0 (y1-y0) val2 val2 in Emit1Gamma()
524 _cmsIOPrintf(m, "floor cvi "); // y0 (y1-y0) val2 floor(val2) in Emit1Gamma()
525 _cmsIOPrintf(m, "sub "); // y0 (y1-y0) rest in Emit1Gamma()
526 _cmsIOPrintf(m, "mul "); // y0 t1 in Emit1Gamma()
527 _cmsIOPrintf(m, "add "); // y in Emit1Gamma()
528 _cmsIOPrintf(m, "65535 div "); // result in Emit1Gamma()
530 _cmsIOPrintf(m, " } bind "); in Emit1Gamma()
556 _cmsIOPrintf(m, "dup "); in EmitNGamma()
620 _cmsIOPrintf(sc ->m, sc ->PostMin); in OutputValueSampler()
622 _cmsIOPrintf(sc ->m, sc ->PostMaj); in OutputValueSampler()
628 _cmsIOPrintf(sc ->m, sc ->PreMaj); in OutputValueSampler()
637 _cmsIOPrintf(sc ->m, sc ->PostMin); in OutputValueSampler()
640 _cmsIOPrintf(sc ->m, sc ->PreMin); in OutputValueSampler()
686 _cmsIOPrintf(m, "["); in WriteCLUT()
689 _cmsIOPrintf(m, " %d ", sc.Pipeline->Params->nSamples[i]); in WriteCLUT()
691 _cmsIOPrintf(m, " [\n"); in WriteCLUT()
695 _cmsIOPrintf(m, PostMin); in WriteCLUT()
696 _cmsIOPrintf(m, PostMaj); in WriteCLUT()
697 _cmsIOPrintf(m, "] "); in WriteCLUT()
708 _cmsIOPrintf(m, "[ /CIEBasedA\n"); in EmitCIEBasedA()
709 _cmsIOPrintf(m, " <<\n"); in EmitCIEBasedA()
711 _cmsIOPrintf(m, "/DecodeA "); in EmitCIEBasedA()
715 _cmsIOPrintf(m, " \n"); in EmitCIEBasedA()
717 _cmsIOPrintf(m, "/MatrixA [ 0.9642 1.0000 0.8249 ]\n"); in EmitCIEBasedA()
718 _cmsIOPrintf(m, "/RangeLMN [ 0.0 0.9642 0.0 1.0000 0.0 0.8249 ]\n"); in EmitCIEBasedA()
723 _cmsIOPrintf(m, ">>\n"); in EmitCIEBasedA()
724 _cmsIOPrintf(m, "]\n"); in EmitCIEBasedA()
737 _cmsIOPrintf(m, "[ /CIEBasedABC\n"); in EmitCIEBasedABC()
738 _cmsIOPrintf(m, "<<\n"); in EmitCIEBasedABC()
739 _cmsIOPrintf(m, "/DecodeABC [ "); in EmitCIEBasedABC()
743 _cmsIOPrintf(m, "]\n"); in EmitCIEBasedABC()
745 _cmsIOPrintf(m, "/MatrixABC [ " ); in EmitCIEBasedABC()
749 _cmsIOPrintf(m, "%.6f %.6f %.6f ", Matrix[i + 3*0], in EmitCIEBasedABC()
755 _cmsIOPrintf(m, "]\n"); in EmitCIEBasedABC()
757 _cmsIOPrintf(m, "/RangeLMN [ 0.0 0.9642 0.0 1.0000 0.0 0.8249 ]\n"); in EmitCIEBasedABC()
762 _cmsIOPrintf(m, ">>\n"); in EmitCIEBasedABC()
763 _cmsIOPrintf(m, "]\n"); in EmitCIEBasedABC()
783 _cmsIOPrintf(m, "[ /CIEBasedDEF\n"); in EmitCIEBasedDEF()
789 _cmsIOPrintf(m, "[ /CIEBasedDEFG\n"); in EmitCIEBasedDEF()
800 _cmsIOPrintf(m, "<<\n"); in EmitCIEBasedDEF()
804 _cmsIOPrintf(m, "/DecodeDEF [ "); in EmitCIEBasedDEF()
806 _cmsIOPrintf(m, "]\n"); in EmitCIEBasedDEF()
813 _cmsIOPrintf(m, "/Table "); in EmitCIEBasedDEF()
815 _cmsIOPrintf(m, "]\n"); in EmitCIEBasedDEF()
822 _cmsIOPrintf(m, " >>\n"); in EmitCIEBasedDEF()
823 _cmsIOPrintf(m, "]\n"); in EmitCIEBasedDEF()
1009 _cmsIOPrintf(m, "<<\n"); in WriteNamedColorCSA()
1010 _cmsIOPrintf(m, "(colorlistcomment) (%s)\n", "Named color CSA"); in WriteNamedColorCSA()
1011 _cmsIOPrintf(m, "(Prefix) [ (Pantone ) (PANTONE ) ]\n"); in WriteNamedColorCSA()
1012 _cmsIOPrintf(m, "(Suffix) [ ( CV) ( CVC) ( C) ]\n"); in WriteNamedColorCSA()
1028 _cmsIOPrintf(m, " (%s) [ %.3f %.3f %.3f ]\n", ColorName, Lab.L, Lab.a, Lab.b); in WriteNamedColorCSA()
1033 _cmsIOPrintf(m, ">>\n"); in WriteNamedColorCSA()
1188 _cmsIOPrintf(m,"/MatrixPQR [1 0 0 0 1 0 0 0 1 ]\n"); in EmitPQRStage()
1189 _cmsIOPrintf(m,"/RangePQR [ -0.5 2 -0.5 2 -0.5 2 ]\n"); in EmitPQRStage()
1191 _cmsIOPrintf(m, "%% Absolute colorimetric -- encode to relative to maximize LUT usage\n" in EmitPQRStage()
1201 _cmsIOPrintf(m,"%% Bradford Cone Space\n" in EmitPQRStage()
1204 _cmsIOPrintf(m, "/RangePQR [ -0.5 2 -0.5 2 -0.5 2 ]\n"); in EmitPQRStage()
1211 _cmsIOPrintf(m, "%% VonKries-like transform in Bradford Cone Space\n" in EmitPQRStage()
1220 _cmsIOPrintf(m, "%% VonKries-like transform in Bradford Cone Space plus BPC\n" in EmitPQRStage()
1223 _cmsIOPrintf(m, "{4 index 3 get div 2 index 3 get mul " in EmitPQRStage()
1229 _cmsIOPrintf(m, "{4 index 4 get div 2 index 4 get mul " in EmitPQRStage()
1235 _cmsIOPrintf(m, "{4 index 5 get div 2 index 5 get mul " in EmitPQRStage()
1250 _cmsIOPrintf(m, "/RangeLMN [ -0.635 2.0 0 2 -0.635 2.0 ]\n"); in EmitXYZ2Lab()
1251 _cmsIOPrintf(m, "/EncodeLMN [\n"); in EmitXYZ2Lab()
1252_cmsIOPrintf(m, "{ 0.964200 div dup 0.008856 le {7.787 mul 16 116 div add}{1 3 div exp} ifelse } … in EmitXYZ2Lab()
1253_cmsIOPrintf(m, "{ 1.000000 div dup 0.008856 le {7.787 mul 16 116 div add}{1 3 div exp} ifelse } … in EmitXYZ2Lab()
1254_cmsIOPrintf(m, "{ 0.824900 div dup 0.008856 le {7.787 mul 16 116 div add}{1 3 div exp} ifelse } … in EmitXYZ2Lab()
1255 _cmsIOPrintf(m, "]\n"); in EmitXYZ2Lab()
1256 _cmsIOPrintf(m, "/MatrixABC [ 0 1 0 1 -1 1 0 0 -1 ]\n"); in EmitXYZ2Lab()
1257 _cmsIOPrintf(m, "/EncodeABC [\n"); in EmitXYZ2Lab()
1260 _cmsIOPrintf(m, "{ 116 mul 16 sub 100 div } bind\n"); in EmitXYZ2Lab()
1261 _cmsIOPrintf(m, "{ 500 mul 128 add 256 div } bind\n"); in EmitXYZ2Lab()
1262 _cmsIOPrintf(m, "{ 200 mul 128 add 256 div } bind\n"); in EmitXYZ2Lab()
1265 _cmsIOPrintf(m, "]\n"); in EmitXYZ2Lab()
1334 _cmsIOPrintf(m, "<<\n"); in WriteOutputLUT()
1335 _cmsIOPrintf(m, "/ColorRenderingType 1\n"); in WriteOutputLUT()
1355 _cmsIOPrintf(m, "/RenderTable "); in WriteOutputLUT()
1360 _cmsIOPrintf(m, " %d {} bind ", nChannels); in WriteOutputLUT()
1363 _cmsIOPrintf(m, "dup "); in WriteOutputLUT()
1365 _cmsIOPrintf(m, "]\n"); in WriteOutputLUT()
1370 _cmsIOPrintf(m, ">>\n"); in WriteOutputLUT()
1374 _cmsIOPrintf(m, "/Current exch /ColorRendering defineresource pop\n"); in WriteOutputLUT()
1432 _cmsIOPrintf(m, "<<\n"); in WriteNamedColorCRD()
1433 _cmsIOPrintf(m, "(colorlistcomment) (%s) \n", "Named profile"); in WriteNamedColorCRD()
1434 _cmsIOPrintf(m, "(Prefix) [ (Pantone ) (PANTONE ) ]\n"); in WriteNamedColorCRD()
1435 _cmsIOPrintf(m, "(Suffix) [ ( CV) ( CVC) ( C) ]\n"); in WriteNamedColorCRD()
1451 _cmsIOPrintf(m, " (%s) [ %s ]\n", ColorName, Colorant); in WriteNamedColorCRD()
1454 _cmsIOPrintf(m, " >>"); in WriteNamedColorCRD()
1458 _cmsIOPrintf(m, " /Current exch /HPSpotTable defineresource pop\n"); in WriteNamedColorCRD()
1503 _cmsIOPrintf(mem, "%%%%EndResource\n"); in GenerateCRD()
1504 _cmsIOPrintf(mem, "\n%% CRD End\n"); in GenerateCRD()