Lines Matching refs:Dest
579 cmsPipeline* Dest;
614 Dest = cmsPipelineAlloc(Src ->ContextID, Src ->InputChannels, Src ->OutputChannels);
615 if (!Dest) return FALSE;
631 cmsPipelineInsertStage(Dest, cmsAT_BEGIN, NewPreLin);
645 cmsPipelineInsertStage(Dest, cmsAT_END, CLUT);
661 cmsPipelineInsertStage(Dest, cmsAT_END, NewPostLin);
676 cmsPipelineFree(Dest);
697 _cmsPipelineSetOptimizationParameters(Dest, (_cmsOPTeval16Fn) DataCLUT->Params->Interpolation.Lerp16, DataCLUT->Params, NULL, NULL);
701 p16 = PrelinOpt16alloc(Dest ->ContextID,
703 Dest ->InputChannels,
705 Dest ->OutputChannels,
709 _cmsPipelineSetOptimizationParameters(Dest, PrelinEval16, (void*) p16, PrelinOpt16free, Prelin16dup);
719 FixWhiteMisalignment(Dest, ColorSpace, OutputColorSpace);
722 *Lut = Dest;
1286 cmsPipeline* Dest = NULL;
1302 Dest = cmsPipelineAlloc(Src ->ContextID, Src ->InputChannels, Src ->OutputChannels);
1303 if (Dest == NULL) return FALSE;
1339 cmsPipelineInsertStage(Dest, cmsAT_BEGIN, ObtainedCurves);
1345 Curves16Data* c16 = CurvesAlloc(Dest ->ContextID, Data ->nCurves, 256, Data ->TheCurves);
1348 _cmsPipelineSetOptimizationParameters(Dest, FastEvaluateCurves8, c16, CurvesFree, CurvesDup);
1354 Curves16Data* c16 = CurvesAlloc(Dest ->ContextID, Data ->nCurves, 65536, Data ->TheCurves);
1357 _cmsPipelineSetOptimizationParameters(Dest, FastEvaluateCurves16, c16, CurvesFree, CurvesDup);
1365 cmsPipelineInsertStage(Dest, cmsAT_BEGIN, cmsStageAllocIdentity(Dest ->ContextID, Src ->InputChannels));
1368 _cmsPipelineSetOptimizationParameters(Dest, FastIdentity16, (void*) Dest, NULL, NULL);
1373 *Lut = Dest;
1387 if (Dest != NULL) cmsPipelineFree(Dest);
1498 cmsBool SetMatShaper(cmsPipeline* Dest, cmsToneCurve* Curve1[3], cmsMAT3* Mat, cmsVEC3* Off, cmsToneCurve* Curve2[3], cmsUInt32Number* OutputFormat)
1505 p = (MatShaper8Data*) _cmsMalloc(Dest ->ContextID, sizeof(MatShaper8Data));
1508 p -> ContextID = Dest -> ContextID;
1541 _cmsPipelineSetOptimizationParameters(Dest, MatShaperEval16, (void*) p, FreeMatShaper, DupMatShaper);
1556 cmsPipeline* Dest, *Src;
1591 Dest = cmsPipelineAlloc(Src ->ContextID, Src ->InputChannels, Src ->OutputChannels);
1592 if (!Dest) return FALSE;
1595 cmsPipelineInsertStage(Dest, cmsAT_BEGIN, cmsStageDup(Curve1));
1597 cmsPipelineInsertStage(Dest, cmsAT_END, cmsStageAllocMatrix(Dest ->ContextID, 3, 3, (const cmsFloat64Number*) &res, Data2 ->Offset));
1598 cmsPipelineInsertStage(Dest, cmsAT_END, cmsStageDup(Curve2));
1603 OptimizeByJoiningCurves(&Dest, Intent, InputFormat, OutputFormat, dwFlags);
1614 SetMatShaper(Dest, mpeC1 ->TheCurves, &res, (cmsVEC3*) Data2 ->Offset, mpeC2->TheCurves, OutputFormat);
1618 *Lut = Dest;