Home
last modified time | relevance | path

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

/external/pdfium/third_party/lcms/
D0013-memory-leak-OptimizeByResampling.patch7 // Allocate the CLUT
8CLUT = cmsStageAllocCLut16bit(Src ->ContextID, nGridPoints, Src ->InputChannels, Src->OutputChanne…
9 - if (CLUT == NULL) return FALSE;
10 + if (CLUT == NULL) goto Error;
12 // Add the CLUT to the destination LUT
13 if (!cmsPipelineInsertStage(Dest, cmsAT_END, CLUT)) {
D0018-backport-c0a98d86.patch47 + if (Dimensions8[i] == 1) goto Error; // Impossible value, 0 for no CLUT and then 2 at least
51 // Allocate the true CLUT
D0010-memory-leak-Type_Curve_Read.patch23 + cmsStageFree(CLUT);
/external/pdfium/third_party/lcms/src/
Dcmscnvrt.c743 cmsStage* CLUT; in BlackPreservingKOnlyIntents() local
793 CLUT = cmsStageAllocCLut16bit(ContextID, nGridPoints, 4, 4, NULL); in BlackPreservingKOnlyIntents()
794 if (CLUT == NULL) goto Error; in BlackPreservingKOnlyIntents()
797 if (!cmsPipelineInsertStage(Result, cmsAT_BEGIN, CLUT)) in BlackPreservingKOnlyIntents()
801 if (!cmsStageSampleCLut16bit(CLUT, BlackPreservingGrayOnlySampler, (void*) &bp, 0)) in BlackPreservingKOnlyIntents()
935 cmsStage* CLUT; in BlackPreservingKPlaneIntents() local
1012 CLUT = cmsStageAllocCLut16bit(ContextID, nGridPoints, 4, 4, NULL); in BlackPreservingKPlaneIntents()
1013 if (CLUT == NULL) goto Cleanup; in BlackPreservingKPlaneIntents()
1015 if (!cmsPipelineInsertStage(Result, cmsAT_BEGIN, CLUT)) in BlackPreservingKPlaneIntents()
1018 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()
741 cmsStage* CLUT; in cmsCreateBCHSWabstractProfileTHR() local
780 CLUT = cmsStageAllocCLut16bitGranular(ContextID, Dimensions, 3, 3, NULL); in cmsCreateBCHSWabstractProfileTHR()
781 if (CLUT == NULL) return NULL; in cmsCreateBCHSWabstractProfileTHR()
784 if (!cmsStageSampleCLut16bit(CLUT, bchswSampler, (void*) &bchsw, 0)) { in cmsCreateBCHSWabstractProfileTHR()
790 if (!cmsPipelineInsertStage(Pipeline, cmsAT_END, CLUT)) { in cmsCreateBCHSWabstractProfileTHR()
Dcmsopt.c455 cmsBool PatchLUT(cmsStage* CLUT, cmsUInt16Number At[], cmsUInt16Number Value[], in PatchLUT() argument
458 _cmsStageCLutData* Grid = (_cmsStageCLutData*) CLUT ->Data; in PatchLUT()
464 if (CLUT -> Type != cmsSigCLutElemType) { in PatchLUT()
465 …cmsSignalError(CLUT->ContextID, cmsERROR_INTERNAL, "(internal) Attempt to PatchLUT on non-lut stag… in PatchLUT()
522 …cmsSignalError(CLUT->ContextID, cmsERROR_INTERNAL, "(internal) %d Channels are not supported on Pa… in PatchLUT()
554 cmsStage *PreLin = NULL, *CLUT = NULL, *PostLin = NULL; in FixWhiteMisalignment() local
571 …, 3, cmsSigCurveSetElemType, cmsSigCLutElemType, cmsSigCurveSetElemType, &PreLin, &CLUT, &PostLin)) in FixWhiteMisalignment()
572 …PipelineCheckAndRetreiveStages(Lut, 2, cmsSigCurveSetElemType, cmsSigCLutElemType, &PreLin, &CLUT)) in FixWhiteMisalignment()
573 …ipelineCheckAndRetreiveStages(Lut, 2, cmsSigCLutElemType, cmsSigCurveSetElemType, &CLUT, &PostLin)) in FixWhiteMisalignment()
574 if (!cmsPipelineCheckAndRetreiveStages(Lut, 1, cmsSigCLutElemType, &CLUT)) in FixWhiteMisalignment()
[all …]
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.c2333 cmsStage* CLUT; in ReadCLUT() local
2352CLUT = cmsStageAllocCLut16bitGranular(self ->ContextID, GridPoints, InputChannels, OutputChannels,… in ReadCLUT()
2353 if (CLUT == NULL) return NULL; in ReadCLUT()
2355 Data = (_cmsStageCLutData*) CLUT ->Data; in ReadCLUT()
2365 cmsStageFree(CLUT); in ReadCLUT()
2376 cmsStageFree(CLUT); in ReadCLUT()
2381 cmsStageFree(CLUT); in ReadCLUT()
2386 return CLUT; in ReadCLUT()
2634 _cmsStageCLutData* CLUT = ( _cmsStageCLutData*) mpe -> Data; in WriteCLUT() local
2636 if (CLUT ->HasFloatValues) { in WriteCLUT()
[all …]
Dcmsio1.c535 _cmsStageCLutData* CLUT = (_cmsStageCLutData*) Stage ->Data; in ChangeInterpolationToTrilinear() local
537 CLUT ->Params->dwFlags |= CMS_LERP_FLAGS_TRILINEAR; in ChangeInterpolationToTrilinear()
538 _cmsSetInterpolationRoutine(Lut->ContextID, CLUT ->Params); in ChangeInterpolationToTrilinear()
/external/u-boot/arch/sh/include/asm/
Dcpu_sh7722.h628 #define CLUT 0xFE933000 macro