aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/arm/dcadsp_init_arm.c
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2016-01-02 11:01:29 +0100
committerHendrik Leppkes <h.leppkes@gmail.com>2016-01-02 11:01:29 +0100
commite754c8e8caa78d75efff5cb2d979635477c20378 (patch)
tree15d6289f14563c8db638f565dd0e8f75e18cbd71 /libavcodec/arm/dcadsp_init_arm.c
parent00e91d06767a5a28524cbfc271141970f744db23 (diff)
parente2710e790c09e49e86baa58c6063af0097cc8cb0 (diff)
downloadffmpeg-e754c8e8caa78d75efff5cb2d979635477c20378.tar.gz
Merge commit 'e2710e790c09e49e86baa58c6063af0097cc8cb0'
* commit 'e2710e790c09e49e86baa58c6063af0097cc8cb0': arm: add a cpu flag for the VFPv2 vector mode Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
Diffstat (limited to 'libavcodec/arm/dcadsp_init_arm.c')
-rw-r--r--libavcodec/arm/dcadsp_init_arm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/arm/dcadsp_init_arm.c b/libavcodec/arm/dcadsp_init_arm.c
index a54951584f..40ad78745c 100644
--- a/libavcodec/arm/dcadsp_init_arm.c
+++ b/libavcodec/arm/dcadsp_init_arm.c
@@ -59,7 +59,7 @@ av_cold void ff_dcadsp_init_arm(DCADSPContext *s)
{
int cpu_flags = av_get_cpu_flags();
- if (have_vfp(cpu_flags) && !have_vfpv3(cpu_flags)) {
+ if (have_vfp_vm(cpu_flags)) {
s->lfe_fir[0] = ff_dca_lfe_fir32_vfp;
s->lfe_fir[1] = ff_dca_lfe_fir64_vfp;
s->qmf_32_subbands = ff_dca_qmf_32_subbands_vfp;
@@ -75,7 +75,7 @@ av_cold void ff_synth_filter_init_arm(SynthFilterContext *s)
{
int cpu_flags = av_get_cpu_flags();
- if (have_vfp(cpu_flags) && !have_vfpv3(cpu_flags))
+ if (have_vfp_vm(cpu_flags))
s->synth_filter_float = ff_synth_filter_float_vfp;
if (have_neon(cpu_flags))
s->synth_filter_float = ff_synth_filter_float_neon;