FFmpeg
Loading...
Searching...
No Matches
float_dsp_init_vfp.c
Go to the documentation of this file.
1/*
2 * Copyright (c) 2008 Siarhei Siamashka <ssvb@users.sourceforge.net>
3 *
4 * This file is part of FFmpeg.
5 *
6 * FFmpeg is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
10 *
11 * FFmpeg is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with FFmpeg; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 */
20
22#include "libavutil/float_dsp.h"
23#include "cpu.h"
24#include "float_dsp_arm.h"
25
26void ff_vector_fmul_vfp(float *dst, const float *src0, const float *src1,
27 int len);
28
29void ff_vector_fmul_window_vfp(float *dst, const float *src0,
30 const float *src1, const float *win, int len);
31
32void ff_vector_fmul_reverse_vfp(float *dst, const float *src0,
33 const float *src1, int len);
34
35void ff_butterflies_float_vfp(float *restrict v1, float *restrict v2, int len);
36
uint8_t ptrdiff_t const uint8_t ptrdiff_t int intptr_t intptr_t int int16_t * dst
Definition dsp.h:87
static float win(SuperEqualizerContext *s, float n, int N)
void ff_vector_fmul_window_vfp(float *dst, const float *src0, const float *src1, const float *win, int len)
void ff_vector_fmul_vfp(float *dst, const float *src0, const float *src1, int len)
av_cold void ff_float_dsp_init_vfp(AVFloatDSPContext *fdsp, int cpu_flags)
void ff_butterflies_float_vfp(float *restrict v1, float *restrict v2, int len)
void ff_vector_fmul_reverse_vfp(float *dst, const float *src0, const float *src1, int len)
#define have_vfp_vm(flags)
Definition cpu.h:35
Macro definitions for various function/variable attributes.
#define av_cold
Definition attributes.h:117
static atomic_int cpu_flags
Definition cpu.c:56
void(* vector_fmul_reverse)(float *dst, const float *src0, const float *src1, int len)
Calculate the entry wise product of two vectors of floats, and store the result in a vector of floats...
Definition float_dsp.h:154
void(* butterflies_float)(float *restrict v1, float *restrict v2, int len)
Calculate the sum and difference of two vectors of floats.
Definition float_dsp.h:164
void(* vector_fmul_window)(float *dst, const float *src0, const float *src1, const float *win, int len)
Overlap/add with window function.
Definition float_dsp.h:119
void(* vector_fmul)(float *dst, const float *src0, const float *src1, int len)
Calculate the entry wise product of two vectors of floats and store the result in a vector of floats.
Definition float_dsp.h:38
#define src1
Definition h264pred.c:141
#define src0
Definition h264pred.c:140
int len