24.04
|
Go to the documentation of this file.
33 static std::map<Format, const std::string> formats_map = {
44 return formats_map[
format];
@ RGB888
3 channels, 1 U8 per channel
@ UNKNOWN
Unknown image format.
const std::string & string_from_format(Format format)
Convert a tensor format into a string.
@ UV88
2 channel, 1 U8 per channel
@ IYUV
A 3 plane of 8-bit 4:2:0 sampled Y, U, V planes.
@ RGBA8888
4 channels, 1 U8 per channel
@ U8
1 channel, 1 U8 per channel
Format
Image colour formats.
@ S32
1 channel, 1 S32 per channel
@ YUYV422
A single plane of 32-bit macro pixel of Y0, U0, Y1, V0 bytes.
@ YUV444
A 3 plane of 8 bit 4:4:4 sampled Y, U, V planes.
@ UYVY422
A single plane of 32-bit macro pixel of U0, Y0, V0, Y1 byte.
@ F32
1 channel, 1 F32 per channel
Copyright (c) 2017-2024 Arm Limited.
@ NV12
A 2 plane YUV format of Luma (Y) and interleaved UV data at 4:2:0 sampling.
@ F16
1 channel, 1 F16 per channel
@ S16
1 channel, 1 S16 per channel
@ NV21
A 2 plane YUV format of Luma (Y) and interleaved VU data at 4:2:0 sampling.
@ U32
1 channel, 1 U32 per channel
@ U16
1 channel, 1 U16 per channel