Home
last modified time | relevance | path

Searched refs:CLUT (Results 1 – 6 of 6) sorted by relevance

/external/pdfium/third_party/lcms2-2.6/src/
Dcmsopt.c369 cmsBool PatchLUT(cmsStage* CLUT, cmsUInt16Number At[], cmsUInt16Number Value[], in PatchLUT() argument
372 _cmsStageCLutData* Grid = (_cmsStageCLutData*) CLUT ->Data; in PatchLUT()
378 if (CLUT -> Type != cmsSigCLutElemType) { in PatchLUT()
379 …cmsSignalError(CLUT->ContextID, cmsERROR_INTERNAL, "(internal) Attempt to PatchLUT on non-lut stag… in PatchLUT()
384 …cmsSignalError(CLUT->ContextID, cmsERROR_INTERNAL, "(internal) %d Channels are not supported on Pa… in PatchLUT()
440 …cmsSignalError(CLUT->ContextID, cmsERROR_INTERNAL, "(internal) %d Channels are not supported on Pa… in PatchLUT()
472 cmsStage *PreLin = NULL, *CLUT = NULL, *PostLin = NULL; in FixWhiteMisalignment() local
489 …, 3, cmsSigCurveSetElemType, cmsSigCLutElemType, cmsSigCurveSetElemType, &PreLin, &CLUT, &PostLin)) in FixWhiteMisalignment()
490 …PipelineCheckAndRetreiveStages(Lut, 2, cmsSigCurveSetElemType, cmsSigCLutElemType, &PreLin, &CLUT)) in FixWhiteMisalignment()
491 …ipelineCheckAndRetreiveStages(Lut, 2, cmsSigCLutElemType, cmsSigCurveSetElemType, &CLUT, &PostLin)) in FixWhiteMisalignment()
[all …]
Dcmscnvrt.c724 cmsStage* CLUT; in BlackPreservingKOnlyIntents() local
774 CLUT = cmsStageAllocCLut16bit(ContextID, nGridPoints, 4, 4, NULL); in BlackPreservingKOnlyIntents()
775 if (CLUT == NULL) goto Error; in BlackPreservingKOnlyIntents()
778 if (!cmsPipelineInsertStage(Result, cmsAT_BEGIN, CLUT)) in BlackPreservingKOnlyIntents()
782 if (!cmsStageSampleCLut16bit(CLUT, BlackPreservingGrayOnlySampler, (void*) &bp, 0)) in BlackPreservingKOnlyIntents()
916 cmsStage* CLUT; in BlackPreservingKPlaneIntents() local
993 CLUT = cmsStageAllocCLut16bit(ContextID, nGridPoints, 4, 4, NULL); in BlackPreservingKPlaneIntents()
994 if (CLUT == NULL) goto Cleanup; in BlackPreservingKPlaneIntents()
996 if (!cmsPipelineInsertStage(Result, cmsAT_BEGIN, CLUT)) in BlackPreservingKPlaneIntents()
999 cmsStageSampleCLut16bit(CLUT, BlackPreservingSampler, (void*) &bp, 0); in BlackPreservingKPlaneIntents()
Dcmsvirt.c399 cmsStage* CLUT; in cmsCreateInkLimitingDeviceLinkTHR() local
435 CLUT = cmsStageAllocCLut16bit(ContextID, 17, nChannels, nChannels, NULL); in cmsCreateInkLimitingDeviceLinkTHR()
436 if (CLUT == NULL) goto Error; in cmsCreateInkLimitingDeviceLinkTHR()
438 if (!cmsStageSampleCLut16bit(CLUT, InkLimitingSampler, (void*) &Limit, 0)) goto Error; in cmsCreateInkLimitingDeviceLinkTHR()
441 !cmsPipelineInsertStage(LUT, cmsAT_END, CLUT) || in cmsCreateInkLimitingDeviceLinkTHR()
739 cmsStage* CLUT; in cmsCreateBCHSWabstractProfileTHR() local
773 CLUT = cmsStageAllocCLut16bitGranular(ContextID, Dimensions, 3, 3, NULL); in cmsCreateBCHSWabstractProfileTHR()
774 if (CLUT == NULL) return NULL; in cmsCreateBCHSWabstractProfileTHR()
777 if (!cmsStageSampleCLut16bit(CLUT, bchswSampler, (void*) &bchsw, 0)) { in cmsCreateBCHSWabstractProfileTHR()
783 if (!cmsPipelineInsertStage(Pipeline, cmsAT_END, CLUT)) { in cmsCreateBCHSWabstractProfileTHR()
Dcmsgmt.c297 cmsStage* CLUT; in _cmsCreateGamutCheckPipeline() local
390 CLUT = cmsStageAllocCLut16bit(ContextID, nGridpoints, nChannels, 1, NULL); in _cmsCreateGamutCheckPipeline()
391 if (!cmsPipelineInsertStage(Gamut, cmsAT_BEGIN, CLUT)) { in _cmsCreateGamutCheckPipeline()
396 cmsStageSampleCLut16bit(CLUT, GamutSampler, (void*) &Chain, 0); in _cmsCreateGamutCheckPipeline()
Dcmstypes.c2322 cmsStage* CLUT; in ReadCLUT() local
2341CLUT = cmsStageAllocCLut16bitGranular(self ->ContextID, GridPoints, InputChannels, OutputChannels,… in ReadCLUT()
2342 if (CLUT == NULL) return NULL; in ReadCLUT()
2344 Data = (_cmsStageCLutData*) CLUT ->Data; in ReadCLUT()
2362 cmsStageFree(CLUT); in ReadCLUT()
2367 cmsStageFree(CLUT); in ReadCLUT()
2372 return CLUT; in ReadCLUT()
2617 _cmsStageCLutData* CLUT = ( _cmsStageCLutData*) mpe -> Data; in WriteCLUT() local
2619 if (CLUT ->HasFloatValues) { in WriteCLUT()
2625 for (i=0; i < (cmsUInt32Number) CLUT ->Params ->nInputs; i++) in WriteCLUT()
[all …]
Dcmsio1.c532 _cmsStageCLutData* CLUT = (_cmsStageCLutData*) Stage ->Data; in ChangeInterpolationToTrilinear() local
534 CLUT ->Params->dwFlags |= CMS_LERP_FLAGS_TRILINEAR; in ChangeInterpolationToTrilinear()
535 _cmsSetInterpolationRoutine(Lut->ContextID, CLUT ->Params); in ChangeInterpolationToTrilinear()