Home
last modified time | relevance | path

Searched refs:OutputChannels (Results 1 – 9 of 9) sorted by relevance

/external/pdfium/third_party/lcms/
D0022-check-LUT-and-MPE.patch27 - if (Last != NULL) lut ->OutputChannels = Last ->OutputChannels;
31 + lut->OutputChannels = Last->OutputChannels;
39 + if (next->InputChannels != prev->OutputChannels)
56 OutputChannels >= cmsMAXCHANNELS) return NULL;
122 - if (OutputChannels > cmsMAXCHANNELS) goto Error;
124 + if (OutputChannels == 0 || OutputChannels > cmsMAXCHANNELS) goto Error;
127 NewLUT = cmsPipelineAlloc(self ->ContextID, InputChannels, OutputChannels);
133 - if (OutputChannels > cmsMAXCHANNELS) goto Error;
135 + if (OutputChannels == 0 || OutputChannels > cmsMAXCHANNELS) goto Error;
138 NewLUT = cmsPipelineAlloc(self ->ContextID, InputChannels, OutputChannels);
D0013-memory-leak-OptimizeByResampling.patch8 …sStageAllocCLut16bit(Src ->ContextID, nGridPoints, Src ->InputChannels, Src->OutputChannels, NULL);
/external/pdfium/third_party/lcms/src/
Dcmslut.c34 cmsUInt32Number OutputChannels, in _cmsStageAllocPlaceholder() argument
51 ph ->OutputChannels = OutputChannels; in _cmsStageAllocPlaceholder()
321 for (i=0; i < mpe ->OutputChannels; i++) { in EvaluateMatrix()
350 sz = mpe ->InputChannels * mpe ->OutputChannels; in MatrixElemDup()
356 … Data ->Offset, mpe -> OutputChannels * sizeof(cmsFloat64Number)) ; in MatrixElemDup()
457 _cmsAssert(mpe ->OutputChannels <= MAX_STAGE_CHANNELS); in EvaluateCLUTfloatIn16()
461 From16ToFloat(Out16, Out, mpe ->OutputChannels); in EvaluateCLUTfloatIn16()
1215 return mpe ->OutputChannels; in cmsStageOutputChannels()
1243 mpe ->OutputChannels, in cmsStageDup()
1291 lut->OutputChannels = Last->OutputChannels; in BlessLUT()
[all …]
Dcmstypes.c1748 cmsUInt8Number InputChannels, OutputChannels, CLUTpoints; in Type_LUT8_Read() local
1757 if (!_cmsReadUInt8Number(io, &OutputChannels)) goto Error; in Type_LUT8_Read()
1767 if (OutputChannels == 0 || OutputChannels > cmsMAXCHANNELS) goto Error; in Type_LUT8_Read()
1770 NewLUT = cmsPipelineAlloc(self ->ContextID, InputChannels, OutputChannels); in Type_LUT8_Read()
1796 nTabSize = uipow(OutputChannels, CLUTpoints, InputChannels); in Type_LUT8_Read()
1824 …cmsAT_END, cmsStageAllocCLut16bit(self ->ContextID, CLUTpoints, InputChannels, OutputChannels, T))) in Type_LUT8_Read()
1831 if (!Read8bitTables(self ->ContextID, io, NewLUT, OutputChannels)) goto Error; in Type_LUT8_Read()
1892 if (!_cmsWriteUInt8Number(io, (cmsUInt8Number) NewLUT ->OutputChannels)) return FALSE; in Type_LUT8_Write()
1926 nTabSize = uipow(NewLUT->OutputChannels, clutPoints, NewLUT ->InputChannels); in Type_LUT8_Write()
1942 if (!Write8bitTables(self ->ContextID, io, NewLUT ->OutputChannels, PostMPE)) return FALSE; in Type_LUT8_Write()
[all …]
Dcmsopt.c416 _cmsAssert(Lut -> OutputChannels < cmsMAXCHANNELS); in XFormSampler16()
426 for (i=0; i < Lut ->OutputChannels; i++) in XFormSampler16()
564 if (Lut ->OutputChannels != nOuts) return FALSE; in FixWhiteMisalignment()
668 Dest = cmsPipelineAlloc(Src ->ContextID, Src ->InputChannels, Src ->OutputChannels); in OptimizeByResampling()
696 …sStageAllocCLut16bit(Src ->ContextID, nGridPoints, Src ->InputChannels, Src->OutputChannels, NULL); in OptimizeByResampling()
771 Dest ->OutputChannels, in OptimizeByResampling()
1148 …sPipelineAlloc(OriginalLut ->ContextID, OriginalLut ->InputChannels, OriginalLut ->OutputChannels); in OptimizeByComputingLinearization()
1158 …inalLut ->ContextID, nGridPoints, OriginalLut ->InputChannels, OriginalLut ->OutputChannels, NULL); in OptimizeByComputingLinearization()
1389 Dest = cmsPipelineAlloc(Src ->ContextID, Src ->InputChannels, Src ->OutputChannels); in OptimizeByJoiningCurves()
1734 Dest = cmsPipelineAlloc(Src ->ContextID, Src ->InputChannels, Src ->OutputChannels); in OptimizeMatrixShaper()
Dlcms2_internal.h812 cmsUInt32Number OutputChannels; // Output channels -- for optimization purposes member
855 cmsUInt32Number InputChannels, OutputChannels; member
Dcmsxform.c430 for (i=0; i < p ->Lut->OutputChannels; i++) { in TransformOnePixelWithGamutCheck()
/external/pdfium/third_party/lcms/include/
Dlcms2_plugin.h494 cmsUInt32Number OutputChannels,
Dlcms2.h1189 …PipelineAlloc(cmsContext ContextID, cmsUInt32Number InputChannels, cmsUInt32Number OutputChannels);