fmtconvert.c File Reference
#include "avcodec.h"
#include "fmtconvert.h"
#include "libavutil/common.h"
Include dependency graph for fmtconvert.c:

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)
 
void float_interleave (float *dst, const float **src, long len, int channels)
 
void float_interleave_noscale (float *dst, const float **src, long len, int channels)
 

Function Documentation

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

Definition at line 60 of file fmtconvert.c.

Referenced by ff_fmt_convert_init().

av_cold void ff_fmt_convert_init ( FmtConvertContext c,
AVCodecContext avctx 
)
void float_interleave ( float *  dst,
const float **  src,
long  len,
int  channels 
)

Definition at line 93 of file fmtconvert.c.

void float_interleave_noscale ( float *  dst,
const float **  src,
long  len,
int  channels 
)

Definition at line 108 of file fmtconvert.c.

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

Definition at line 37 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 44 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 33 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 27 of file fmtconvert.c.

Referenced by ff_fmt_convert_init().