Searched refs:GrayTRC (Results 1 – 2 of 2) sorted by relevance
158 cmsToneCurve *GrayTRC; in BuildGrayInputMatrixPipeline() local162 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() local424 GrayTRC = (cmsToneCurve *) cmsReadTag(hProfile, cmsSigGrayTRCTag); in BuildGrayOutputPipeline()425 if (GrayTRC == NULL) return NULL; in BuildGrayOutputPipeline()427 RevGrayTRC = cmsReverseToneCurve(GrayTRC); in BuildGrayOutputPipeline()
144 - 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);