图像frame大小计算

bpl = format->bpp*fmt->fmt.pix.with / 8;
imagesize = bpl ? bpl * fmt->fmt.pix.height:fmt->fmt.pix.sizeimage;

一勤天下无难事。
原文地址:https://www.cnblogs.com/nowroot/p/14163316.html