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 89 of file buffer_internal.h.

Field Documentation

◆ mutex

AVMutex AVBufferPool::mutex

◆ pool

BufferPoolEntry* AVBufferPool::pool

Definition at line 91 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 105 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 106 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 107 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 108 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: