fmtconvert.c File Reference
#include "avcodec.h"
#include "fmtconvert.h"

Go to the source code of this file.

Functions

static void int32_to_float_fmul_scalar_c (float *dst, const int *src, float mul, int len)
static av_always_inline int float_to_int16_one (const float *src)
static void float_to_int16_c (int16_t *dst, const float *src, long len)
static void float_to_int16_interleave_c (int16_t *dst, const float **src, long len, int channels)
void ff_float_interleave_c (float *dst, const float **src, unsigned int len, int channels)
av_cold void ff_fmt_convert_init (FmtConvertContext *c, AVCodecContext *avctx)

Function Documentation

void ff_float_interleave_c ( float *  dst,
const float **  src,
unsigned int  len,
int  channels 
)

Definition at line 59 of file fmtconvert.c.

Referenced by ff_fmt_convert_init().

static void float_to_int16_c ( int16_t *  dst,
const float *  src,
long  len 
)
static

Definition at line 36 of file fmtconvert.c.

Referenced by ff_fmt_convert_init().

static void float_to_int16_interleave_c ( int16_t *  dst,
const float **  src,
long  len,
int  channels 
)
static

Definition at line 43 of file fmtconvert.c.

Referenced by ff_fmt_convert_init().

static av_always_inline int float_to_int16_one ( const float *  src)
static

Definition at line 32 of file fmtconvert.c.

Referenced by float_to_int16_c(), and float_to_int16_interleave_c().

static void int32_to_float_fmul_scalar_c ( float *  dst,
const int *  src,
float  mul,
int  len 
)
static

Definition at line 26 of file fmtconvert.c.

Referenced by ff_fmt_convert_init().