/*1* This file is part of FFmpeg.2*3* FFmpeg is free software; you can redistribute it and/or4* modify it under the terms of the GNU Lesser General Public5* License as published by the Free Software Foundation; either6* version 2.1 of the License, or (at your option) any later version.7*8* FFmpeg is distributed in the hope that it will be useful,9* but WITHOUT ANY WARRANTY; without even the implied warranty of10* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU11* Lesser General Public License for more details.12*13* You should have received a copy of the GNU Lesser General Public14* License along with FFmpeg; if not, write to the Free Software15* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA16*/1718#include "libavutil/attributes.h"19#include "libavutil/float_dsp.h"20#include "cpu.h"21#include "float_dsp_arm.h"2223av_cold void ff_float_dsp_init_arm(AVFloatDSPContext *fdsp)24{25int cpu_flags = av_get_cpu_flags();2627if (have_vfp(cpu_flags))28ff_float_dsp_init_vfp(fdsp, cpu_flags);29if (have_neon(cpu_flags))30ff_float_dsp_init_neon(fdsp);31}323334