annotate ffmpeg/libavutil/arm/float_dsp_init_neon.c @ 13:844d341cf643 tip

Back up before ISMIR
author Yading Song <yading.song@eecs.qmul.ac.uk>
date Thu, 31 Oct 2013 13:17:06 +0000
parents f445c3017523
children
rev   line source
yading@11 1 /*
yading@11 2 * ARM NEON optimised Float DSP functions
yading@11 3 * Copyright (c) 2008 Mans Rullgard <mans@mansr.com>
yading@11 4 *
yading@11 5 * This file is part of Libav.
yading@11 6 *
yading@11 7 * Libav is free software; you can redistribute it and/or
yading@11 8 * modify it under the terms of the GNU Lesser General Public
yading@11 9 * License as published by the Free Software Foundation; either
yading@11 10 * version 2.1 of the License, or (at your option) any later version.
yading@11 11 *
yading@11 12 * Libav is distributed in the hope that it will be useful,
yading@11 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
yading@11 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
yading@11 15 * Lesser General Public License for more details.
yading@11 16 *
yading@11 17 * You should have received a copy of the GNU Lesser General Public
yading@11 18 * License along with Libav; if not, write to the Free Software
yading@11 19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
yading@11 20 */
yading@11 21
yading@11 22 #include <stdint.h>
yading@11 23
yading@11 24 #include "libavutil/float_dsp.h"
yading@11 25 #include "float_dsp_arm.h"
yading@11 26
yading@11 27 void ff_vector_fmul_neon(float *dst, const float *src0, const float *src1, int len);
yading@11 28
yading@11 29 void ff_vector_fmac_scalar_neon(float *dst, const float *src, float mul,
yading@11 30 int len);
yading@11 31
yading@11 32 void ff_vector_fmul_scalar_neon(float *dst, const float *src, float mul,
yading@11 33 int len);
yading@11 34
yading@11 35 void ff_vector_fmul_window_neon(float *dst, const float *src0,
yading@11 36 const float *src1, const float *win, int len);
yading@11 37
yading@11 38 void ff_vector_fmul_add_neon(float *dst, const float *src0, const float *src1,
yading@11 39 const float *src2, int len);
yading@11 40
yading@11 41 void ff_vector_fmul_reverse_neon(float *dst, const float *src0,
yading@11 42 const float *src1, int len);
yading@11 43
yading@11 44 void ff_butterflies_float_neon(float *v1, float *v2, int len);
yading@11 45
yading@11 46 float ff_scalarproduct_float_neon(const float *v1, const float *v2, int len);
yading@11 47
yading@11 48 void ff_float_dsp_init_neon(AVFloatDSPContext *fdsp)
yading@11 49 {
yading@11 50 fdsp->vector_fmul = ff_vector_fmul_neon;
yading@11 51 fdsp->vector_fmac_scalar = ff_vector_fmac_scalar_neon;
yading@11 52 fdsp->vector_fmul_scalar = ff_vector_fmul_scalar_neon;
yading@11 53 fdsp->vector_fmul_window = ff_vector_fmul_window_neon;
yading@11 54 fdsp->vector_fmul_add = ff_vector_fmul_add_neon;
yading@11 55 fdsp->vector_fmul_reverse = ff_vector_fmul_reverse_neon;
yading@11 56 fdsp->butterflies_float = ff_butterflies_float_neon;
yading@11 57 fdsp->scalarproduct_float = ff_scalarproduct_float_neon;
yading@11 58 }