2019年8月8日

opencv yuvNV21转RGB

摘要: void yuv420Torgb() { FILE *fp = fopen("D:\\1.yuv","rb"); int width = 4032; int height = 3000; uchar *yuvdata = new uchar[height * 3 / 2 * width * sizeof(uchar)]; fread(yuvdata, height * 3 / 2, widt... 阅读全文

posted @ 2019-08-08 16:12 Maddock 阅读(4282) 评论(0) 推荐(0) 编辑

导航