15class ColorSpaceProcessor;
23 const char *file_colorspace,
24 const char *file_format,
35 const size_t num_pixels,
37 bool compress_as_srgb,
43 static ColorSpaceProcessor *
get_processor(ustring colorspace);
44 static void to_scene_linear(ColorSpaceProcessor *processor,
float *pixel,
const int channels);
56 static void is_builtin_colorspace(ustring colorspace,
bool &is_scene_linear,
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, const size_t num_pixels, bool is_rgba, bool compress_as_srgb, bool ignore_alpha)
static void free_memory()
static ColorSpaceProcessor * get_processor(ustring colorspace)
static void init_fallback_config()
CCL_NAMESPACE_BEGIN ustring u_colorspace_auto
#define CCL_NAMESPACE_END
ustring u_colorspace_srgb