lavu: add AESNI CPU flag

This commit is contained in:
Rodger Combs
2015-10-26 02:08:58 -05:00
parent 057ce755b9
commit 1e477a970f
9 changed files with 26 additions and 7 deletions

View File

@@ -126,6 +126,8 @@ int ff_get_cpu_flags_x86(void)
rval |= AV_CPU_FLAG_SSE4;
if (ecx & 0x00100000 )
rval |= AV_CPU_FLAG_SSE42;
if (ecx & 0x01000000 )
rval |= AV_CPU_FLAG_AESNI;
#if HAVE_AVX
/* Check OXSAVE and AVX bits */
if ((ecx & 0x18000000) == 0x18000000) {