|
Blender
V2.93
|
Contains defines and structs used throughout the imbuf module. More...
#include "DNA_vec_types.h"Go to the source code of this file.
Classes | |
| struct | DDSData |
| struct | ImbFormatOptions |
| struct | ImBuf |
Macros | |
| #define | IMB_MIPMAP_LEVELS 20 |
| #define | IMB_FILENAME_SIZE 1024 |
| #define | IMB_FTYPE_NONE 0 |
| #define | OPENEXR_HALF (1 << 8) |
| #define | OPENEXR_COMPRESS (15) |
| #define | PNG_16BIT (1 << 10) |
| #define | RAWTGA 1 |
Imbuf preset profile tags | |
Some predefined color space profiles that 8 bit imbufs can represent | |
| #define | IB_PROFILE_NONE 0 |
| #define | IB_PROFILE_LINEAR_RGB 1 |
| #define | IB_PROFILE_SRGB 2 |
| #define | IB_PROFILE_CUSTOM 3 |
Typedefs | |
| typedef struct DDSData | DDSData |
| typedef struct ImbFormatOptions | ImbFormatOptions |
| typedef struct ImBuf | ImBuf |
Enumerations | |
| enum | eImbFileType { IMB_FTYPE_PNG = 1 , IMB_FTYPE_TGA = 2 , IMB_FTYPE_JPG = 3 , IMB_FTYPE_BMP = 4 , IMB_FTYPE_OPENEXR = 5 , IMB_FTYPE_IMAGIC = 6 } |
| enum | { IB_BITMAPDIRTY = (1 << 1) , IB_MIPMAP_INVALID = (1 << 2) , IB_RECT_INVALID = (1 << 3) , IB_DISPLAY_BUFFER_INVALID = (1 << 4) , IB_PERSISTENT = (1 << 5) } |
| userflags: Flags used internally by blender for imagebuffers More... | |
Imbuf Color Management Flag | |
Used with ImBuf.colormanage_flag | |
| enum | { IMB_COLORMANAGE_IS_DATA = (1 << 0) } |
Variables | |
| const char * | imb_ext_image [] |
| const char * | imb_ext_movie [] |
| const char * | imb_ext_audio [] |
| const char * | imb_ext_image_filepath_only [] |
Imbuf Component flags | |
These flags determine the components of an ImBuf struct. | |
| enum | eImBufFlags { IB_rect = 1 << 0 , IB_test = 1 << 1 , IB_zbuf = 1 << 3 , IB_mem = 1 << 4 , IB_rectfloat = 1 << 5 , IB_zbuffloat = 1 << 6 , IB_multilayer = 1 << 7 , IB_metadata = 1 << 8 , IB_animdeinterlace = 1 << 9 , IB_tiles = 1 << 10 , IB_tilecache = 1 << 11 , IB_alphamode_premul = 1 << 12 , IB_alphamode_detect = 1 << 13 , IB_alphamode_channel_packed = 1 << 14 , IB_alphamode_ignore = 1 << 15 , IB_thumbnail = 1 << 16 , IB_multiview = 1 << 17 , IB_halffloat = 1 << 18 } |
| typedef enum eImBufFlags | eImBufFlags |
Contains defines and structs used throughout the imbuf module.
Types needed for using the image buffer.
Imbuf is external code, slightly adapted to live in the Blender context. It requires an external jpeg module, and the avi-module (also external code) in order to function correctly.
This file contains types and some constants that go with them. Most are self-explanatory (e.g. IS_amiga tests whether the buffer contains an Amiga-format file).
Definition in file IMB_imbuf_types.h.
| #define IB_PROFILE_CUSTOM 3 |
Definition at line 312 of file IMB_imbuf_types.h.
| #define IB_PROFILE_LINEAR_RGB 1 |
Definition at line 310 of file IMB_imbuf_types.h.
| #define IB_PROFILE_NONE 0 |
Definition at line 309 of file IMB_imbuf_types.h.
| #define IB_PROFILE_SRGB 2 |
Definition at line 311 of file IMB_imbuf_types.h.
| #define IMB_FILENAME_SIZE 1024 |
Definition at line 45 of file IMB_imbuf_types.h.
| #define IMB_FTYPE_NONE 0 |
Definition at line 102 of file IMB_imbuf_types.h.
| #define IMB_MIPMAP_LEVELS 20 |
Definition at line 44 of file IMB_imbuf_types.h.
| #define OPENEXR_COMPRESS (15) |
Definition at line 109 of file IMB_imbuf_types.h.
| #define OPENEXR_HALF (1 << 8) |
Definition at line 107 of file IMB_imbuf_types.h.
| #define PNG_16BIT (1 << 10) |
Definition at line 128 of file IMB_imbuf_types.h.
| #define RAWTGA 1 |
Definition at line 130 of file IMB_imbuf_types.h.
| typedef enum eImBufFlags eImBufFlags |
| typedef struct ImbFormatOptions ImbFormatOptions |
| anonymous enum |
userflags: Flags used internally by blender for imagebuffers
Definition at line 291 of file IMB_imbuf_types.h.
| anonymous enum |
| Enumerator | |
|---|---|
| IMB_COLORMANAGE_IS_DATA | |
Definition at line 349 of file IMB_imbuf_types.h.
| enum eImBufFlags |
Definition at line 152 of file IMB_imbuf_types.h.
|
extern |
Definition at line 102 of file util.c.
Referenced by ED_path_extension_type().
|
extern |
Definition at line 60 of file util.c.
Referenced by do_add_image_extension(), ED_path_extension_type(), and studiolight_add_file().
|
extern |
Definition at line 86 of file util.c.
Referenced by imb_is_filepath_format().
|
extern |
Definition at line 95 of file util.c.
Referenced by BKE_image_load(), ED_path_extension_type(), and image_replace_exec().