Enum CudaVideoWriter.ColorFormat
Color format
public enum CudaVideoWriter.ColorFormat
Fields
Bgr = 2
OpenCV color format, can be used with both VideoReader and VideoWriter.
Bgra = 1
OpenCV color format, can be used with both VideoReader and VideoWriter.
Gray = 3
OpenCV color format, can be used with both VideoReader and VideoWriter.
NvAyuv = 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.
NvIyuv = 9
Nvidia Buffer Format - Planar YUV [Y plane followed by U and V planes], use with VideoReader, can only be used with VideoWriter.
NvNv12 = 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.
NvYuv444 = 10
Nvidia Buffer Format - Planar YUV [Y plane followed by U and V planes], use with VideoReader, can only be used with VideoWriter.
NvYv12 = 8
Nvidia Buffer Format - Planar YUV [Y plane followed by V and U planes], use with VideoReader, can only be used with VideoWriter.
Rgb = 5
OpenCV color format, can only be used with VideoWriter.
Rgba = 6
OpenCV color format, can only be used with VideoWriter.
Undefined = 0
Undefined