调用方法 int _tmain(int argc, _TCHAR* argv[]) { Bmp2YUV *bm = new Bmp2YUV(); // 张数 //文件夹及文件前缀 //输入YUV文件 长宽 bm->Init( 260, "../test/pic", "../123.yuv" ,352, 288); bm->EncodeBmpToYUV(); bm->Release(); delete bm; return 0; }