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

◆ scalarproduct_int16

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(), ff_acelp_decode_gain_code(), ff_irms(), get_tilt_comp(), and long_term_filter().

◆ vector_clip_int32

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(), and clip_coefficients().

◆ vector_clipf

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

Definition at line 49 of file audiodsp.h.

Referenced by checkasm_check_audiodsp(), and clip_coefficients().


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