FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
swresample_frame.c File Reference
#include "swresample_internal.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

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

Definition at line 54 of file swresample_frame.c.

Referenced by swr_convert_frame().

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

Definition at line 78 of file swresample_frame.c.

Referenced by swr_convert_frame().

static int available_samples ( AVFrame out)
inlinestatic

Definition at line 110 of file swresample_frame.c.

Referenced by swr_convert_frame().