ImageFormat

Function

Image format, which is used to describe the decoded data format of the Image class.

Structure Definition

enum class ImageFormat {
    YUV_400 = 0,
    YUV_SP_420 = 1,
    YVU_SP_420 = 2,
    YUV_SP_422 = 3,
    YVU_SP_422 = 4,
    YUV_SP_444 = 5,
    YVU_SP_444 = 6,
    YUYV_PACKED_422 = 7,
    UYVY_PACKED_422 = 8,
    YVYU_PACKED_422 = 9,
    VYUY_PACKED_422 = 10,
    YUV_PACKED_444 = 11,
    RGB_888 = 12,
    BGR_888 = 13,
    ARGB_8888 = 14,
    ABGR_8888 = 15,
    RGBA_8888 = 16,
    BGRA_8888 = 17,
};

Parameter Description

Parameter

Description

YUV_400

Image in YUV_400 format

YUV_SP_420

Image in YUV_SP_420 format

YVU_SP_420

Image in YVU_SP_420 format

YUV_SP_422

Image in YUV_SP_422 format

YVU_SP_422

Image in YVU_SP_422 format

YUV_SP_444

Image in YUV_SP_444 format

YVU_SP_444

Image in YVU_SP_444 format

YUYV_PACKED_422

Image in YUYV_PACKED_422 format

UYVY_PACKED_422

Image in UYVY_PACKED_422 format

YVYU_PACKED_422

Image in YVYU_PACKED_422 format

VYUY_PACKED_422

Image in VYUY_PACKED_422 format

YUV_PACKED_444

Image in YUV_PACKED_444 format

RGB_888

Image in RGB_888 format

BGR_888

Image in BGR_888 format

ARGB_8888

Image in ARGB_8888 format

ABGR_8888

Image in ABGR_8888 format

RGBA_8888

Image in RGBA_8888 format

BGRA_8888

Image in BGRA_8888 format