ImageFormatString

Description

Maps an ImageFormat enumerated value to its corresponding character string.

Structure Definition

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
static const std::map<ImageFormat, std::string> IMAGE_FORMAT_STRING = {
    {ImageFormat::YUV_400, "YUV_400"},
    {ImageFormat::YUV_SP_420, "YUV_SP_420"},
    {ImageFormat::YVU_SP_420, "YVU_SP_420"},
    {ImageFormat::YUV_SP_422, "YUV_SP_422"},
    {ImageFormat::YVU_SP_422, "YVU_SP_422"},
    {ImageFormat::YUV_SP_444, "YUV_SP_444"},
    {ImageFormat::YVU_SP_444, "YVU_SP_444"},
    {ImageFormat::YUYV_PACKED_422, "YUYV_PACKED_422"},
    {ImageFormat::UYVY_PACKED_422, "UYVY_PACKED_422"},
    {ImageFormat::YVYU_PACKED_422, "YVYU_PACKED_422"},
    {ImageFormat::VYUY_PACKED_422, "VYUY_PACKED_422"},
    {ImageFormat::YUV_PACKED_444, "YUV_PACKED_444"},
    {ImageFormat::RGB_888, "RGB_888"},
    {ImageFormat::BGR_888, "BGR_888"},
    {ImageFormat::ARGB_8888, "ARGB_8888"},
    {ImageFormat::ABGR_8888, "ABGR_8888"},
    {ImageFormat::RGBA_8888, "RGBA_8888"},
    {ImageFormat::BGRA_8888, "BGRA_8888"},
};

Parameters

Parameter

Description

ImageFormat::YUV_400, "YUV_400"

Mapping between the enumerated value of the YUV_400 image and its character string.

ImageFormat::YUV_SP_420, "YUV_SP_420"

Mapping between the enumerated value of the YUV_SP_420 image and its character string.

ImageFormat::YVU_SP_420, "YVU_SP_420"

Mapping between the enumerated value of the YVU_SP_420 image and its character string.

ImageFormat::YUV_SP_422, "YUV_SP_422"

Mapping between the enumerated value of the YUV_SP_422 image and its character string.

ImageFormat::YVU_SP_422, "YVU_SP_422"

Mapping between the enumerated value of the YVU_SP_422 image and its character string.

ImageFormat::YUV_SP_444, "YUV_SP_444"

Mapping between the enumerated value of the YUV_SP_444 image and its character string.

ImageFormat::YVU_SP_444, "YVU_SP_444"

Mapping between the enumerated value of the YVU_SP_444 image and its character string.

ImageFormat::YUYV_PACKED_422, "YUYV_PACKED_422"

Mapping between the enumerated value of the YUYV_PACKED_422 image and its character string.

ImageFormat::UYVY_PACKED_422, "UYVY_PACKED_422"

Mapping between the enumerated value of the UYVY_PACKED_422 image and its character string.

ImageFormat::YVYU_PACKED_422, "YVYU_PACKED_422"

Mapping between the enumerated value of the YVYU_PACKED_422 image and its character string.

ImageFormat::VYUY_PACKED_422, "VYUY_PACKED_422"

Mapping between the enumerated value of the VYUY_PACKED_422 image and its character string.

ImageFormat::YUV_PACKED_444, "YUV_PACKED_444"

Mapping between the enumerated value of the YUV_PACKED_444 image and its character string.

ImageFormat::RGB_888, "RGB_888"

Mapping between the enumerated value of the RGB_888 image and its character string.

ImageFormat::BGR_888, "BGR_888"

Mapping between the enumerated value of the BGR_888 image and its character string.

ImageFormat::ARGB_8888, "ARGB_8888"

Mapping between the enumerated value of the ARGB_8888 image and its character string.

ImageFormat::ABGR_8888, "ABGR_8888"

Mapping between the enumerated value of the ABGR_8888 image and its character string.

ImageFormat::RGBA_8888, "RGBA_8888"

Mapping between the enumerated value of the RGBA_8888 image and its character string.

ImageFormat::BGRA_8888, "BGRA_8888"

Mapping between the enumerated value of the BGRA_8888 image and its character string.