Blender V5.3
IMB_imbuf_enums.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2024 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#pragma once
6
7#include "BLI_enum_flags.hh"
8
12
13namespace blender {
14
15#define IM_MAX_SPACE 64
16
17enum class ImBufFlags {
18 Zero = 0,
19
24 ByteData = 1 << 0,
25 Test = 1 << 1,
30 FloatData = 1 << 5,
39 MultiLayer = 1 << 7,
40 Metadata = 1 << 8,
41 Deinterlace = 1 << 9,
49
51 AlphaPremul = 1 << 12,
53 AlphaDetect = 1 << 13,
57 AlphaIgnore = 1 << 15,
58 Thumbnail = 1 << 16,
64
67};
69
80#ifdef WITH_IMAGE_OPENJPEG
81 IMB_FTYPE_JP2 = 8,
82#endif
85#ifdef WITH_IMAGE_CINEON
86 IMB_FTYPE_CINEON = 11,
87 IMB_FTYPE_DPX = 12,
88#endif
89
91#ifdef WITH_IMAGE_WEBP
92 IMB_FTYPE_WEBP = 14,
93#endif
95};
96#define IMB_FTYPE_LAST IMB_FTYPE_AVIF
97
100 Zero = 0,
101 File = (1 << 0),
102 Memory = (1 << 1),
103};
105
116
117} // namespace blender
ENUM_OPERATORS(Layer::Flags)
BMesh Iterators.
unsigned char uint8_t
Definition BKE_text.h:79
signed char int8_t
Definition BKE_text.h:76