You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** @brief ColorFormat for the frame returned by VideoReader::nextFrame()/VideoReader::retrieve() or used to initialize a VideoWriter.
79
97
*/
80
-
enumCOLOR_FORMAT_VW {
98
+
enumclassColorFormat {
81
99
UNDEFINED = 0,
82
-
BGR = 1, //!< Default OpenCV color format.
83
-
RGB = 2,
84
-
BGRA = 3,
85
-
RGBA = 4,
86
-
GRAY = 5,
87
-
88
-
NV_NV12 = 6, //!< Nvidia Buffer Format - Semi-Planar YUV [Y plane followed by interleaved UV plane].
89
-
NV_YV12 = 7, //!< Nvidia Buffer Format - Planar YUV [Y plane followed by V and U planes].
90
-
NV_IYUV = 8, //!< Nvidia Buffer Format - Planar YUV [Y plane followed by U and V planes].
91
-
NV_YUV444 = 9, //!< Nvidia Buffer Format - Planar YUV [Y plane followed by U and V planes].
92
-
NV_AYUV = 10//!< Nvidia Buffer Format - 8 bit Packed A8Y8U8V8. This is a word-ordered format where a pixel is represented by a 32-bit word with V in the lowest 8 bits, U in the next 8 bits, Y in the 8 bits after that and A in the highest 8 bits.
100
+
BGRA = 1, //!< OpenCV color format, can be used with both VideoReader and VideoWriter.
101
+
BGR = 2, //!< OpenCV color format, can be used with both VideoReader and VideoWriter.
102
+
GRAY = 3, //!< OpenCV color format, can be used with both VideoReader and VideoWriter.
103
+
NV_NV12 = 4, //!< Nvidia color format - equivalent to YUV - Semi-Planar YUV [Y plane followed by interleaved UV plane], can be used with both VideoReader and VideoWriter.
104
+
105
+
RGB = 5, //!< OpenCV color format, can only be used with VideoWriter.
106
+
RGBA = 6, //!< OpenCV color format, can only be used with VideoWriter.
107
+
NV_YV12 = 8, //!< Nvidia Buffer Format - Planar YUV [Y plane followed by V and U planes], use with VideoReader, can only be used with VideoWriter.
108
+
NV_IYUV = 9, //!< Nvidia Buffer Format - Planar YUV [Y plane followed by U and V planes], use with VideoReader, can only be used with VideoWriter.
109
+
NV_YUV444 = 10, //!< Nvidia Buffer Format - Planar YUV [Y plane followed by U and V planes], use with VideoReader, can only be used with VideoWriter.
110
+
NV_AYUV = 11, //!< Nvidia Buffer Format - 8 bit Packed A8Y8U8V8. This is a word-ordered format where a pixel is represented by a 32-bit word with V in the lowest 8 bits, U in the next 8 bits, Y in the 8 bits after that and A in the highest 8 bits, can only be used with VideoWriter.
0 commit comments