comparison 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
comparison
equal deleted inserted replaced
285:39b78867b71f 286:91f7c38f5f37
175 Predictor p_pred; 175 Predictor p_pred;
176 double qsum; /* sum of qscales */ 176 double qsum; /* sum of qscales */
177 double qcount; /* count of qscales */ 177 double qcount; /* count of qscales */
178 double short_term_qsum; /* sum of recent qscales */ 178 double short_term_qsum; /* sum of recent qscales */
179 double short_term_qcount; /* count of recent qscales */ 179 double short_term_qcount; /* count of recent qscales */
180
181 /* statistics, used for 2-pass encoding */
182 int mv_bits;
183 int header_bits;
184 int i_tex_bits;
185 int p_tex_bits;
186 int i_count;
187 int p_count;
188 int skip_count;
189 int misc_bits; // cbp, mb_type
190 int last_bits; //temp var used for calculating the above vars
180 191
181 /* H.263 specific */ 192 /* H.263 specific */
182 int gob_number; 193 int gob_number;
183 int gob_index; 194 int gob_index;
184 int first_gob_line; 195 int first_gob_line;