Home
last modified time | relevance | path

Searched refs:GrayTRC (Results 1 – 2 of 2) sorted by relevance

/external/pdfium/third_party/lcms/
D0027-changes-from-beginning-of-time.patch144 - cmsFreeToneCurve(GrayTRC);
145 + // memory pointed by GrayTRC is not a new malloc memory, so don't free it here,
146 + // memory pointed by GrayTRC will be freed when hProfile is closed.
149 + //cmsFreeToneCurve(GrayTRC);
/external/pdfium/third_party/lcms/src/
Dcmsio1.c158 cmsToneCurve *GrayTRC; in BuildGrayInputMatrixPipeline() local
162 GrayTRC = (cmsToneCurve *) cmsReadTag(hProfile, cmsSigGrayTRCTag); in BuildGrayInputMatrixPipeline()
163 if (GrayTRC == NULL) return NULL; in BuildGrayInputMatrixPipeline()
181 LabCurves[0] = GrayTRC; in BuildGrayInputMatrixPipeline()
196 … if (!cmsPipelineInsertStage(Lut, cmsAT_END, cmsStageAllocToneCurves(ContextID, 1, &GrayTRC)) || in BuildGrayInputMatrixPipeline()
420 cmsToneCurve *GrayTRC, *RevGrayTRC; in BuildGrayOutputPipeline() local
424 GrayTRC = (cmsToneCurve *) cmsReadTag(hProfile, cmsSigGrayTRCTag); in BuildGrayOutputPipeline()
425 if (GrayTRC == NULL) return NULL; in BuildGrayOutputPipeline()
427 RevGrayTRC = cmsReverseToneCurve(GrayTRC); in BuildGrayOutputPipeline()