FFmpeg
Data Fields
FFFramePool Struct Reference

Frame pool. More...

#include <framepool.h>

Data Fields

enum AVMediaType type
 
union {
   enum AVPixelFormat   pix_fmt
 
   enum AVSampleFormat   sample_fmt
 
}; 
 
int width
 
int height
 
int planes
 
int channels
 
int nb_samples
 
int align
 
int linesize [4]
 
AVBufferPoolpools [4]
 

Detailed Description

Frame pool.

This structure must be initialized with ff_frame_pool_{video,audio}_reinit() and freed with ff_frame_pool_uninit().

Definition at line 32 of file framepool.h.

Field Documentation

◆ type

enum AVMediaType FFFramePool::type

◆ pix_fmt

enum AVPixelFormat FFFramePool::pix_fmt

◆ sample_fmt

enum AVSampleFormat FFFramePool::sample_fmt

Definition at line 37 of file framepool.h.

Referenced by ff_frame_pool_audio_reinit(), and ff_frame_pool_get().

◆ @390

union { ... }

◆ width

int FFFramePool::width

◆ height

int FFFramePool::height

◆ planes

int FFFramePool::planes

Definition at line 45 of file framepool.h.

Referenced by ff_frame_pool_get().

◆ channels

int FFFramePool::channels

Definition at line 46 of file framepool.h.

Referenced by ff_frame_pool_audio_reinit(), and ff_frame_pool_get().

◆ nb_samples

int FFFramePool::nb_samples

Definition at line 47 of file framepool.h.

Referenced by ff_frame_pool_audio_reinit(), and ff_frame_pool_get().

◆ align

int FFFramePool::align

◆ linesize

int FFFramePool::linesize[4]

◆ pools

AVBufferPool* FFFramePool::pools[4]

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