aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-12-08 18:02:56 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-12-08 18:02:56 +0000
commit0fd6aea1f1cc1ceaf2da578ce22d53427ddc4047 (patch)
treebfdbeb798149ef065faef506b7cafdf58dc81548 /libavcodec/avcodec.h
parentbbf18b21b76f61da7df206a3084cd34341de44d0 (diff)
downloadffmpeg-0fd6aea1f1cc1ceaf2da578ce22d53427ddc4047.tar.gz
more flexible frame skip decission
Originally committed as revision 3743 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 42a800d88e..6a00248336 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -17,7 +17,7 @@ extern "C" {
#define FFMPEG_VERSION_INT 0x000409
#define FFMPEG_VERSION "0.4.9-pre1"
-#define LIBAVCODEC_BUILD 4735
+#define LIBAVCODEC_BUILD 4736
#define LIBAVCODEC_VERSION_INT FFMPEG_VERSION_INT
#define LIBAVCODEC_VERSION FFMPEG_VERSION
@@ -1293,6 +1293,7 @@ typedef struct AVCodecContext {
#define FF_CMP_NSSE 10
#define FF_CMP_W53 11
#define FF_CMP_W97 12
+#define FF_CMP_DCTMAX 13
#define FF_CMP_CHROMA 256
/**
@@ -1703,6 +1704,20 @@ typedef struct AVCodecContext {
* - decoding: unused
*/
int frame_skip_factor;
+
+ /**
+ * frame skip exponent
+ * - encoding: set by user
+ * - decoding: unused
+ */
+ int frame_skip_exp;
+
+ /**
+ * frame skip comparission function
+ * - encoding: set by user.
+ * - decoding: unused
+ */
+ int frame_skip_cmp;
} AVCodecContext;