diff avcodec.h @ 286:91f7c38f5f37 libavcodec

statistics for 2-pass encoding
author michaelni
date Sat, 23 Mar 2002 17:43:30 +0000
parents 5c7fdbecfa97
children 944632089814
line wrap: on
line diff
--- a/avcodec.h	Sat Mar 23 13:00:08 2002 +0000
+++ b/avcodec.h	Sat Mar 23 17:43:30 2002 +0000
@@ -145,6 +145,17 @@
     float psnr_y;
     float psnr_cb;
     float psnr_cr;
+    
+    /* statistics, used for 2-pass encoding */
+    int mv_bits;
+    int header_bits;
+    int i_tex_bits;
+    int p_tex_bits;
+    int i_count;
+    int p_count;
+    int skip_count;
+    int misc_bits; // cbp, mb_type
+    int frame_bits;
                  
     /* the following fields are ignored */
     void *opaque;   /* can be used to carry app specific stuff */