enum ov_color_format_e¶
Overview¶
This enum contains enumerations for color format. More…
#include <ov_prepostprocess.h>
enum ov_color_format_e
{
UNDEFINE = 0U,
NV12_SINGLE_PLANE,
NV12_TWO_PLANES,
I420_SINGLE_PLANE,
I420_THREE_PLANES,
RGB,
BGR,
RGBX,
BGRX,
};
Detailed Documentation¶
This enum contains enumerations for color format.
Enum Values¶
UNDEFINE
Undefine color format.
NV12_SINGLE_PLANE
Image in NV12 format as single tensor.
NV12_TWO_PLANES
Image in NV12 format represented as separate tensors for Y and UV planes.
I420_SINGLE_PLANE
Image in I420 (YUV) format as single tensor.
I420_THREE_PLANES
Image in I420 format represented as separate tensors for Y, U and V planes.
RGB
Image in RGB interleaved format (3 channels)
BGR
Image in BGR interleaved format (3 channels)
RGBX
Image in RGBX interleaved format (4 channels)
BGRX
Image in BGRX interleaved format (4 channels)