FFmpeg
Functions
float_scalarproduct.c File Reference
#include "float_dsp.h"

Go to the source code of this file.

Functions

float ff_scalarproduct_float_c (const float *v1, const float *v2, int len)
 Return the scalar product of two vectors of floats. More...
 

Function Documentation

◆ ff_scalarproduct_float_c()

float ff_scalarproduct_float_c ( const float v1,
const float v2,
int  len 
)

Return the scalar product of two vectors of floats.

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

Definition at line 24 of file float_scalarproduct.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().