FFmpeg
Data Fields
AVBuffer Struct Reference

A reference counted buffer type. More...

#include <buffer_internal.h>

Data Fields

uint8_tdata
 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 BUFFER_FLAG_*. More...
 

Detailed Description

A reference counted buffer type.

It is opaque and is meant to be used through references (AVBufferRef).

Definition at line 37 of file buffer_internal.h.

Field Documentation

◆ data

uint8_t* AVBuffer::data

data described by this buffer

Definition at line 38 of file buffer_internal.h.

◆ size

int AVBuffer::size

size of data in bytes

Definition at line 39 of file buffer_internal.h.

◆ refcount

atomic_uint AVBuffer::refcount

number of existing AVBufferRef instances referring to this buffer

Definition at line 44 of file buffer_internal.h.

◆ free

void(* AVBuffer::free) (void *opaque, uint8_t *data)

a callback for freeing the data

Definition at line 49 of file buffer_internal.h.

◆ opaque

void* AVBuffer::opaque

an opaque pointer, to be used by the freeing callback

Definition at line 54 of file buffer_internal.h.

◆ flags

int AVBuffer::flags

A combination of BUFFER_FLAG_*.

Definition at line 59 of file buffer_internal.h.


The documentation for this struct was generated from the following file: