|
Blender V5.0
|
Go to the source code of this file.
Namespaces | |
| namespace | blender |
| namespace | blender::ocio |
Macros | |
| #define | MAX_COLORSPACE_NAME 64 |
Functions | |
| void | colormanagement_init () |
| void | colormanagement_exit () |
| void | colormanage_cache_free (ImBuf *ibuf) |
| const ColorSpace * | colormanage_colorspace_get_named (const char *name) |
| const ColorSpace * | colormanage_colorspace_get_roled (int role) |
| void | colormanage_imbuf_set_default_spaces (ImBuf *ibuf) |
| void | colormanage_imbuf_make_linear (ImBuf *ibuf, const char *from_colorspace, ColorManagedFileOutput output) |
| #define MAX_COLORSPACE_NAME 64 |
Definition at line 21 of file IMB_colormanagement_intern.hh.
Referenced by colormanage_role_color_space_name_get().
| void colormanage_cache_free | ( | ImBuf * | ibuf | ) |
Definition at line 744 of file colormanagement.cc.
References ImBuf::colormanage_cache, colormanage_cachedata_get(), colormanage_moviecache_get(), ImBuf::display_buffer_flags, IMB_moviecache_free(), MEM_freeN(), and MEM_SAFE_FREE.
Referenced by IMB_freeImBuf().
| const ColorSpace * colormanage_colorspace_get_named | ( | const char * | name | ) |
Definition at line 3181 of file colormanagement.cc.
References g_config, and name.
Referenced by colormanage_colorspace_get_roled(), IMB_colormanagement_colorspace_get_named_index(), IMB_colormanagement_imbuf_for_write(), and imb_handle_colorspace_and_alpha().
| const ColorSpace * colormanage_colorspace_get_roled | ( | int | role | ) |
Definition at line 3186 of file colormanagement.cc.
References colormanage_colorspace_get_named(), and IMB_colormanagement_role_colorspace_name_get().
Referenced by IMB_save_image().
| void colormanage_imbuf_make_linear | ( | ImBuf * | ibuf, |
| const char * | from_colorspace, | ||
| ColorManagedFileOutput | output ) |
Definition at line 875 of file colormanagement.cc.
References ImBuf::byte_buffer, blender::StringRefNull::c_str(), ImBuf::channels, ImBuf::colormanage_flag, ImBufFloatBuffer::colorspace, ImBufByteBuffer::data, ImBufFloatBuffer::data, ImBuf::float_buffer, g_config, global_role_scene_linear, IMB_alpha_affects_rgb(), IMB_COLORMANAGE_IS_DATA, IMB_colormanagement_transform_float(), IMB_free_byte_pixels(), blender::ocio::ColorSpace::is_data(), blender::ocio::ColorSpace::name(), output, Video, ImBuf::x, and ImBuf::y.
Referenced by imb_handle_colorspace_and_alpha().
| void colormanage_imbuf_set_default_spaces | ( | ImBuf * | ibuf | ) |
Definition at line 864 of file colormanagement.cc.
References ImBuf::byte_buffer, ImBufByteBuffer::colorspace, g_config, and global_role_default_byte.
Referenced by IMB_initImBuf().
| void colormanagement_exit | ( | ) |
Definition at line 676 of file colormanagement.cc.
References colormanage_free_config(), global_color_picking_state, and global_gpu_state.
Referenced by IMB_exit().
| void colormanagement_init | ( | ) |
Definition at line 618 of file colormanagement.cc.
References BCM_CONFIG_FILE, BKE_appdir_folder_id(), BLENDER_DATAFILES, BLI_getenv(), BLI_init_srgb_conversion(), BLI_path_join, BLI_setenv(), CLOG_ERROR, CLOG_INFO_NOCHECK, CLOG_STR_INFO_NOCHECK, colormanage_free_config(), colormanage_load_config(), blender::ocio::Config::create_fallback(), blender::ocio::Config::create_from_environment(), blender::ocio::Config::create_from_file(), FILE_MAX, g_config, g_config_is_custom, and LOG.
Referenced by IMB_init().