diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-02-10 19:01:41 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-02-18 18:19:27 +0100 |
commit | cbcfd7da4d1f5d43b0b9abb05d9b6fc4451cad0d (patch) | |
tree | ae32c7abf1d08834f637590142739a02fd2e58d9 /libavcodec/avcodec.h | |
parent | 3d20260157cb65582cb547befe744b9cbfaeac1d (diff) |
avcodec: support setting the chroma intra matrix
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index f9b2e5cf27..5df717caef 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -2988,6 +2988,14 @@ typedef struct AVCodecContext { #define FF_DEBUG_VIS_MV_B_FOR 0x00000002 //visualize forward predicted MVs of B frames #define FF_DEBUG_VIS_MV_B_BACK 0x00000004 //visualize backward predicted MVs of B frames #endif + + /** + * custom intra quantization matrix + * Code outside libavcodec should access this field using av_codec_g/set_chroma_intra_matrix() + * - encoding: Set by user, can be NULL. + * - decoding: unused. + */ + uint16_t *chroma_intra_matrix; } AVCodecContext; AVRational av_codec_get_pkt_timebase (const AVCodecContext *avctx); @@ -3002,6 +3010,9 @@ void av_codec_set_lowres(AVCodecContext *avctx, int val); int av_codec_get_seek_preroll(const AVCodecContext *avctx); void av_codec_set_seek_preroll(AVCodecContext *avctx, int val); +uint16_t *av_codec_get_chroma_intra_matrix(const AVCodecContext *avctx); +void av_codec_set_chroma_intra_matrix(AVCodecContext *avctx, uint16_t *val); + /** * AVProfile. */ |