summaryrefslogtreecommitdiffstats
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2003-08-22 22:18:08 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-08-22 22:18:08 +0000
commitd6eb3c500aeab8ae9f138f8eb70d045ac47100ee (patch)
tree1c3e18cdbf6b7b644fd64ac29bac67cf6c25d84d /libavcodec/avcodec.h
parentc3bf0288c9bc119e41818fc4b94290d54c4bc5cb (diff)
downloadffmpeg-streaming-d6eb3c500aeab8ae9f138f8eb70d045ac47100ee.zip
ffmpeg-streaming-d6eb3c500aeab8ae9f138f8eb70d045ac47100ee.tar.gz
custom quant matrix encoding support
Originally committed as revision 2135 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h18
1 files changed, 16 insertions, 2 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index f049cb1..61fc553 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -15,8 +15,8 @@ extern "C" {
#define LIBAVCODEC_VERSION_INT 0x000406
#define LIBAVCODEC_VERSION "0.4.6"
-#define LIBAVCODEC_BUILD 4674
-#define LIBAVCODEC_BUILD_STR "4674"
+#define LIBAVCODEC_BUILD 4675
+#define LIBAVCODEC_BUILD_STR "4675"
#define LIBAVCODEC_IDENT "FFmpeg" LIBAVCODEC_VERSION "b" LIBAVCODEC_BUILD_STR
@@ -1186,6 +1186,20 @@ typedef struct AVCodecContext {
#define FF_MB_DECISION_SIMPLE 0 ///< uses mb_cmp
#define FF_MB_DECISION_BITS 1 ///< chooses the one which needs the fewest bits
#define FF_MB_DECISION_RD 2 ///< rate distoration
+
+ /**
+ * custom intra quantization matrix
+ * - encoding: set by user, can be NULL
+ * - decoding: set by lavc
+ */
+ uint16_t *intra_matrix;
+
+ /**
+ * custom inter quantization matrix
+ * - encoding: set by user, can be NULL
+ * - decoding: set by lavc
+ */
+ uint16_t *inter_matrix;
} AVCodecContext;
OpenPOWER on IntegriCloud