Changeset View
Changeset View
Standalone View
Standalone View
source/blender/imbuf/IMB_imbuf_types.h
| Show First 20 Lines • Show All 61 Lines • ▼ Show 20 Lines | |||||
| * This is the abstraction of an image. ImBuf is the basic type used for all | * This is the abstraction of an image. ImBuf is the basic type used for all | ||||
| * imbuf operations. | * imbuf operations. | ||||
| * | * | ||||
| * Also; add new variables to the end to save pain! | * Also; add new variables to the end to save pain! | ||||
| * | * | ||||
| */ | */ | ||||
| /* ibuf->ftype flag, main image types */ | /* ibuf->ftype flag, main image types */ | ||||
| /* Warning: Keep explicit value assignements here, this file is included in areas where not all format defines | /* Warning: Keep explicit value assignments here, this file is included in areas where not all format defines | ||||
| * are set (e.g. intern/dds only get WITH_DDS, even if TIFF, HDR etc are also defined). See T46524. */ | * are set (e.g. intern/dds only get WITH_DDS, even if TIFF, HDR etc are also defined). See T46524. */ | ||||
| enum eImbTypes { | enum eImbTypes { | ||||
| IMB_FTYPE_PNG = 1, | IMB_FTYPE_PNG = 1, | ||||
| IMB_FTYPE_TGA = 2, | IMB_FTYPE_TGA = 2, | ||||
| IMB_FTYPE_JPG = 3, | IMB_FTYPE_JPG = 3, | ||||
| IMB_FTYPE_BMP = 4, | IMB_FTYPE_BMP = 4, | ||||
| IMB_FTYPE_OPENEXR = 5, | IMB_FTYPE_OPENEXR = 5, | ||||
| IMB_FTYPE_IMAGIC = 6, | IMB_FTYPE_IMAGIC = 6, | ||||
| ▲ Show 20 Lines • Show All 170 Lines • ▼ Show 20 Lines | |||||
| #define IB_zbuffloat (1 << 6) | #define IB_zbuffloat (1 << 6) | ||||
| #define IB_multilayer (1 << 7) | #define IB_multilayer (1 << 7) | ||||
| #define IB_metadata (1 << 8) | #define IB_metadata (1 << 8) | ||||
| #define IB_animdeinterlace (1 << 9) | #define IB_animdeinterlace (1 << 9) | ||||
| #define IB_tiles (1 << 10) | #define IB_tiles (1 << 10) | ||||
| #define IB_tilecache (1 << 11) | #define IB_tilecache (1 << 11) | ||||
| #define IB_alphamode_premul (1 << 12) /* indicates whether image on disk have premul alpha */ | #define IB_alphamode_premul (1 << 12) /* indicates whether image on disk have premul alpha */ | ||||
| #define IB_alphamode_detect (1 << 13) /* if this flag is set, alpha mode would be guessed from file */ | #define IB_alphamode_detect (1 << 13) /* if this flag is set, alpha mode would be guessed from file */ | ||||
| #define IB_ignore_alpha (1 << 14) /* ignore alpha on load and substitude it with 1.0f */ | #define IB_ignore_alpha (1 << 14) /* ignore alpha on load and substitute it with 1.0f */ | ||||
| #define IB_thumbnail (1 << 15) | #define IB_thumbnail (1 << 15) | ||||
| #define IB_multiview (1 << 16) | #define IB_multiview (1 << 16) | ||||
| /** \} */ | /** \} */ | ||||
| /** | /** | ||||
| * \name Imbuf preset profile tags | * \name Imbuf preset profile tags | ||||
| * \brief Some predefined color space profiles that 8 bit imbufs can represent | * \brief Some predefined color space profiles that 8 bit imbufs can represent | ||||
| ▲ Show 20 Lines • Show All 51 Lines • Show Last 20 Lines | |||||