Lines Matching refs:Shapes
219 cmsToneCurve *Shapes[3]; in BuildRGBInputMatrixShaper() local
234 Shapes[0] = (cmsToneCurve *) cmsReadTag(hProfile, cmsSigRedTRCTag); in BuildRGBInputMatrixShaper()
235 Shapes[1] = (cmsToneCurve *) cmsReadTag(hProfile, cmsSigGreenTRCTag); in BuildRGBInputMatrixShaper()
236 Shapes[2] = (cmsToneCurve *) cmsReadTag(hProfile, cmsSigBlueTRCTag); in BuildRGBInputMatrixShaper()
238 if (!Shapes[0] || !Shapes[1] || !Shapes[2]) in BuildRGBInputMatrixShaper()
244 … if (!cmsPipelineInsertStage(Lut, cmsAT_END, cmsStageAllocToneCurves(ContextID, 3, Shapes)) || in BuildRGBInputMatrixShaper()
463 cmsToneCurve *Shapes[3], *InvShapes[3]; in BuildRGBOutputMatrixShaper() local
482 Shapes[0] = (cmsToneCurve *) cmsReadTag(hProfile, cmsSigRedTRCTag); in BuildRGBOutputMatrixShaper()
483 Shapes[1] = (cmsToneCurve *) cmsReadTag(hProfile, cmsSigGreenTRCTag); in BuildRGBOutputMatrixShaper()
484 Shapes[2] = (cmsToneCurve *) cmsReadTag(hProfile, cmsSigBlueTRCTag); in BuildRGBOutputMatrixShaper()
486 if (!Shapes[0] || !Shapes[1] || !Shapes[2]) in BuildRGBOutputMatrixShaper()
489 InvShapes[0] = cmsReverseToneCurve(Shapes[0]); in BuildRGBOutputMatrixShaper()
490 InvShapes[1] = cmsReverseToneCurve(Shapes[1]); in BuildRGBOutputMatrixShaper()
491 InvShapes[2] = cmsReverseToneCurve(Shapes[2]); in BuildRGBOutputMatrixShaper()