FFmpeg
Data Structures | Functions
float_dsp.h File Reference
#include <stddef.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 of floats. More...
 
double  ff_scalarproduct_double_c (const double *v1, const double *v2, size_t len)
  Return the scalar product of two vectors of doubles. More...
 
 
 
void  ff_float_dsp_init_ppc (AVFloatDSPContext *fdsp, int strict)
 
 
 
 
  Allocate a float DSP context. More...
 

Function Documentation

avpriv_scalarproduct_float_c()

float avpriv_scalarproduct_float_c ( const floatv1,
const floatv2,
int  len 
)

Return the scalar product of two vectors of floats.

Parameters
v1 first input vector
v2 first input vector
len number of elements
Returns
sum of elementwise products

Definition at line 124 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().

ff_scalarproduct_double_c()

double ff_scalarproduct_double_c ( const doublev1,
const doublev2,
size_t  len 
)

Return the scalar product of two vectors of doubles.

Parameters
v1 first input vector
v2 first input vector
len number of elements
Returns
inner product of the vectors

Definition at line 135 of file float_dsp.c.

Referenced by avpriv_float_dsp_alloc(), and evaluate_lls().

ff_float_dsp_init_aarch64()

void ff_float_dsp_init_aarch64 ( AVFloatDSPContextfdsp )

Definition at line 54 of file float_dsp_init.c.

Referenced by avpriv_float_dsp_alloc().

ff_float_dsp_init_arm()

void ff_float_dsp_init_arm ( AVFloatDSPContextfdsp )

Definition at line 24 of file float_dsp_init_arm.c.

Referenced by avpriv_float_dsp_alloc().

ff_float_dsp_init_ppc()

void ff_float_dsp_init_ppc ( AVFloatDSPContextfdsp,
int  strict 
)

Definition at line 29 of file float_dsp_init.c.

Referenced by avpriv_float_dsp_alloc().

ff_float_dsp_init_riscv()

void ff_float_dsp_init_riscv ( AVFloatDSPContextfdsp )

Definition at line 52 of file float_dsp_init.c.

Referenced by avpriv_float_dsp_alloc().

ff_float_dsp_init_x86()

void ff_float_dsp_init_x86 ( AVFloatDSPContextfdsp )

Definition at line 81 of file float_dsp_init.c.

Referenced by avpriv_float_dsp_alloc().

ff_float_dsp_init_mips()

void ff_float_dsp_init_mips ( AVFloatDSPContextfdsp )

Definition at line 346 of file float_dsp_mips.c.

Referenced by avpriv_float_dsp_alloc().

avpriv_float_dsp_alloc()

AVFloatDSPContext* avpriv_float_dsp_alloc ( int  strict )

Allocate a float DSP context.

Parameters
strict setting to non-zero avoids using functions which may not be IEEE-754 compliant

Definition at line 146 of file float_dsp.c.

Referenced by ac3_decode_init(), atrac1_decode_init(), atrac3_decode_init(), atrac3p_decode_init(), atrac9_decode_init(), checkasm_check_float_dsp(), config_output(), decode_init(), dolby_e_init(), dsp_init(), encode_init(), ff_aac_decode_init_float(), ff_ac3_float_encode_init(), ff_celt_init(), ff_dca_core_init(), ff_dca_lbr_init(), ff_opus_psy_init(), ff_twinvq_decode_init(), imc_decode_init(), init(), mp3lame_encode_init(), on2avc_decode_init(), opus_decode_init(), opus_encode_init(), pcm_decode_init(), ra288_decode_init(), siren_init(), speex_decode_init(), and vorbis_parse_id_hdr().


Generated on Fri Aug 22 2025 14:00:13 for FFmpeg by   doxygen 1.8.17

AltStyle によって変換されたページ (->オリジナル) /