float_dsp.h File Reference
#include "config.h"
Include dependency graph for float_dsp.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  AVFloatDSPContext
 

Typedefs

typedef struct AVFloatDSPContext AVFloatDSPContext
 

Functions

float avpriv_scalarproduct_float_c (const float *v1, const float *v2, int len)
 Return the scalar product of two vectors. More...
 
void avpriv_float_dsp_init (AVFloatDSPContext *fdsp, int strict)
 Initialize a float DSP context. More...
 
void ff_float_dsp_init_arm (AVFloatDSPContext *fdsp)
 
void ff_float_dsp_init_ppc (AVFloatDSPContext *fdsp, int strict)
 
void ff_float_dsp_init_x86 (AVFloatDSPContext *fdsp)
 
void ff_float_dsp_init_mips (AVFloatDSPContext *fdsp)
 

Typedef Documentation

Function Documentation

void avpriv_float_dsp_init ( AVFloatDSPContext fdsp,
int  strict 
)

Initialize a float DSP context.

Parameters
fdspfloat DSP context
strictsetting to non-zero avoids using functions which may not be IEEE-754 compliant

Definition at line 118 of file float_dsp.c.

Referenced by aac_decode_init(), ac3_decode_init(), atrac1_decode_init(), atrac3_decode_init(), dca_decode_init(), decode_init(), dsp_init(), encode_init(), ff_ac3_encode_init(), ff_wma_init(), imc_decode_init(), init(), mp3lame_encode_init(), ra288_decode_init(), twin_decode_init(), volume_init(), and vorbis_decode_init().

float avpriv_scalarproduct_float_c ( const float *  v1,
const float *  v2,
int  len 
)

Return the scalar product of two vectors.

Parameters
v1first input vector
v2first input vector
lennumber of elements
Returns
sum of elementwise products

Definition at line 107 of file float_dsp.c.

Referenced by acelp_decode_gain_codef(), apply_gain_ctrl(), avpriv_float_dsp_init(), calc_input_response(), convolve(), decode(), decode_frame(), ff_adaptive_gain_control(), ff_amr_set_fixed_gain(), ff_scale_vector_to_given_sum_of_squares(), kalman_smoothen(), postfilter(), synth_block_fcb_acb(), and tilt_factor().

void ff_float_dsp_init_arm ( AVFloatDSPContext fdsp)

Definition at line 25 of file float_dsp_init_arm.c.

Referenced by avpriv_float_dsp_init().

void ff_float_dsp_init_mips ( AVFloatDSPContext fdsp)

Definition at line 375 of file float_dsp_mips.c.

Referenced by avpriv_float_dsp_init().

void ff_float_dsp_init_ppc ( AVFloatDSPContext fdsp,
int  strict 
)

Definition at line 26 of file ppc/float_dsp_init.c.

Referenced by avpriv_float_dsp_init().

void ff_float_dsp_init_x86 ( AVFloatDSPContext fdsp)

Definition at line 124 of file x86/float_dsp_init.c.

Referenced by avpriv_float_dsp_init().