Color management: code cleanup
This commit is contained in:
@@ -396,11 +396,6 @@ void IMB_buffer_float_clamp(float *buf, int width, int height);
|
||||
|
||||
typedef void (*imb_tonecurveCb) (float rgbOut[3], const float rgbIn[3]);
|
||||
|
||||
void IMB_buffer_float_from_float_tonecurve(float *rect_to, const float *rect_from,
|
||||
int channels_from, int profile_to, int profile_from, int predivide,
|
||||
int width, int height, int stride_to, int stride_from,
|
||||
imb_tonecurveCb tonecurve_func);
|
||||
|
||||
void IMB_buffer_byte_from_float_tonecurve(unsigned char *rect_to, const float *rect_from,
|
||||
int channels_from, float dither, int profile_to, int profile_from, int predivide,
|
||||
int width, int height, int stride_to, int stride_from,
|
||||
|
||||
@@ -128,7 +128,6 @@ typedef struct ImBuf {
|
||||
unsigned int encodedbuffersize; /* Size of encodedbuffer */
|
||||
|
||||
/* color management */
|
||||
unsigned int colormanagement_flags; /* flags filed used by color management rutines */
|
||||
unsigned int *display_buffer_flags; /* array of per-display display buffers dirty flags */
|
||||
struct ColormanageCache *colormanage_cache; /* cache used by color management */
|
||||
|
||||
@@ -259,11 +258,4 @@ extern const char *imb_ext_image_qt[];
|
||||
extern const char *imb_ext_movie[];
|
||||
extern const char *imb_ext_audio[];
|
||||
|
||||
/* imbuf->colormanagement_flags */
|
||||
|
||||
/* special flag for image buffers used in sequencer, which stores all
|
||||
* images in display space, even float buffers
|
||||
*/
|
||||
#define IMB_COLORMANAGEMENT_NONLINEAR_FLOAT (1 << 0)
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user