FFmpeg
Functions
swresample_frame.c File Reference
#include "swresample_internal.h"
#include "libavutil/channel_layout.h"
#include "libavutil/frame.h"
#include "libavutil/opt.h"

Go to the source code of this file.

Functions

int swr_config_frame (SwrContext *s, const AVFrame *out, const AVFrame *in)
 Configure or reconfigure the SwrContext using the information provided by the AVFrames. More...
 
static int config_changed (SwrContext *s, const AVFrame *out, const AVFrame *in)
 
static int convert_frame (SwrContext *s, AVFrame *out, const AVFrame *in)
 
static int available_samples (AVFrame *out)
 
int swr_convert_frame (SwrContext *s, AVFrame *out, const AVFrame *in)
 Convert the samples in the input AVFrame and write them to the output AVFrame. More...
 

Function Documentation

◆ config_changed()

static int config_changed ( SwrContext s,
const AVFrame out,
const AVFrame in 
)
static

Definition at line 83 of file swresample_frame.c.

Referenced by swr_convert_frame().

◆ convert_frame()

static int convert_frame ( SwrContext s,
AVFrame out,
const AVFrame in 
)
inlinestatic

Definition at line 132 of file swresample_frame.c.

Referenced by swr_convert_frame().

◆ available_samples()

static int available_samples ( AVFrame out)
inlinestatic

Definition at line 164 of file swresample_frame.c.

Referenced by swr_convert_frame().