Go to the documentation of this file.
57 dst[
i] =
src2[
i] + (
int)((accu + 0x40000000) >> 31);
69 dst[
i] = (
int)((accu+0x40000000) >> 31);
109 dst[
i] = ((int64_t)
s0*wj - (int64_t)
s1*wi + 0x40000000) >> 31;
110 dst[j] = ((int64_t)
s0*wi + (int64_t)
s1*wj + 0x40000000) >> 31;
119 for (
i = 0;
i <
len;
i++){
121 dst[
i] = (
int)((accu+0x40000000) >> 31);
129 int64_t p = 0x40000000;
133 p += (int64_t)v1[
i] * v2[
i];
135 return (
int)(p >> 31);
141 unsigned int *v1 = v1s;
143 for (
i = 0;
i <
len;
i++){
144 int t = v1[
i] - v2[
i];
static void vector_fmul_c(int *dst, const int *src0, const int *src1, int len)
static float win(SuperEqualizerContext *s, float n, int N)
void(* 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...
void ff_fixed_dsp_init_riscv(AVFixedDSPContext *fdsp)
AVFixedDSPContext * avpriv_alloc_fixed_dsp(int bit_exact)
Allocate and initialize a fixed DSP context.
int(* scalarproduct_fixed)(const int *v1, const int *v2, int len)
Calculate the scalar product of two vectors of integers.
void(* vector_fmul_reverse)(int *dst, const int *src0, const int *src1, int len)
static void vector_fmul_reverse_c(int *dst, const int *src0, const int *src1, int len)
static void vector_fmul_window_scaled_c(int16_t *dst, const int32_t *src0, const int32_t *src1, const int32_t *win, int len, uint8_t bits)
void(* 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 stor...
void(* butterflies_fixed)(int *av_restrict v1, int *av_restrict v2, int len)
Calculate the sum and difference of two vectors of integers.
#define i(width, name, range_min, range_max)
static av_always_inline av_const double round(double x)
static void butterflies_fixed_c(int *av_restrict v1s, int *av_restrict v2, int len)
static void vector_fmul_window_c(int32_t *dst, const int32_t *src0, const int32_t *src1, const int32_t *win, int len)
void ff_fixed_dsp_init_x86(AVFixedDSPContext *fdsp)
void(* vector_fmul_window_scaled)(int16_t *dst, const int32_t *src0, const int32_t *src1, const int32_t *win, int len, uint8_t bits)
Overlap/add with window function.
static int scalarproduct_fixed_c(const int *v1, const int *v2, int len)
void(* vector_fmul_window)(int32_t *dst, const int32_t *src0, const int32_t *src1, const int32_t *win, int len)
Overlap/add with window function.
static void vector_fmul_add_c(int *dst, const int *src0, const int *src1, const int *src2, int len)