FFmpeg
Loading...
Searching...
No Matches
Data Fields
AVBuffer Struct Reference

A reference counted buffer type. More...

#include <buffer_internal.h>

Data Fields

uint8_t *  data
  data described by this buffer
 
size_t  size
  size of data in bytes
 
  number of existing AVBufferRef instances referring to this buffer
 
void(*  free )(void *opaque, uint8_t *data)
  a callback for freeing the data
 
void *  opaque
  an opaque pointer, to be used by the freeing callback
 
int  flags
  A combination of AV_BUFFER_FLAG_*.
 
  A combination of BUFFER_FLAG_*.
 

Detailed Description

A reference counted buffer type.

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

Definition at line 38 of file buffer_internal.h.

Field Documentation

◆  data

uint8_t* AVBuffer::data

data described by this buffer

Definition at line 39 of file buffer_internal.h.

Referenced by av_buffer_realloc(), buffer_create(), and pool_alloc_buffer().

◆  size

size_t AVBuffer::size

size of data in bytes

Definition at line 40 of file buffer_internal.h.

Referenced by av_buffer_realloc(), and buffer_create().

◆  refcount

atomic_uint AVBuffer::refcount

number of existing AVBufferRef instances referring to this buffer

Definition at line 45 of file buffer_internal.h.

Referenced by av_buffer_get_ref_count(), av_buffer_is_writable(), av_buffer_ref(), and buffer_create().

◆  free

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

a callback for freeing the data

Definition at line 50 of file buffer_internal.h.

Referenced by buffer_create(), and pool_alloc_buffer().

◆  opaque

void* AVBuffer::opaque

an opaque pointer, to be used by the freeing callback

Definition at line 55 of file buffer_internal.h.

Referenced by av_buffer_get_opaque(), buffer_create(), and pool_alloc_buffer().

◆  flags

int AVBuffer::flags

A combination of AV_BUFFER_FLAG_*.

Definition at line 60 of file buffer_internal.h.

Referenced by av_buffer_is_writable(), and buffer_create().

◆  flags_internal

int AVBuffer::flags_internal

A combination of BUFFER_FLAG_*.

Definition at line 65 of file buffer_internal.h.

Referenced by av_buffer_pool_get(), and av_buffer_realloc().


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

Generated on Sun Sep 6 2026 19:21:24 for FFmpeg by doxygen 1.13.2

AltStyle によって変換されたページ (->オリジナル) /