diff avcodec.h @ 268:09ae29b27ed9 libavcodec

hopefully better bitrate controll
author michaelni
date Sun, 17 Mar 2002 16:31:38 +0000
parents e1bacfb3f51f
children 5cb2978e701f
line wrap: on
line diff
--- a/avcodec.h	Sat Mar 16 02:41:00 2002 +0000
+++ b/avcodec.h	Sun Mar 17 16:31:38 2002 +0000
@@ -72,6 +72,7 @@
 
 typedef struct AVCodecContext {
     int bit_rate;
+    int bit_rate_tolerance; /* amount of +- bits (>0)*/
     int flags;
     int sub_id;    /* some codecs needs additionnal format info. It is
                       stored there */
@@ -101,6 +102,12 @@
                          a key frame (intra, or seekable) */
     int quality;      /* quality of the previous encoded frame 
                          (between 1 (good) and 31 (bad)) */
+    float qcompress;  /* amount of qscale change between easy & hard scenes (0.0-1.0)*/
+    float qblur;      /* amount of qscale smoothing over time (0.0-1.0) */
+    int qmin;         /* min qscale */
+    int qmax;         /* max qscale */
+    int max_qdiff;    /* max qscale difference between frames */
+
     struct AVCodec *codec;
     void *priv_data;