diff avcodec.h @ 1733:b47d56b1a049 libavcodec

optimize compute_antialias() and add a floating point based alternative (2x faster)
author michael
date Thu, 08 Jan 2004 21:08:57 +0000
parents a4a5e7521339
children f0c21b9a328e
line wrap: on
line diff
--- a/avcodec.h	Thu Jan 08 18:44:36 2004 +0000
+++ b/avcodec.h	Thu Jan 08 21:08:57 2004 +0000
@@ -960,6 +960,8 @@
 
     /**
      * qscale factor between p and i frames.
+     * if > 0 then the last p frame quantizer will be used (q= lastp_q*factor+offset)
+     * if < 0 then normal ratecontrol will be done (q= -normal_q*factor+offset)
      * - encoding: set by user.
      * - decoding: unused
      */
@@ -967,8 +969,6 @@
     
     /**
      * qscale offset between p and i frames.
-     * if > 0 then the last p frame quantizer will be used (q= lastp_q*factor+offset)
-     * if < 0 then normal ratecontrol will be done (q= -normal_q*factor+offset)
      * - encoding: set by user.
      * - decoding: unused
      */
@@ -1490,6 +1490,17 @@
      * - decoding: unused.
      */
     int error_rate;
+    
+    /**
+     * MP3 antialias algorithm, see FF_AA_* below.
+     * - encoding: unused
+     * - decoding: set by user
+     */
+    int antialias_algo;
+#define FF_AA_AUTO    0
+#define FF_AA_FASTINT 1 //not implemented yet
+#define FF_AA_INT     2
+#define FF_AA_FLOAT   3
 } AVCodecContext;