28 #define IMB_MIPMAP_LEVELS 20
29 #define IMB_FILENAME_SIZE 1024
62 #ifdef WITH_OPENIMAGEIO
75 IMB_FTYPE_CINEON = 11,
88 #define IMB_FTYPE_NONE 0
93 #define OPENEXR_HALF (1 << 8)
95 #define OPENEXR_COMPRESS (15)
98 # define CINEON_LOG (1 << 8)
99 # define CINEON_16BIT (1 << 7)
100 # define CINEON_12BIT (1 << 6)
101 # define CINEON_10BIT (1 << 5)
105 # define JP2_12BIT (1 << 9)
106 # define JP2_16BIT (1 << 8)
107 # define JP2_YCC (1 << 7)
108 # define JP2_CINE (1 << 6)
109 # define JP2_CINE_48FPS (1 << 5)
110 # define JP2_JP2 (1 << 4)
111 # define JP2_J2K (1 << 3)
114 #define PNG_16BIT (1 << 10)
119 # define TIF_16BIT (1 << 8)
120 # define TIF_COMPRESS_NONE (1 << 7)
121 # define TIF_COMPRESS_DEFLATE (1 << 6)
122 # define TIF_COMPRESS_LZW (1 << 5)
123 # define TIF_COMPRESS_PACKBITS (1 << 4)
302 #define IB_PROFILE_NONE 0
303 #define IB_PROFILE_LINEAR_RGB 1
304 #define IB_PROFILE_SRGB 2
305 #define IB_PROFILE_CUSTOM 3
311 # ifndef DDS_MAKEFOURCC
312 # define DDS_MAKEFOURCC(ch0, ch1, ch2, ch3) \
313 ((unsigned long)(unsigned char)(ch0) | ((unsigned long)(unsigned char)(ch1) << 8) | \
314 ((unsigned long)(unsigned char)(ch2) << 16) | ((unsigned long)(unsigned char)(ch3) << 24))
321 # define FOURCC_DDS (DDS_MAKEFOURCC('D', 'D', 'S', ' '))
322 # define FOURCC_DXT1 (DDS_MAKEFOURCC('D', 'X', 'T', '1'))
323 # define FOURCC_DXT2 (DDS_MAKEFOURCC('D', 'X', 'T', '2'))
324 # define FOURCC_DXT3 (DDS_MAKEFOURCC('D', 'X', 'T', '3'))
325 # define FOURCC_DXT4 (DDS_MAKEFOURCC('D', 'X', 'T', '4'))
326 # define FOURCC_DXT5 (DDS_MAKEFOURCC('D', 'X', 'T', '5'))
@ IMB_COLORMANAGE_IS_DATA
@ IB_DISPLAY_BUFFER_INVALID
const char * imb_ext_image_filepath_only[]
struct ImbFormatOptions ImbFormatOptions
const char * imb_ext_movie[]
#define IMB_FILENAME_SIZE
#define IMB_MIPMAP_LEVELS
const char * imb_ext_audio[]
@ IB_alphamode_channel_packed
const char * imb_ext_image[]
struct IDProperty * metadata
struct MEM_CacheLimiterHandle_s * c_handle
struct ImBuf * mipmap[IMB_MIPMAP_LEVELS]
struct ColorSpace * rect_colorspace
ImbFormatOptions foptions
unsigned char * encodedbuffer
unsigned int encodedbuffersize
char name[IMB_FILENAME_SIZE]
char cachename[IMB_FILENAME_SIZE]
struct ColorSpace * float_colorspace
unsigned int * display_buffer_flags
struct ColormanageCache * colormanage_cache