aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/avutil.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2010-09-26 14:25:22 +0000
committerMichael Niedermayer <michaelni@gmx.at>2010-09-26 14:25:22 +0000
commit6ed040408b26d8b5c896e60303a3bef6a39fa910 (patch)
treeba2292b108c07c933607e39d2ba8e3114e0221ff /libavutil/avutil.h
parentcba322d76d4a00b659d7de030018d6003820c715 (diff)
downloadffmpeg-6ed040408b26d8b5c896e60303a3bef6a39fa910.tar.gz
Move AVOptions from libavcodec to libavutil
Originally committed as revision 25210 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/avutil.h')
-rw-r--r--libavutil/avutil.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libavutil/avutil.h b/libavutil/avutil.h
index 758b012591..88fc092977 100644
--- a/libavutil/avutil.h
+++ b/libavutil/avutil.h
@@ -78,6 +78,13 @@ enum AVMediaType {
AVMEDIA_TYPE_NB
};
+#define FF_LAMBDA_SHIFT 7
+#define FF_LAMBDA_SCALE (1<<FF_LAMBDA_SHIFT)
+#define FF_QP2LAMBDA 118 ///< factor to convert from H.263 QP to lambda
+#define FF_LAMBDA_MAX (256*128-1)
+
+#define FF_QUALITY_SCALE FF_LAMBDA_SCALE //FIXME maybe remove
+
#include "common.h"
#include "error.h"
#include "mathematics.h"