#include <fixed_dsp.h>
Data Fields
Overlap/add with window function.
More...
Overlap/add with window function.
More...
Fixed-point multiplication that calculates the entry wise product of two vectors of integers and stores the result in a vector of integers.
More...
Calculate the entry wise product of two vectors of integers, add a third vector of integers and store the result in a vector of integers.
More...
Calculate the scalar product of two vectors of integers.
More...
Calculate the sum and difference of two vectors of integers.
More...
Detailed Description
Field Documentation
Overlap/add with window function.
Result is scaled down by "bits" bits. Used primarily by MDCT-based audio codecs. Source and destination vectors must overlap exactly or not at all.
- Parameters
-
dst result vector constraints: 16-byte aligned
src0 first source vector constraints: 16-byte aligned
src1 second source vector constraints: 16-byte aligned
win half-window vector constraints: 16-byte aligned
len length of vector constraints: multiple of 4
bits scaling parameter
Definition at line 80 of file fixed_dsp.h.
Referenced by avpriv_alloc_fixed_dsp().
Overlap/add with window function.
Used primarily by MDCT-based audio codecs. Source and destination vectors must overlap exactly or not at all.
- Parameters
-
dst result vector constraints: 32-byte aligned
src0 first source vector constraints: 16-byte aligned
src1 second source vector constraints: 16-byte aligned
win half-window vector constraints: 16-byte aligned
len length of vector constraints: multiple of 4
Definition at line 98 of file fixed_dsp.h.
Referenced by avpriv_alloc_fixed_dsp().
void(* AVFixedDSPContext::vector_fmul)(int *dst, const int *src0, const int *src1, int
len)
Fixed-point multiplication that calculates the entry wise product of two vectors of integers and stores the result in a vector of integers.
- Parameters
-
dst output vector constraints: 32-byte aligned
src0 first input vector constraints: 32-byte aligned
src1 second input vector constraints: 32-byte aligned
len number of elements in the input constraints: multiple of 16
Definition at line 113 of file fixed_dsp.h.
Referenced by avpriv_alloc_fixed_dsp().
void(* AVFixedDSPContext::vector_fmul_reverse)(int *dst, const int *src0, const int *src1, int
len)
void(* AVFixedDSPContext::vector_fmul_add)(int *dst, const int *src0, const int *src1, const int *src2, int
len)
Calculate the entry wise product of two vectors of integers, add a third vector of integers and store the result in a vector of integers.
- Parameters
-
dst output vector constraints: 32-byte aligned
src0 first input vector constraints: 32-byte aligned
src1 second input vector constraints: 32-byte aligned
src2 third input vector constraints: 32-byte aligned
len number of elements in the input constraints: multiple of 16
Definition at line 132 of file fixed_dsp.h.
Referenced by avpriv_alloc_fixed_dsp().
int(* AVFixedDSPContext::scalarproduct_fixed)(const int *v1, const int *v2, int
len)
Calculate the scalar product of two vectors of integers.
- Parameters
-
v1 first vector, 16-byte aligned
v2 second vector, 16-byte aligned
len length of vectors, multiple of 4
- Returns
- sum of elementwise products
Definition at line 144 of file fixed_dsp.h.
Referenced by avpriv_alloc_fixed_dsp().
void(* AVFixedDSPContext::butterflies_fixed)(int *av_restrict v1, int *av_restrict v2, int
len)
Calculate the sum and difference of two vectors of integers.
- Parameters
-
v1 first input vector, sum output, 16-byte aligned
v2 second input vector, difference output, 16-byte aligned
len length of vectors, multiple of 4
Definition at line 153 of file fixed_dsp.h.
Referenced by avpriv_alloc_fixed_dsp().
The documentation for this struct was generated from the following file: