rgb24_to_rgb565(dest_buffers, rgb565_buffers);//rgb24 -> rgb565 ret = fwrite(yuyv_buffers0[buf.index].start, yuyv_buffers0[buf.index].length, 1, file_fd);//将摄像头采集得到的yuyv数据写入文件中 if(ret <= 0){ printf("write yuyv failed!\n"); exit(-1); } rgb_to_bmp(rgb565_bu...
exit(-1); } ret = fwrite(yuyv_buffers0[buf.index].start, yuyv_buffers0[buf.index].length, 1, file_fd);//将摄像头采集得到的yuyv数据写入文件中 if(ret <= 0){ printf("write yuyv failed!\n"); exit(-1); } 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11...