diff mpegvideo.h @ 286:91f7c38f5f37 libavcodec

statistics for 2-pass encoding
author michaelni
date Sat, 23 Mar 2002 17:43:30 +0000
parents 1fc96b02142e
children f82cce6cb182
line wrap: on
line diff
--- a/mpegvideo.h	Sat Mar 23 13:00:08 2002 +0000
+++ b/mpegvideo.h	Sat Mar 23 17:43:30 2002 +0000
@@ -178,6 +178,17 @@
     double short_term_qsum;   /* sum of recent qscales */
     double short_term_qcount; /* count of recent qscales */
 
+    /* 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 last_bits; //temp var used for calculating the above vars
+
     /* H.263 specific */
     int gob_number;
     int gob_index;