summaryrefslogtreecommitdiff
path: root/libavcodec/qsvdec.h
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2016-11-14 15:19:43 +0100
committerHendrik Leppkes <h.leppkes@gmail.com>2016-11-14 15:19:43 +0100
commit1bc6cdf2fcbd3caea7b78d0a617c6e338606d756 (patch)
tree9b0050a5d72d12d67b1fb82ffcc1a2a2effea7e9 /libavcodec/qsvdec.h
parente122a725fbe9bc5c1bb6047d6be8e0f504d660b9 (diff)
parent536bb17e9659c5ed7576a218d4085cdd6d5742fa (diff)
Merge commit '536bb17e9659c5ed7576a218d4085cdd6d5742fa'
* commit '536bb17e9659c5ed7576a218d4085cdd6d5742fa': qsvdec: make ff_qsv_map_pixfmt() return a MFX fourcc as well Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
Diffstat (limited to 'libavcodec/qsvdec.h')
-rw-r--r--libavcodec/qsvdec.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/qsvdec.h b/libavcodec/qsvdec.h
index 0bf1e55ffa..01f4cf99f4 100644
--- a/libavcodec/qsvdec.h
+++ b/libavcodec/qsvdec.h
@@ -56,6 +56,7 @@ typedef struct QSVContext {
AVCodecParserContext *parser;
AVCodecContext *avctx_internal;
enum AVPixelFormat orig_pix_fmt;
+ uint32_t fourcc;
// options set by the caller
int async_depth;
@@ -67,8 +68,6 @@ typedef struct QSVContext {
int nb_ext_buffers;
} QSVContext;
-int ff_qsv_map_pixfmt(enum AVPixelFormat format);
-
int ff_qsv_process_data(AVCodecContext *avctx, QSVContext *q,
AVFrame *frame, int *got_frame, AVPacket *pkt);