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¶
UNDEFINEUndefine color format.
NV12_SINGLE_PLANEImage in NV12 format as single tensor.
NV12_TWO_PLANESImage in NV12 format represented as separate tensors for Y and UV planes.
I420_SINGLE_PLANEImage in I420 (YUV) format as single tensor.
I420_THREE_PLANESImage in I420 format represented as separate tensors for Y, U and V planes.
RGBImage in RGB interleaved format (3 channels)
BGRImage in BGR interleaved format (3 channels)
RGBXImage in RGBX interleaved format (4 channels)
BGRXImage in BGRX interleaved format (4 channels)