summaryrefslogtreecommitdiff
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2002-03-23 17:43:30 +0000
committerMichael Niedermayer <michaelni@gmx.at>2002-03-23 17:43:30 +0000
commit098eefe183bc3430de4330525becc89da7468d20 (patch)
tree4bf06d902b30170e52655c33d75b9d80bd794ac3 /libavcodec/avcodec.h
parentb1563bfef2612389ba263dbaa8fd806b8f4ba43a (diff)
statistics for 2-pass encoding
Originally committed as revision 354 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index beb9936e73..0bca2b4fda 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -145,6 +145,17 @@ typedef struct AVCodecContext {
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 */