Enum ImageEncoding_t¶
Defined in File DlEnums.hpp
Enum Documentation¶
-
enum class DlSystem::ImageEncoding_t¶
Enumeration that lists the supported image encoding formats.
Values:
-
enumerator UNKNOWN = 0¶
For unknown image type. Also used as a default value for ImageEncoding_t.
-
enumerator RGB = 1¶
The RGB format consists of 3 bytes per pixel: one byte for Red, one for Green, and one for Blue. The byte ordering is endian independent and is always in RGB byte order.
-
enumerator ARGB32 = 2¶
The ARGB32 format consists of 4 bytes per pixel: one byte for Red, one for Green, one for Blue, and one for the alpha channel. The alpha channel is ignored. The byte ordering depends on the underlying CPU. For little endian CPUs, the byte order is BGRA. For big endian CPUs, the byte order is ARGB.
-
enumerator RGBA = 3¶
The RGBA format consists of 4 bytes per pixel: one byte for Red, one for Green, one for Blue, and one for the alpha channel. The alpha channel is ignored. The byte ordering is endian independent and is always in RGBA byte order.
-
enumerator GRAYSCALE = 4¶
The GRAYSCALE format is for 8-bit grayscale.
-
enumerator NV21 = 5¶
NV21 is the Android version of YUV. The Chrominance is down sampled and has a subsampling ratio of 4:2:0. Note that this image format has 3 channels, but the U and V channels are subsampled. For every four Y pixels there is one U and one V pixel.
-
enumerator BGR = 6¶
The BGR format consists of 3 bytes per pixel: one byte for Red, one for Green and one for Blue. The byte ordering is endian independent and is always BGR byte order.
-
enumerator UNKNOWN = 0¶