FFmpeg
Data Structures | Macros | Functions
buffer.h File Reference
AVBuffer

refcounted data buffer API More...

#include <stdint.h>

Go to the source code of this file.

Data Structures

struct   AVBufferRef
  A reference to a data buffer. More...
 

Macros

#define  AV_BUFFER_FLAG_READONLY   (1 << 0)
  Always treat the buffer as read-only, even when it has only one reference.
 

Functions

  Allocate an AVBuffer of the given size using av_malloc().
 
  Same as av_buffer_alloc(), except the returned buffer will be initialized to zero.
 
AVBufferRefav_buffer_create (uint8_t *data, int size, void(*free)(void *opaque, uint8_t *data), void *opaque, int flags)
  Create an AVBuffer from an existing array.
 
  Default free callback, which calls av_free() on the buffer data.
 
  Create a new reference to an AVBuffer.
 
  Free a given reference and automatically free the buffer if there are no more references to it.
 
 
 
 
  Create a writable reference from a given buffer reference, avoiding data copy if possible.
 
  Reallocate a given buffer.
 
  Allocate and initialize a buffer pool.
 
  Mark the pool as being available for freeing.
 
  Allocate a new AVBuffer, reusing an old buffer from the pool when available.
 

Detailed Description

refcounted data buffer API

Definition in file buffer.h.


Generated on Sun Mar 8 2015 02:35:32 for FFmpeg by   doxygen 1.8.2

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