/external/pdfium/third_party/lcms/src/ |
cmsgmt.c | 297 cmsStage* CLUT;
322 // of input and output CLUT may result in differences.
390 CLUT = cmsStageAllocCLut16bit(ContextID, nGridpoints, nChannels, 1, NULL);
391 if (!cmsPipelineInsertStage(Gamut, cmsAT_BEGIN, CLUT)) {
396 cmsStageSampleCLut16bit(CLUT, GamutSampler, (void*) &Chain, 0);
|
cmsio1.c | 523 // Change CLUT interpolation to trilinear 535 _cmsStageCLutData* CLUT = (_cmsStageCLutData*) Stage ->Data; 537 CLUT ->Params->dwFlags |= CMS_LERP_FLAGS_TRILINEAR; 538 _cmsSetInterpolationRoutine(Lut->ContextID, CLUT ->Params); 837 // Returns TRUE if the intent is implemented as CLUT [all...] |
cmsvirt.c | 399 cmsStage* CLUT; 435 CLUT = cmsStageAllocCLut16bit(ContextID, 17, nChannels, nChannels, NULL); 436 if (CLUT == NULL) goto Error; 438 if (!cmsStageSampleCLut16bit(CLUT, InkLimitingSampler, (void*) &Limit, 0)) goto Error; 441 !cmsPipelineInsertStage(LUT, cmsAT_END, CLUT) || 741 cmsStage* CLUT; 780 CLUT = cmsStageAllocCLut16bitGranular(ContextID, Dimensions, 3, 3, NULL); 781 if (CLUT == NULL) return NULL; 784 if (!cmsStageSampleCLut16bit(CLUT, bchswSampler, (void*) &bchsw, 0)) { 790 if (!cmsPipelineInsertStage(Pipeline, cmsAT_END, CLUT)) { [all...] |
cmscnvrt.c | 743 cmsStage* CLUT; 792 // Create the CLUT. 16 bits 793 CLUT = cmsStageAllocCLut16bit(ContextID, nGridPoints, 4, 4, NULL); 794 if (CLUT == NULL) goto Error; 797 if (!cmsPipelineInsertStage(Result, cmsAT_BEGIN, CLUT)) 801 if (!cmsStageSampleCLut16bit(CLUT, BlackPreservingGrayOnlySampler, (void*) &bp, 0)) 837 // The CLUT will be stored at 16 bits, but calculations are performed at cmsFloat32Number precision [all...] |
cmsopt.c | 32 // Optimization for 8 bits, Shaper-CLUT (3 inputs only) 46 // Generic optimization for 16 bits Shaper-CLUT-Shaper (any inputs) 406 // Sampler implemented by another LUT. This is a clean way to precalculate the devicelink 3D CLUT for 455 cmsBool PatchLUT(cmsStage* CLUT, cmsUInt16Number At[], cmsUInt16Number Value[], 458 _cmsStageCLutData* Grid = (_cmsStageCLutData*) CLUT ->Data; 464 if (CLUT -> Type != cmsSigCLutElemType) { 465 cmsSignalError(CLUT->ContextID, cmsERROR_INTERNAL, "(internal) Attempt to PatchLUT on non-lut stage"); 522 cmsSignalError(CLUT->ContextID, cmsERROR_INTERNAL, "(internal) %d Channels are not supported on PatchLUT", nChannelsIn); 554 cmsStage *PreLin = NULL, *CLUT = NULL, *PostLin = NULL; 570 // Check if the LUT comes as Prelin, CLUT or Postlin. We allow all combination [all...] |
cmstypes.c | 1853 _cmsStageCLutData* clut = NULL; local 2141 _cmsStageCLutData* clut = NULL; local 4309 _cmsStageCLutData* clut; local 4357 _cmsStageCLutData* clut = (_cmsStageCLutData*) mpe ->Data; local [all...] |