Convert RGB image format to YUV.
YUV images in dcv are organized in the same buffer plane where quantity of luma and chroma values are the same (as in YUV444 format).
Input RGB image.
Optional pre-allocated buffer. If given, has to be of same shape as input image, otherwise gets reallocated.
Resulting YUV image slice.
Note: Input and pre-allocated slices' strides must be identical.
See Implementation
Convert RGB image format to YUV.
YUV images in dcv are organized in the same buffer plane where quantity of luma and chroma values are the same (as in YUV444 format).