mirror of https://git.ffmpeg.org/ffmpeg.git
imgconvert-test: add avg bits per pixel
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
0efa240f2b
commit
ad9333d5ef
|
@ -982,7 +982,7 @@ int main(void){
|
||||||
AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(i);
|
AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(i);
|
||||||
if(!desc)
|
if(!desc)
|
||||||
continue;
|
continue;
|
||||||
av_log(0, AV_LOG_INFO, "pix fmt %s %d\n", desc->name, is_yuv_planar(i));
|
av_log(0, AV_LOG_INFO, "pix fmt %s yuv_plan:%d avg_bpp:%d\n", desc->name, is_yuv_planar(i), avg_bits_per_pixel(i));
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue