imgconvert-test: add avg bits per pixel

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-11-21 16:14:25 +01:00
parent 0efa240f2b
commit ad9333d5ef
1 changed files with 1 additions and 1 deletions

View File

@ -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;
} }