• Home
  • Raw
  • Download

Lines Matching refs:ContextID

126 cmsBool _cmsRegisterParametricCurvesPlugin(cmsContext ContextID, cmsPluginBase* Data)  in _cmsRegisterParametricCurvesPlugin()  argument
128 …nChunkType* ctx = ( _cmsCurvesPluginChunkType*) _cmsContextGetClientChunk(ContextID, CurvesPlugin); in _cmsRegisterParametricCurvesPlugin()
138 …fl = (_cmsParametricCurvesCollection*) _cmsPluginMalloc(ContextID, sizeof(_cmsParametricCurvesColl… in _cmsRegisterParametricCurvesPlugin()
177 _cmsParametricCurvesCollection *GetParametricCurveByType(cmsContext ContextID, int Type, int* index) in GetParametricCurveByType() argument
181 …nChunkType* ctx = ( _cmsCurvesPluginChunkType*) _cmsContextGetClientChunk(ContextID, CurvesPlugin); in GetParametricCurveByType()
212 cmsToneCurve* AllocateToneCurveStruct(cmsContext ContextID, cmsInt32Number nEntries, in AllocateToneCurveStruct() argument
221 …cmsSignalError(ContextID, cmsERROR_RANGE, "Couldn't create tone curve of more than 65530 entries"); in AllocateToneCurveStruct()
226 …cmsSignalError(ContextID, cmsERROR_RANGE, "Couldn't create tone curve with zero segments and no ta… in AllocateToneCurveStruct()
231 p = (cmsToneCurve*) _cmsMallocZero(ContextID, sizeof(cmsToneCurve)); in AllocateToneCurveStruct()
240 p ->Segments = (cmsCurveSegment*) _cmsCalloc(ContextID, nSegments, sizeof(cmsCurveSegment)); in AllocateToneCurveStruct()
243 …p ->Evals = (cmsParametricCurveEvaluator*) _cmsCalloc(ContextID, nSegments, sizeof(cmsParametri… in AllocateToneCurveStruct()
255 p ->Table16 = (cmsUInt16Number*) _cmsCalloc(ContextID, nEntries, sizeof(cmsUInt16Number)); in AllocateToneCurveStruct()
274 … p ->SegInterp = (cmsInterpParams**) _cmsCalloc(ContextID, nSegments, sizeof(cmsInterpParams*)); in AllocateToneCurveStruct()
281 …p ->SegInterp[i] = _cmsComputeInterpParams(ContextID, Segments[i].nGridPoints, 1, 1, NULL, CMS_LER… in AllocateToneCurveStruct()
286 …p ->Segments[i].SampledPoints = (cmsFloat32Number*) _cmsDupMem(ContextID, Segments[i].SampledPoint… in AllocateToneCurveStruct()
291 c = GetParametricCurveByType(ContextID, Segments[i].Type, NULL); in AllocateToneCurveStruct()
297 …p ->InterpParams = _cmsComputeInterpParams(ContextID, p ->nEntries, 1, 1, p->Table16, CMS_LERP_FLA… in AllocateToneCurveStruct()
302 if (p -> Segments) _cmsFree(ContextID, p ->Segments); in AllocateToneCurveStruct()
303 if (p -> Evals) _cmsFree(ContextID, p -> Evals); in AllocateToneCurveStruct()
304 if (p ->Table16) _cmsFree(ContextID, p ->Table16); in AllocateToneCurveStruct()
305 _cmsFree(ContextID, p); in AllocateToneCurveStruct()
619 cmsToneCurve* CMSEXPORT cmsBuildTabulatedToneCurve16(cmsContext ContextID, cmsInt32Number nEntries,… in cmsBuildTabulatedToneCurve16() argument
621 return AllocateToneCurveStruct(ContextID, nEntries, 0, NULL, Values); in cmsBuildTabulatedToneCurve16()
633 cmsToneCurve* CMSEXPORT cmsBuildSegmentedToneCurve(cmsContext ContextID, in cmsBuildSegmentedToneCurve() argument
649 g = AllocateToneCurveStruct(ContextID, nGridPoints, nSegments, Segments, NULL); in cmsBuildSegmentedToneCurve()
668 cmsToneCurve* CMSEXPORT cmsBuildTabulatedToneCurveFloat(cmsContext ContextID, cmsUInt32Number nEntr… in cmsBuildTabulatedToneCurveFloat() argument
704 return cmsBuildSegmentedToneCurve(ContextID, 3, Seg); in cmsBuildTabulatedToneCurveFloat()
712 cmsToneCurve* CMSEXPORT cmsBuildParametricToneCurve(cmsContext ContextID, cmsInt32Number Type, cons… in cmsBuildParametricToneCurve() argument
717 _cmsParametricCurvesCollection* c = GetParametricCurveByType(ContextID, Type, &Pos); in cmsBuildParametricToneCurve()
722 … cmsSignalError(ContextID, cmsERROR_UNKNOWN_EXTENSION, "Invalid parametric curve type %d", Type); in cmsBuildParametricToneCurve()
735 return cmsBuildSegmentedToneCurve(ContextID, 1, &Seg0); in cmsBuildParametricToneCurve()
741 cmsToneCurve* CMSEXPORT cmsBuildGamma(cmsContext ContextID, cmsFloat64Number Gamma) in cmsBuildGamma() argument
743 return cmsBuildParametricToneCurve(ContextID, 1, &Gamma); in cmsBuildGamma()
750 cmsContext ContextID; in cmsFreeToneCurve() local
756 ContextID = Curve ->InterpParams->ContextID; in cmsFreeToneCurve()
762 _cmsFree(ContextID, Curve ->Table16); in cmsFreeToneCurve()
773 _cmsFree(ContextID, Curve ->Segments[i].SampledPoints); in cmsFreeToneCurve()
783 _cmsFree(ContextID, Curve ->Segments); in cmsFreeToneCurve()
785 _cmsFree(ContextID, Curve ->SegInterp); in cmsFreeToneCurve()
790 _cmsFree(ContextID, Curve -> Evals); in cmsFreeToneCurve()
795 _cmsFree(ContextID, Curve); in cmsFreeToneCurve()
822 …return AllocateToneCurveStruct(In ->InterpParams ->ContextID, In ->nEntries, In ->nSegments, In -… in cmsDupToneCurve()
830 cmsToneCurve* CMSEXPORT cmsJoinToneCurve(cmsContext ContextID, in cmsJoinToneCurve() argument
847 Res = (cmsFloat32Number*) _cmsCalloc(ContextID, nResultingPoints, sizeof(cmsFloat32Number)); in cmsJoinToneCurve()
859 out = cmsBuildTabulatedToneCurveFloat(ContextID, nResultingPoints, Res); in cmsJoinToneCurve()
863 if (Res != NULL) _cmsFree(ContextID, Res); in cmsJoinToneCurve()
933 …GetParametricCurveByType(InCurve ->InterpParams->ContextID, InCurve ->Segments[0].Type, NULL) != N… in cmsReverseToneCurveEx()
935 return cmsBuildParametricToneCurve(InCurve ->InterpParams->ContextID, in cmsReverseToneCurveEx()
941 out = cmsBuildTabulatedToneCurve16(InCurve ->InterpParams->ContextID, nResultSamples, NULL); in cmsReverseToneCurveEx()
1004 cmsBool smooth2(cmsContext ContextID, cmsFloat32Number w[], cmsFloat32Number y[], cmsFloat32Number … in smooth2() argument
1011 c = (cmsFloat32Number*) _cmsCalloc(ContextID, MAX_NODES_IN_CURVE, sizeof(cmsFloat32Number)); in smooth2()
1012 d = (cmsFloat32Number*) _cmsCalloc(ContextID, MAX_NODES_IN_CURVE, sizeof(cmsFloat32Number)); in smooth2()
1013 e = (cmsFloat32Number*) _cmsCalloc(ContextID, MAX_NODES_IN_CURVE, sizeof(cmsFloat32Number)); in smooth2()
1053 if (c != NULL) _cmsFree(ContextID, c); in smooth2()
1054 if (d != NULL) _cmsFree(ContextID, d); in smooth2()
1055 if (e != NULL) _cmsFree(ContextID, e); in smooth2()
1073 …cmsSignalError(Tab ->InterpParams->ContextID, cmsERROR_RANGE, "cmsSmoothToneCurve: too many points… in cmsSmoothToneCurve()
1087 …if (!smooth2(Tab ->InterpParams->ContextID, w, y, z, (cmsFloat32Number) lambda, nItems)) return FA… in cmsSmoothToneCurve()
1096 …cmsSignalError(Tab ->InterpParams->ContextID, cmsERROR_RANGE, "cmsSmoothToneCurve: Non-Monotonic."… in cmsSmoothToneCurve()
1102 …cmsSignalError(Tab ->InterpParams->ContextID, cmsERROR_RANGE, "cmsSmoothToneCurve: Degenerated, mo… in cmsSmoothToneCurve()
1106 …cmsSignalError(Tab ->InterpParams->ContextID, cmsERROR_RANGE, "cmsSmoothToneCurve: Degenerated, mo… in cmsSmoothToneCurve()