diff options
author | Sebastien Zwickert <dilaroga@free.fr> | 2011-11-11 03:38:13 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-11-11 16:23:23 +0100 |
commit | 89d7f9266189bed4b41ad9d66289174355ef759e (patch) | |
tree | b64e6ed1dabf693d6e64bf7b1cd16f1ba58f188e /libavcodec/vda.h | |
parent | 7437db84a9d39ca7a50c07fae68bf4106b0fc88c (diff) | |
download | ffmpeg-89d7f9266189bed4b41ad9d66289174355ef759e.tar.gz |
vda: use fast reallocation.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/vda.h')
-rw-r--r-- | libavcodec/vda.h | 24 |
1 files changed, 24 insertions, 0 deletions
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. */ |