FFmpeg
Data Fields
AudioDSPContext Struct Reference

#include <audiodsp.h>

Data Fields

int32_t(* scalarproduct_int16 )(const int16_t *v1, const int16_t *v2, int len)
 Calculate scalar product of two vectors. More...
 
void(* vector_clip_int32 )(int32_t *dst, const int32_t *src, int32_t min, int32_t max, unsigned int len)
 Clip each element in an array of int32_t to a given minimum and maximum value. More...
 
void(* vector_clipf )(float *dst, const float *src, int len, float min, float max)
 

Detailed Description

Definition at line 24 of file audiodsp.h.

Field Documentation

int32_t(* AudioDSPContext::scalarproduct_int16) (const int16_t *v1, const int16_t *v2, int len)

Calculate scalar product of two vectors.

Parameters
lenlength of vectors, should be multiple of 16

Definition at line 29 of file audiodsp.h.

Referenced by checkasm_check_audiodsp(), decode_subframe(), decoder_init(), decorrelate(), ff_acelp_decode_gain_code(), ff_audiodsp_init(), ff_audiodsp_init_neon(), ff_audiodsp_init_ppc(), ff_audiodsp_init_x86(), ff_irms(), get_tilt_comp(), and long_term_filter().

void(* AudioDSPContext::vector_clip_int32) (int32_t *dst, const int32_t *src, int32_t min, int32_t max, unsigned int len)

Clip each element in an array of int32_t to a given minimum and maximum value.

Parameters
dstdestination array constraints: 16-byte aligned
srcsource array constraints: 16-byte aligned
minminimum value constraints: must be in the range [-(1 << 24), 1 << 24]
maxmaximum value constraints: must be in the range [-(1 << 24), 1 << 24]
lennumber of elements in the array constraints: multiple of 32 greater than zero

Definition at line 46 of file audiodsp.h.

Referenced by checkasm_check_audiodsp(), clip_coefficients(), ff_audiodsp_init(), ff_audiodsp_init_neon(), and ff_audiodsp_init_x86().

void(* AudioDSPContext::vector_clipf) (float *dst, const float *src, int len, float min, float max)

The documentation for this struct was generated from the following file: