[FFmpeg-cvslog] imgconvert-test: add avg bits per pixel

Michael Niedermayer git at videolan.org
Wed Nov 21 17:11:37 CET 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Nov 21 16:14:25 2012 +0100| [ad9333d5ef82f74dc470744f19f1350fabc93aa4] | committer: Michael Niedermayer

imgconvert-test: add avg bits per pixel

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ad9333d5ef82f74dc470744f19f1350fabc93aa4
---

 libavcodec/imgconvert.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/imgconvert.c b/libavcodec/imgconvert.c
index e79dacc..ac40adb 100644
--- a/libavcodec/imgconvert.c
+++ b/libavcodec/imgconvert.c
@@ -982,7 +982,7 @@ int main(void){
         AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(i);
         if(!desc)
             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;
 }



More information about the ffmpeg-cvslog mailing list