Commit a282f146 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

libmpeg2: enable non-upstream NEON optimizations if available

parent 843da0f1
......@@ -216,6 +216,11 @@ static int OpenDecoder( vlc_object_t *p_this )
#elif defined(__arm__)
i_accel |= MPEG2_ACCEL_ARM;
# ifdef MPEG2_ACCEL_ARM_NEON
if( vlc_CPU() & CPU_CAPABILITY_NEON )
i_accel |= MPEG2_ACCEL_ARM_NEON;
# endif
#else
/* If we do not know this CPU, trust libmpeg2's feature detection */
i_accel = MPEG2_ACCEL_DETECT;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment