FFmpeg
Data Fields
AVBufferPool Struct Reference

The buffer pool. More...

#include <buffer_internal.h>

Data Fields

AVMutex mutex
 
BufferPoolEntrypool
 
atomic_uint refcount
 
size_t size
 
void * opaque
 
AVBufferRef *(* alloc )(size_t size)
 
AVBufferRef *(* alloc2 )(void *opaque, 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

◆ mutex

AVMutex AVBufferPool::mutex

◆ pool

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().

◆ refcount

atomic_uint AVBufferPool::refcount

◆ size

size_t AVBufferPool::size

◆ opaque

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().

◆ alloc

AVBufferRef*(* AVBufferPool::alloc) (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().

◆ alloc2

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

Definition at line 96 of file buffer_internal.h.

Referenced by av_buffer_pool_init2(), and pool_alloc_buffer().

◆ pool_free

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: