Solved: Dear all: 本人在使用imx8mq mipi csi2接口采集图像,sensor是 ov5640相机,使用的bsp是4.14.98-imx_4.14.98_2.0.0_ga,编写测试程序测试yuyv
if ( sizeof(unsigned int)!=4 ) { fprintf(stderr,"YUYVY_Implementation ERROR unsigned int not 4 bytes long!!\n"); } return 1; } int DecodePixels(int webcam_id) { if ( camera_feeds[webcam_id].frame_decoded==0) { /*THIS FRAME HASN`T BEEN DECODED YET!*/ int i=Convert2RGB24...
AV_PIX_FMT_YUV420P14LE, ///< planar YUV 4:2:0,21bpp, (1 Cr & Cb sample per 2x2 Y samples), little-endian AV_PIX_FMT_YUV422P12BE, ///< planar YUV 4:2:2,24bpp, (1 Cr & Cb sample per 2x1 Y samples), big-endian AV_PIX_FMT_YUV422P12LE, ///< planar YUV 4:2:2...