FFmpeg
Data Fields
AVBufferPool Struct Reference

The buffer pool. More...

#include <buffer_internal.h>

Data Fields

AVMutex mutex
 
BufferPoolEntrypool
 
atomic_uint refcount
 
int size
 
void * opaque
 
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 77 of file buffer_internal.h.

Field Documentation

◆ mutex

AVMutex AVBufferPool::mutex

◆ pool

BufferPoolEntry* AVBufferPool::pool

Definition at line 79 of file buffer_internal.h.

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

◆ refcount

atomic_uint AVBufferPool::refcount

◆ size

int AVBufferPool::size

◆ opaque

void* AVBufferPool::opaque

Definition at line 93 of file buffer_internal.h.

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

◆ alloc

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

Definition at line 94 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, int size)

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