diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2003-08-22 22:18:08 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2003-08-22 22:18:08 +0000 |
commit | d6eb3c500aeab8ae9f138f8eb70d045ac47100ee (patch) | |
tree | 1c3e18cdbf6b7b644fd64ac29bac67cf6c25d84d /libavcodec/avcodec.h | |
parent | c3bf0288c9bc119e41818fc4b94290d54c4bc5cb (diff) | |
download | ffmpeg-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.h | 18 |
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; |