diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-03-14 02:12:14 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-03-15 03:02:27 +0100 |
commit | caff888183ac3415b327af06403cb9d60cf770c6 (patch) | |
tree | c8d58089b1a07b1c33d4ff3b2159df94ef299ee7 /libavutil/frame.h | |
parent | 1edbeb353222acd204934043cfde9933c173b100 (diff) | |
download | ffmpeg-caff888183ac3415b327af06403cb9d60cf770c6.tar.gz |
avutil/frame: add AVBufferRef for qp table
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/frame.h')
-rw-r--r-- | libavutil/frame.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libavutil/frame.h b/libavutil/frame.h index ec7cfa9084..8fc5814aff 100644 --- a/libavutil/frame.h +++ b/libavutil/frame.h @@ -419,6 +419,11 @@ typedef struct AVFrame { * - decoding: set by libavcodec, read by user. */ int pkt_size; + + /** + * Not to be accessed directly from outside libavutil + */ + AVBufferRef *qp_table_buf; } AVFrame; /** @@ -445,6 +450,8 @@ void av_frame_set_decode_error_flags (AVFrame *frame, int val); int av_frame_get_pkt_size(const AVFrame *frame); void av_frame_set_pkt_size(AVFrame *frame, int val); AVDictionary **avpriv_frame_get_metadatap(AVFrame *frame); +int8_t *av_frame_get_qp_table(AVFrame *f, int *stride, int *type); +int av_frame_set_qp_table(AVFrame *f, AVBufferRef *buf, int stride, int type); /** * Allocate an AVFrame and set its fields to default values. The resulting |