void grayscale_opencv_to_yuv422(cv::Mat image, char *img, int width, int height)
Converts cv::Mat with one to a YUV422 image.
void colorbgr_opencv_to_yuv422(cv::Mat image, char *img, int width, int height)
Converts cv::Mat with three channels to a YUV422 image.
void coloryuv_opencv_to_yuv422(cv::Mat image, char *img, int width, int height)
Converts cv::Mat with three channels YUV to a YUV422 image.