/external/pdfium/third_party/lcms2-2.6/ |
D | 0016-check-LUT-and-MPE.patch | 27 - 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);
|
D | 0007-memory-leak-OptimizeByResampling.patch | 8 …sStageAllocCLut16bit(Src ->ContextID, nGridPoints, Src ->InputChannels, Src->OutputChannels, NULL);
|
/external/pdfium/third_party/lcms2-2.6/src/ |
D | cmslut.c | 34 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() 1199 return mpe ->OutputChannels; in cmsStageOutputChannels() 1227 mpe ->OutputChannels, in cmsStageDup() 1275 lut->OutputChannels = Last->OutputChannels; in BlessLUT() [all …]
|
D | cmstypes.c | 1740 cmsUInt8Number InputChannels, OutputChannels, CLUTpoints; in Type_LUT8_Read() local 1749 if (!_cmsReadUInt8Number(io, &OutputChannels)) goto Error; in Type_LUT8_Read() 1759 if (OutputChannels == 0 || OutputChannels > cmsMAXCHANNELS) goto Error; in Type_LUT8_Read() 1762 NewLUT = cmsPipelineAlloc(self ->ContextID, InputChannels, OutputChannels); in Type_LUT8_Read() 1788 nTabSize = uipow(OutputChannels, CLUTpoints, InputChannels); in Type_LUT8_Read() 1816 …cmsAT_END, cmsStageAllocCLut16bit(self ->ContextID, CLUTpoints, InputChannels, OutputChannels, T))) in Type_LUT8_Read() 1823 if (!Read8bitTables(self ->ContextID, io, NewLUT, OutputChannels)) goto Error; in Type_LUT8_Read() 1884 if (!_cmsWriteUInt8Number(io, (cmsUInt8Number) NewLUT ->OutputChannels)) return FALSE; in Type_LUT8_Write() 1918 nTabSize = uipow(NewLUT->OutputChannels, clutPoints, NewLUT ->InputChannels); in Type_LUT8_Write() 1934 if (!Write8bitTables(self ->ContextID, io, NewLUT ->OutputChannels, PostMPE)) return FALSE; in Type_LUT8_Write() [all …]
|
D | cmsopt.c | 330 _cmsAssert(Lut -> OutputChannels < cmsMAXCHANNELS); in XFormSampler16() 340 for (i=0; i < Lut ->OutputChannels; i++) in XFormSampler16() 482 if (Lut ->OutputChannels != nOuts) return FALSE; in FixWhiteMisalignment() 586 Dest = cmsPipelineAlloc(Src ->ContextID, Src ->InputChannels, Src ->OutputChannels); in OptimizeByResampling() 614 …sStageAllocCLut16bit(Src ->ContextID, nGridPoints, Src ->InputChannels, Src->OutputChannels, NULL); in OptimizeByResampling() 689 Dest ->OutputChannels, in OptimizeByResampling() 1048 …sPipelineAlloc(OriginalLut ->ContextID, OriginalLut ->InputChannels, OriginalLut ->OutputChannels); in OptimizeByComputingLinearization() 1058 …inalLut ->ContextID, nGridPoints, OriginalLut ->InputChannels, OriginalLut ->OutputChannels, NULL); in OptimizeByComputingLinearization() 1289 Dest = cmsPipelineAlloc(Src ->ContextID, Src ->InputChannels, Src ->OutputChannels); in OptimizeByJoiningCurves() 1597 Dest = cmsPipelineAlloc(Src ->ContextID, Src ->InputChannels, Src ->OutputChannels); in OptimizeMatrixShaper()
|
D | lcms2_internal.h | 799 cmsUInt32Number OutputChannels; // Output channels -- for optimization purposes member 840 cmsUInt32Number InputChannels, OutputChannels; member
|
D | cmsxform.c | 339 for (i=0; i < p ->Lut->OutputChannels; i++) { in TransformOnePixelWithGamutCheck()
|
/external/skia/src/gpu/effects/ |
D | GrYUVEffect.cpp | 210 enum OutputChannels { enum in __anonedec87e40111::RGBToYUVEffect 224 OutputChannels output) in RGBToYUVEffect() 237 OutputChannels outputChannels() const { return fOutputChannels; } in outputChannels() 245 OutputChannels oc = args.fFp.cast<RGBToYUVEffect>().outputChannels(); in emitCode() 292 OutputChannels oc = effect.outputChannels(); in onSetData() 356 OutputChannels fOutputChannels;
|
/external/pdfium/third_party/lcms2-2.6/include/ |
D | lcms2_plugin.h | 494 cmsUInt32Number OutputChannels,
|
D | lcms2.h | 1184 …PipelineAlloc(cmsContext ContextID, cmsUInt32Number InputChannels, cmsUInt32Number OutputChannels);
|