avcpp  2.0
Wrapper for the FFmpeg that simplify usage from C++ projects.
Namespaces | Functions
av::frame Namespace Reference

Namespaces

 priv
 

Functions

static int64_t get_best_effort_timestamp (const AVFrame *frame)
 
static uint64_t get_channel_layout (const AVFrame *frame)
 
static void set_channel_layout (AVFrame *frame, uint64_t layout)
 
static int get_channels (const AVFrame *frame)
 
static bool is_valid_channel_layout (const AVFrame *frame)
 
static int get_sample_rate (const AVFrame *frame)
 
static void set_sample_rate (AVFrame *frame, int sampleRate)
 

Function Documentation

◆ get_best_effort_timestamp()

static int64_t av::frame::get_best_effort_timestamp ( const AVFrame *  frame)
inlinestatic

◆ get_channel_layout()

static uint64_t av::frame::get_channel_layout ( const AVFrame *  frame)
inlinestatic

◆ get_channels()

static int av::frame::get_channels ( const AVFrame *  frame)
inlinestatic

◆ get_sample_rate()

static int av::frame::get_sample_rate ( const AVFrame *  frame)
inlinestatic

◆ is_valid_channel_layout()

static bool av::frame::is_valid_channel_layout ( const AVFrame *  frame)
inlinestatic

◆ set_channel_layout()

static void av::frame::set_channel_layout ( AVFrame *  frame,
uint64_t  layout 
)
inlinestatic

◆ set_sample_rate()

static void av::frame::set_sample_rate ( AVFrame *  frame,
int  sampleRate 
)
inlinestatic