mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-27 09:11:17 +00:00
lavu/arm: Check for have_vfp_vm instead of !have_vfpv3 for float_dsp_vfp
This was missed ine754c8e8
/e2710e790c
since those functions weren't exercised by checkasm. Fixes ticket #6766.
This commit is contained in:
parent
2c9fa4162b
commit
f1fd12ef85
@ -36,11 +36,11 @@ void ff_butterflies_float_vfp(float *av_restrict v1, float *av_restrict v2, int
|
|||||||
|
|
||||||
av_cold void ff_float_dsp_init_vfp(AVFloatDSPContext *fdsp, int cpu_flags)
|
av_cold void ff_float_dsp_init_vfp(AVFloatDSPContext *fdsp, int cpu_flags)
|
||||||
{
|
{
|
||||||
if (!have_vfpv3(cpu_flags)) {
|
if (have_vfp_vm(cpu_flags)) {
|
||||||
fdsp->vector_fmul = ff_vector_fmul_vfp;
|
fdsp->vector_fmul = ff_vector_fmul_vfp;
|
||||||
fdsp->vector_fmul_window = ff_vector_fmul_window_vfp;
|
fdsp->vector_fmul_window = ff_vector_fmul_window_vfp;
|
||||||
}
|
}
|
||||||
fdsp->vector_fmul_reverse = ff_vector_fmul_reverse_vfp;
|
fdsp->vector_fmul_reverse = ff_vector_fmul_reverse_vfp;
|
||||||
if (!have_vfpv3(cpu_flags))
|
if (have_vfp_vm(cpu_flags))
|
||||||
fdsp->butterflies_float = ff_butterflies_float_vfp;
|
fdsp->butterflies_float = ff_butterflies_float_vfp;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user