aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-01-08 21:08:57 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-01-08 21:08:57 +0000
commita1e257b2311f293af8d2fdb9f2ef2f2507a3d7e2 (patch)
tree2d7ae1f8beecfdd6ba893352893c3a1d75e5565d /libavcodec/avcodec.h
parentec7d0d2e9ec9c9e5ed6df5446c11ede90d602928 (diff)
downloadffmpeg-a1e257b2311f293af8d2fdb9f2ef2f2507a3d7e2.tar.gz
optimize compute_antialias() and add a floating point based alternative (2x faster)
Originally committed as revision 2679 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index df6690a09f..3fd4e17d72 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -960,6 +960,8 @@ typedef struct AVCodecContext {
/**
* 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 @@ typedef struct AVCodecContext {
/**
* 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 @@ typedef struct AVCodecContext {
* - 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;