FFmpeg
|
A reference counted buffer type. More...
#include <buffer_internal.h>
Data Fields | |
uint8_t * | data |
data described by this buffer More... | |
int | size |
size of data in bytes More... | |
atomic_uint | refcount |
number of existing AVBufferRef instances referring to this buffer More... | |
void(* | free )(void *opaque, uint8_t *data) |
a callback for freeing the data More... | |
void * | opaque |
an opaque pointer, to be used by the freeing callback More... | |
int | flags |
A combination of AV_BUFFER_FLAG_*. More... | |
int | flags_internal |
A combination of BUFFER_FLAG_*. More... | |
A reference counted buffer type.
It is opaque and is meant to be used through references (AVBufferRef).
Definition at line 33 of file buffer_internal.h.
uint8_t* AVBuffer::data |
data described by this buffer
Definition at line 34 of file buffer_internal.h.
Referenced by av_buffer_create(), and av_buffer_realloc().
int AVBuffer::size |
size of data in bytes
Definition at line 35 of file buffer_internal.h.
Referenced by av_buffer_create(), and av_buffer_realloc().
atomic_uint AVBuffer::refcount |
number of existing AVBufferRef instances referring to this buffer
Definition at line 40 of file buffer_internal.h.
Referenced by av_buffer_create(), av_buffer_get_ref_count(), av_buffer_is_writable(), and av_buffer_ref().
a callback for freeing the data
Definition at line 45 of file buffer_internal.h.
Referenced by av_buffer_create().
void* AVBuffer::opaque |
an opaque pointer, to be used by the freeing callback
Definition at line 50 of file buffer_internal.h.
Referenced by av_buffer_create(), and av_buffer_get_opaque().
int AVBuffer::flags |
A combination of AV_BUFFER_FLAG_*.
Definition at line 55 of file buffer_internal.h.
Referenced by av_buffer_create(), and av_buffer_is_writable().
int AVBuffer::flags_internal |
A combination of BUFFER_FLAG_*.
Definition at line 60 of file buffer_internal.h.
Referenced by av_buffer_realloc().