FFmpeg
Data Fields
AVBufferPool Struct Reference

The buffer pool. More...

#include <buffer_internal.h>

Data Fields

AVMutex mutex
 
BufferPoolEntrypool
 
atomic_uint refcount
 
buffer_size_t size
 
voidopaque
 
AVBufferRef *(* alloc )(buffer_size_t size)
 
AVBufferRef *(* alloc2 )(void *opaque, buffer_size_t 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 78 of file buffer_internal.h.

Field Documentation

AVMutex AVBufferPool::mutex
BufferPoolEntry* AVBufferPool::pool

Definition at line 80 of file buffer_internal.h.

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

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

Definition at line 94 of file buffer_internal.h.

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

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

Definition at line 95 of file buffer_internal.h.

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

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

Definition at line 96 of file buffer_internal.h.

Referenced by av_buffer_pool_init2(), and pool_alloc_buffer().

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

Definition at line 97 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: