5#ifndef __COLORSPACE_H__
6#define __COLORSPACE_H__
17class ColorSpaceProcessor;
25 const char *file_colorspace,
26 const char *file_format,
36 ustring colorspace, T *pixels,
size_t num_pixels,
bool is_rgba,
bool compress_as_srgb);
41 static ColorSpaceProcessor *
get_processor(ustring colorspace);
42 static void to_scene_linear(ColorSpaceProcessor *processor,
float *pixel,
int channels);
54 static void is_builtin_colorspace(ustring colorspace,
bool &is_no_op,
bool &is_srgb);
static bool colorspace_is_data(ustring colorspace)
static ustring detect_known_colorspace(ustring colorspace, const char *file_colorspace, const char *file_format, bool is_float)
static void to_scene_linear(ustring colorspace, T *pixels, size_t num_pixels, bool is_rgba, bool compress_as_srgb)
static void free_memory()
static ColorSpaceProcessor * get_processor(ustring colorspace)
static void init_fallback_config()
ustring u_colorspace_srgb
CCL_NAMESPACE_BEGIN ustring u_colorspace_auto
#define CCL_NAMESPACE_END