Lines Matching refs:NewMPE
252 cmsStage* NewMPE; in cmsStageAllocToneCurves() local
255 NewMPE = _cmsStageAllocPlaceholder(ContextID, cmsSigCurveSetElemType, nChannels, nChannels, in cmsStageAllocToneCurves()
257 if (NewMPE == NULL) return NULL; in cmsStageAllocToneCurves()
261 cmsStageFree(NewMPE); in cmsStageAllocToneCurves()
265 NewMPE ->Data = (void*) NewElem; in cmsStageAllocToneCurves()
270 cmsStageFree(NewMPE); in cmsStageAllocToneCurves()
284 cmsStageFree(NewMPE); in cmsStageAllocToneCurves()
290 return NewMPE; in cmsStageAllocToneCurves()
384 cmsStage* NewMPE; in cmsStageAllocMatrix() local
394 NewMPE = _cmsStageAllocPlaceholder(ContextID, cmsSigMatrixElemType, Cols, Rows, in cmsStageAllocMatrix()
396 if (NewMPE == NULL) return NULL; in cmsStageAllocMatrix()
406 MatrixElemTypeFree(NewMPE); in cmsStageAllocMatrix()
419 MatrixElemTypeFree(NewMPE); in cmsStageAllocMatrix()
429 NewMPE ->Data = (void*) NewElem; in cmsStageAllocMatrix()
430 return NewMPE; in cmsStageAllocMatrix()
558 cmsStage* NewMPE; in cmsStageAllocCLut16bitGranular() local
567 NewMPE = _cmsStageAllocPlaceholder(ContextID, cmsSigCLutElemType, inputChan, outputChan, in cmsStageAllocCLut16bitGranular()
570 if (NewMPE == NULL) return NULL; in cmsStageAllocCLut16bitGranular()
574 cmsStageFree(NewMPE); in cmsStageAllocCLut16bitGranular()
578 NewMPE ->Data = (void*) NewElem; in cmsStageAllocCLut16bitGranular()
584 cmsStageFree(NewMPE); in cmsStageAllocCLut16bitGranular()
591 cmsStageFree(NewMPE); in cmsStageAllocCLut16bitGranular()
603 cmsStageFree(NewMPE); in cmsStageAllocCLut16bitGranular()
607 return NewMPE; in cmsStageAllocCLut16bitGranular()
649 cmsStage* NewMPE; in cmsStageAllocCLutFloatGranular() local
658 NewMPE = _cmsStageAllocPlaceholder(ContextID, cmsSigCLutElemType, inputChan, outputChan, in cmsStageAllocCLutFloatGranular()
660 if (NewMPE == NULL) return NULL; in cmsStageAllocCLutFloatGranular()
665 cmsStageFree(NewMPE); in cmsStageAllocCLutFloatGranular()
669 NewMPE ->Data = (void*) NewElem; in cmsStageAllocCLutFloatGranular()
676 cmsStageFree(NewMPE); in cmsStageAllocCLutFloatGranular()
682 cmsStageFree(NewMPE); in cmsStageAllocCLutFloatGranular()
694 cmsStageFree(NewMPE); in cmsStageAllocCLutFloatGranular()
698 return NewMPE; in cmsStageAllocCLutFloatGranular()
1244 cmsStage* NewMPE; in cmsStageDup() local
1247 NewMPE = _cmsStageAllocPlaceholder(mpe ->ContextID, in cmsStageDup()
1255 if (NewMPE == NULL) return NULL; in cmsStageDup()
1257 NewMPE ->Implements = mpe ->Implements; in cmsStageDup()
1261 NewMPE ->Data = mpe ->DupElemPtr(mpe); in cmsStageDup()
1263 if (NewMPE->Data == NULL) { in cmsStageDup()
1265 cmsStageFree(NewMPE); in cmsStageDup()
1271 NewMPE ->Data = NULL; in cmsStageDup()
1274 return NewMPE; in cmsStageDup()
1459 cmsStage *NewMPE, *Anterior = NULL, *mpe; in cmsPipelineDup() local
1471 NewMPE = cmsStageDup(mpe); in cmsPipelineDup()
1473 if (NewMPE == NULL) { in cmsPipelineDup()
1479 NewLUT ->Elements = NewMPE; in cmsPipelineDup()
1484 Anterior ->Next = NewMPE; in cmsPipelineDup()
1487 Anterior = NewMPE; in cmsPipelineDup()