Style cleanup in OCIO area

Also fixed typo in function name.
This commit is contained in:
Sergey Sharybin
2013-01-08 20:55:07 +00:00
parent bb0319022d
commit f5317b5f0c
5 changed files with 15 additions and 15 deletions

View File

@@ -243,7 +243,7 @@ OCIO_PackedImageDesc *OCIO_createOCIO_PackedImageDesc(float *data, long width, l
return impl->createOCIO_PackedImageDesc(data, width, height, numChannels, chanStrideBytes, xStrideBytes, yStrideBytes); return impl->createOCIO_PackedImageDesc(data, width, height, numChannels, chanStrideBytes, xStrideBytes, yStrideBytes);
} }
void OCIO_OCIO_PackedImageDescRelease(OCIO_PackedImageDesc* id) void OCIO_PackedImageDescRelease(OCIO_PackedImageDesc* id)
{ {
impl->OCIO_PackedImageDescRelease(id); impl->OCIO_PackedImageDescRelease(id);
} }

View File

@@ -107,7 +107,7 @@ void OCIO_displayTransformRelease(OCIO_DisplayTransformRcPtr *dt);
OCIO_PackedImageDesc *OCIO_createOCIO_PackedImageDesc(float *data, long width, long height, long numChannels, OCIO_PackedImageDesc *OCIO_createOCIO_PackedImageDesc(float *data, long width, long height, long numChannels,
long chanStrideBytes, long xStrideBytes, long yStrideBytes); long chanStrideBytes, long xStrideBytes, long yStrideBytes);
void OCIO_OCIO_PackedImageDescRelease(OCIO_PackedImageDesc *p); void OCIO_PackedImageDescRelease(OCIO_PackedImageDesc *p);
OCIO_ExponentTransformRcPtr *OCIO_createExponentTransform(void); OCIO_ExponentTransformRcPtr *OCIO_createExponentTransform(void);
void OCIO_exponentTransformSetValue(OCIO_ExponentTransformRcPtr *et, const float *exponent); void OCIO_exponentTransformSetValue(OCIO_ExponentTransformRcPtr *et, const float *exponent);

View File

@@ -1598,7 +1598,7 @@ void IMB_colormanagement_colorspace_to_scene_linear(float *buffer, int width, in
else else
OCIO_processorApply(processor, img); OCIO_processorApply(processor, img);
OCIO_OCIO_PackedImageDescRelease(img); OCIO_PackedImageDescRelease(img);
} }
} }
@@ -2545,7 +2545,7 @@ void IMB_colormanagement_processor_apply(ColormanageProcessor *cm_processor, flo
else else
OCIO_processorApply(cm_processor->processor, img); OCIO_processorApply(cm_processor->processor, img);
OCIO_OCIO_PackedImageDescRelease(img); OCIO_PackedImageDescRelease(img);
} }
} }