mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 22:26:31 +00:00
ffmpeg: Add sse4 related options BR2_X86_CPU_HAS_SSE4 / BR2_X86_CPU_HAS_SSE4
Signed-off-by: Bernd Kuhls <berndkuhls@hotmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
4258f82e1a
commit
0e8e3c2879
@ -9,6 +9,10 @@ config BR2_X86_CPU_HAS_SSE3
|
|||||||
bool
|
bool
|
||||||
config BR2_X86_CPU_HAS_SSSE3
|
config BR2_X86_CPU_HAS_SSSE3
|
||||||
bool
|
bool
|
||||||
|
config BR2_X86_CPU_HAS_SSE4
|
||||||
|
bool
|
||||||
|
config BR2_X86_CPU_HAS_SSE42
|
||||||
|
bool
|
||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "Target Architecture Variant"
|
prompt "Target Architecture Variant"
|
||||||
|
@ -249,6 +249,18 @@ else
|
|||||||
FFMPEG_CONF_OPT += --disable-ssse3
|
FFMPEG_CONF_OPT += --disable-ssse3
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_X86_CPU_HAS_SSE4),y)
|
||||||
|
FFMPEG_CONF_OPT += --enable-sse4
|
||||||
|
else
|
||||||
|
FFMPEG_CONF_OPT += --disable-sse4
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_X86_CPU_HAS_SSE42),y)
|
||||||
|
FFMPEG_CONF_OPT += --enable-sse42
|
||||||
|
else
|
||||||
|
FFMPEG_CONF_OPT += --disable-sse42
|
||||||
|
endif
|
||||||
|
|
||||||
# Explicitly disable everything that doesn't match for ARM
|
# Explicitly disable everything that doesn't match for ARM
|
||||||
# FFMPEG "autodetects" by compiling an extended instruction via AS
|
# FFMPEG "autodetects" by compiling an extended instruction via AS
|
||||||
# This works on compilers that aren't built for generic by default
|
# This works on compilers that aren't built for generic by default
|
||||||
|
Loading…
x
Reference in New Issue
Block a user