2016-12-11 16:52:17 +01:00
|
|
|
# jpeg-turbo has simd support for some architectures
|
|
|
|
config BR2_PACKAGE_JPEG_SIMD_SUPPORT
|
2016-12-11 19:14:23 +01:00
|
|
|
bool
|
|
|
|
default y if BR2_X86_CPU_HAS_MMX
|
|
|
|
default y if BR2_ARM_CPU_HAS_NEON
|
|
|
|
default y if BR2_POWERPC_CPU_HAS_ALTIVEC
|
|
|
|
default y if BR2_aarch64 || BR2_aarch64_be
|
2016-12-11 16:52:17 +01:00
|
|
|
|
2020-04-12 15:12:57 +02:00
|
|
|
config BR2_PACKAGE_JPEG
|
|
|
|
bool "jpeg support"
|
|
|
|
help
|
|
|
|
Select the desired JPEG library provider.
|
|
|
|
|
2012-12-13 23:58:11 +01:00
|
|
|
if BR2_PACKAGE_JPEG
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "jpeg variant"
|
2016-12-11 16:52:17 +01:00
|
|
|
default BR2_PACKAGE_JPEG_TURBO if BR2_PACKAGE_JPEG_SIMD_SUPPORT
|
2012-12-13 23:58:11 +01:00
|
|
|
help
|
2016-12-11 16:52:17 +01:00
|
|
|
Select the normal libjpeg or libjpeg-turbo.
|
2012-12-13 23:58:11 +01:00
|
|
|
|
|
|
|
config BR2_PACKAGE_LIBJPEG
|
2004-12-24 10:39:23 +01:00
|
|
|
bool "jpeg"
|
2014-06-08 16:15:08 +02:00
|
|
|
select BR2_PACKAGE_HAS_JPEG
|
2004-10-09 08:13:40 +02:00
|
|
|
help
|
2004-12-24 10:39:23 +01:00
|
|
|
The ubiquitous C library for manipulating JPEG images.
|
2004-10-09 08:13:40 +02:00
|
|
|
|
2004-12-24 10:39:23 +01:00
|
|
|
http://www.ijg.org/
|
2012-12-13 23:58:11 +01:00
|
|
|
|
|
|
|
config BR2_PACKAGE_JPEG_TURBO
|
|
|
|
bool "jpeg-turbo"
|
2014-06-08 16:15:08 +02:00
|
|
|
select BR2_PACKAGE_HAS_JPEG
|
2012-12-13 23:58:11 +01:00
|
|
|
help
|
|
|
|
Libjpeg-turbo is a derivative of libjpeg that uses SIMD
|
|
|
|
instructions (MMX, SSE2, NEON) to accelerate baseline JPEG
|
|
|
|
compression and decompression on x86, x86-64, and ARM
|
|
|
|
systems.
|
|
|
|
|
|
|
|
http://www.libjpeg-turbo.org
|
|
|
|
|
2019-07-29 22:20:01 +02:00
|
|
|
# libjpeg from br2-external trees, if any
|
|
|
|
source "$BR2_BASE_DIR/.br2-external.in.jpeg"
|
|
|
|
|
2012-12-13 23:58:11 +01:00
|
|
|
endchoice
|
|
|
|
|
2020-04-12 13:06:32 +02:00
|
|
|
source "package/jpeg-turbo/Config.in.options"
|
|
|
|
|
2014-04-05 17:21:54 +02:00
|
|
|
config BR2_PACKAGE_HAS_JPEG
|
2014-06-08 16:15:08 +02:00
|
|
|
bool
|
2014-04-05 17:21:54 +02:00
|
|
|
|
2013-12-20 23:27:58 +01:00
|
|
|
config BR2_PACKAGE_PROVIDES_JPEG
|
|
|
|
string
|
|
|
|
default "libjpeg" if BR2_PACKAGE_LIBJPEG
|
|
|
|
default "jpeg-turbo" if BR2_PACKAGE_JPEG_TURBO
|
|
|
|
|
2012-12-13 23:58:11 +01:00
|
|
|
endif
|