FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
float_dsp.h File Reference
#include "config.h"

Go to the source code of this file.

Data Structures

struct  AVFloatDSPContext
 

Functions

float avpriv_scalarproduct_float_c (const float *v1, const float *v2, int len)
 Return the scalar product of two vectors. More...
 
void ff_float_dsp_init_aarch64 (AVFloatDSPContext *fdsp)
 
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)
 
AVFloatDSPContextavpriv_float_dsp_alloc (int strict)
 Allocate a float DSP context. More...
 

Function Documentation

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 116 of file float_dsp.c.

Referenced by acelp_decode_gain_codef(), apply_gain_ctrl(), avpriv_float_dsp_alloc(), 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_aarch64 ( AVFloatDSPContext fdsp)

Definition at line 54 of file float_dsp_init.c.

Referenced by avpriv_float_dsp_alloc().

void ff_float_dsp_init_arm ( AVFloatDSPContext fdsp)

Definition at line 24 of file float_dsp_init_arm.c.

Referenced by avpriv_float_dsp_alloc().

void ff_float_dsp_init_ppc ( AVFloatDSPContext fdsp,
int  strict 
)

Definition at line 29 of file float_dsp_init.c.

Referenced by avpriv_float_dsp_alloc().

void ff_float_dsp_init_x86 ( AVFloatDSPContext fdsp)

Definition at line 77 of file float_dsp_init.c.

Referenced by avpriv_float_dsp_alloc().

void ff_float_dsp_init_mips ( AVFloatDSPContext fdsp)

Definition at line 346 of file float_dsp_mips.c.

Referenced by avpriv_float_dsp_alloc().

AVFloatDSPContext* avpriv_float_dsp_alloc ( int  strict)