|
VLC 4.0.0-dev
|
Blocks of binary data.
Blocks of binary data.
block_t is a generic structure to represent a binary blob within VLC. The primary goal of the structure is to avoid memory copying as data is passed around.
It is notably used in:
TODO: remove the vlc_frame_t typedef and create a block_t struct like the following:
* struct block_t
* {
* struct block_t *p_next;
* uint8_t *p_buffer;
* size_t i_buffer;
* uint8_t *p_start;
* size_t i_size;
* const struct block_callbacks *cbs;
* }