58#define OPENEXR_HALF (1 << 8)
59#define OPENEXR_MULTIPART (1 << 9)
61#define OPENEXR_CODEC_MASK (0xF)
63#ifdef WITH_IMAGE_CINEON
64# define CINEON_LOG (1 << 8)
65# define CINEON_16BIT (1 << 7)
66# define CINEON_12BIT (1 << 6)
67# define CINEON_10BIT (1 << 5)
70#ifdef WITH_IMAGE_OPENJPEG
71# define JP2_12BIT (1 << 9)
72# define JP2_16BIT (1 << 8)
73# define JP2_YCC (1 << 7)
74# define JP2_CINE (1 << 6)
75# define JP2_CINE_48FPS (1 << 5)
76# define JP2_JP2 (1 << 4)
77# define JP2_J2K (1 << 3)
80#define PNG_16BIT (1 << 10)
84#define TIF_16BIT (1 << 8)
85#define TIF_COMPRESS_NONE (1 << 7)
86#define TIF_COMPRESS_DEFLATE (1 << 6)
87#define TIF_COMPRESS_LZW (1 << 5)
88#define TIF_COMPRESS_PACKBITS (1 << 4)
90#define AVIF_10BIT (1 << 8)
91#define AVIF_12BIT (1 << 9)
93#define DDS_COMPRESSED_DXT1 (1 << 8)
94#define DDS_COMPRESSED_DXT3 (1 << 9)
95#define DDS_COMPRESSED_DXT5 (1 << 10)
150 std::atomic<gpu::Texture *>
texture =
nullptr;
246 double ppm[2] = {0.0, 0.0};
305 switch (this->color_mode) {
#define ENUM_OPERATORS(_enum_type)
#define BLI_assert_unreachable()
bool IMB_chan_id_is_color(StringRef chan_id)
const char * imb_ext_image[]
const char * imb_ext_audio[]
const char * imb_ext_movie[]
ImColorMode IMB_color_mode_from_channels(int channels)
BMesh const char void * data
ocio::ColorSpace ColorSpace
ImplicitSharingPtr sharing_info
ImplicitSharingPtr sharing_info
std::atomic< imbuf::ChangesetID > partial_update_changeset_id
std::atomic< gpu::Texture * > texture
ImbFormatOptions foptions
ImBufFloatBuffer float_buffer
ImBufByteBuffer byte_buffer
IDProperty * metadata_ptr
const ColorSpace & byte_colorspace() const
const uint8_t * byte_data() const
Mutex partial_update_mutex
uint8_t * byte_data_for_write()
std::atomic< imbuf::ChangesetID > full_update_changeset_id
IDProperty * metadata_for_write()
bool colorspace_is_data() const
ImplicitSharingPtr metadata_sharing_info
const IDProperty * metadata() const
const float * float_data() const
void assign_byte_data(uint8_t *data)
const ColorSpace & float_colorspace() const
float * float_data_for_write()
imbuf::partial_update::Tracker * partial_update
void assign_metadata(const IDProperty *metadata, ImplicitSharingPtr<> sharing_info)
bool can_contain_alpha() const
int color_mode_channels_get() const
void assign_float_data(float *data)