mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-24 02:20:56 +01:00
aarch64: remove VFP feature check
This is not actually used for anything. The configure check causes the CPU feature flag to be set, but nothing consumes it at all. While AArch64 does have VFP, it is only used for the scalar C code. Conversely, it is still possible to disable VFP, by changing the C compiler flags as before (though that only makes sense for an hypothetical non-standard Armv8 platform without VFP). Note that this retains the "vfp" option flag, for backward compatibility and on the very remote but theoretically possible chance that FFmpeg actually makes use of it in the future. AV_CPU_FLAG_VFP is retained as it is actually used by AArch32.
This commit is contained in:
parent
82cb4b1c05
commit
f032234953
2 changed files with 2 additions and 5 deletions
|
|
@ -107,8 +107,7 @@ static int detect_flags(void)
|
|||
int ff_get_cpu_flags_aarch64(void)
|
||||
{
|
||||
int flags = AV_CPU_FLAG_ARMV8 * HAVE_ARMV8 |
|
||||
AV_CPU_FLAG_NEON * HAVE_NEON |
|
||||
AV_CPU_FLAG_VFP * HAVE_VFP;
|
||||
AV_CPU_FLAG_NEON * HAVE_NEON;
|
||||
|
||||
#ifdef __ARM_FEATURE_DOTPROD
|
||||
flags |= AV_CPU_FLAG_DOTPROD;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue