summaryrefslogtreecommitdiff
path: root/libavcodec/qsvdec.h
diff options
context:
space:
mode:
authorIvan Uskov <ivan.uskov@nablet.com>2015-07-23 05:14:41 -0400
committerMichael Niedermayer <michael@niedermayer.cc>2015-07-23 17:10:39 +0200
commitd50ab820dacf0d070805889ff69ec1f03401d835 (patch)
tree25c9a540119e666610f870314509430a4ea1f660 /libavcodec/qsvdec.h
parentfd7eadd25c77307ef8398b5f0307b18050ee070a (diff)
libavcodec/qsvdec_h264.c: refactoring: functionality of qsv_process_data() has been moved into qsvdec.c
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/qsvdec.h')
-rw-r--r--libavcodec/qsvdec.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/qsvdec.h b/libavcodec/qsvdec.h
index 4d3c50563d..a4971ad9d0 100644
--- a/libavcodec/qsvdec.h
+++ b/libavcodec/qsvdec.h
@@ -50,6 +50,10 @@ typedef struct QSVContext {
AVFifoBuffer *async_fifo;
+ // this flag indicates that header parsed,
+ // decoder instance created and ready to general decoding
+ int engine_ready;
+
// options set by the caller
int async_depth;
int iopattern;