FFmpeg
Data Fields
AVBuffer Struct Reference

A reference counted buffer type. More...

#include <buffer_internal.h>

Data Fields

  data described by this buffer More...
 
int  size
  size of data in bytes More...
 
volatile int  refcount
  number of existing AVBufferRef instances referring to this buffer More...
 
  a callback for freeing the data More...
 
voidopaque
  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 36 of file buffer_internal.h.

Field Documentation

uint8_t* AVBuffer::data

data described by this buffer

Definition at line 37 of file buffer_internal.h.

Referenced by av_buffer_create(), av_buffer_realloc(), buffer_replace(), and pool_alloc_buffer().

int AVBuffer::size

size of data in bytes

Definition at line 38 of file buffer_internal.h.

Referenced by av_buffer_create(), and av_buffer_realloc().

volatile int AVBuffer::refcount

number of existing AVBufferRef instances referring to this buffer

Definition at line 43 of file buffer_internal.h.

Referenced by av_buffer_create(), av_buffer_get_ref_count(), av_buffer_is_writable(), av_buffer_ref(), and buffer_replace().

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

a callback for freeing the data

Definition at line 48 of file buffer_internal.h.

Referenced by av_buffer_create(), buffer_replace(), and pool_alloc_buffer().

void* AVBuffer::opaque

an opaque pointer, to be used by the freeing callback

Definition at line 53 of file buffer_internal.h.

Referenced by av_buffer_create(), av_buffer_get_opaque(), buffer_replace(), and pool_alloc_buffer().

int AVBuffer::flags

A combination of BUFFER_FLAG_*.

Definition at line 58 of file buffer_internal.h.

Referenced by av_buffer_create(), av_buffer_is_writable(), and av_buffer_realloc().


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

Generated on Wed Jun 10 2015 01:57:19 for FFmpeg by   doxygen 1.8.6

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