to convert nv21 to bmp ./yuv2rgb 320 240 nv21.yuv colorbar.bmp to generate nv21 colorbar file, go to make_yuv. ./nv21 320 240 nv21.yuv