summaryrefslogtreecommitdiff
path: root/libavcodec/vda.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/vda.h')
-rw-r--r--libavcodec/vda.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/libavcodec/vda.h b/libavcodec/vda.h
index 79fbfe86ac..ec7d2f75b6 100644
--- a/libavcodec/vda.h
+++ b/libavcodec/vda.h
@@ -138,6 +138,21 @@ struct vda_context {
* - decoding: Set/Unset by user.
*/
OSType cv_pix_fmt_type;
+
+ /**
+ * The current bitstream buffer.
+ */
+ uint8_t *priv_bitstream;
+
+ /**
+ * The current size of the bitstream.
+ */
+ int priv_bitstream_size;
+
+ /**
+ * The reference size used for fast reallocation.
+ */
+ int priv_allocated_size;
};
/** Create the video decoder. */