From 89d7f9266189bed4b41ad9d66289174355ef759e Mon Sep 17 00:00:00 2001 From: Sebastien Zwickert Date: Fri, 11 Nov 2011 03:38:13 +0100 Subject: vda: use fast reallocation. Signed-off-by: Michael Niedermayer --- libavcodec/vda.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'libavcodec/vda.h') diff --git a/libavcodec/vda.h b/libavcodec/vda.h index 518bb9bfd6..ffdbea6f1d 100644 --- a/libavcodec/vda.h +++ b/libavcodec/vda.h @@ -129,6 +129,30 @@ struct vda_context { * - decoding: Set/Unset by user. */ OSType cv_pix_fmt_type; + + /** + * The current bitstream buffer. + * + * - encoding: unused + * - decoding: Set/Unset by libavcodec. + */ + uint8_t *bitstream; + + /** + * The current size of the bitstream. + * + * - encoding: unused + * - decoding: Set/Unset by libavcodec. + */ + int bitstream_size; + + /** + * The reference size used for fast reallocation. + * + * - encoding: unused + * - decoding: Set/Unset by libavcodec. + */ + int ref_size; }; /** Creates the video decoder. */ -- cgit v1.2.3