FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
AVBufferPool Struct Reference

The buffer pool. More...

#include <buffer_internal.h>

Data Fields

AVMutex mutex
 
BufferPoolEntrypool
 
atomic_uint refcount
 
int size
 
voidopaque
 
AVBufferRef *(* alloc )(int size)
 
AVBufferRef *(* alloc2 )(void *opaque, int size)
 
void(* pool_free )(void *opaque)
 

Detailed Description

The buffer pool.

This structure is opaque and not meant to be accessed directly. It is allocated with av_buffer_pool_init() and freed with av_buffer_pool_uninit().

Definition at line 76 of file buffer_internal.h.

Field Documentation

AVMutex AVBufferPool::mutex
BufferPoolEntry* AVBufferPool::pool

Definition at line 78 of file buffer_internal.h.

Referenced by av_buffer_pool_get(), buffer_pool_free(), and pool_release_buffer().

atomic_uint AVBufferPool::refcount
int AVBufferPool::size
void* AVBufferPool::opaque

Definition at line 92 of file buffer_internal.h.

Referenced by av_buffer_pool_init2(), buffer_pool_free(), and pool_alloc_buffer().

AVBufferRef*(* AVBufferPool::alloc)(int size)

Definition at line 93 of file buffer_internal.h.

Referenced by av_buffer_pool_init(), and pool_alloc_buffer().

AVBufferRef*(* AVBufferPool::alloc2)(void *opaque, int size)

Definition at line 94 of file buffer_internal.h.

Referenced by av_buffer_pool_init2(), and pool_alloc_buffer().

void(* AVBufferPool::pool_free)(void *opaque)

Definition at line 95 of file buffer_internal.h.

Referenced by av_buffer_pool_init2(), and buffer_pool_free().


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