janus-gateway: make echo test plugin optional
[buildroot-gz.git] / package / jpeg / Config.in
bloba4a63cc7dca181ad7cdfca6bff0da95f791ca867
1 config BR2_PACKAGE_JPEG
2         bool "jpeg support"
3         help
4           Select the desired JPEG library provider.
6 # jpeg-turbo has simd support for some architectures
7 config BR2_PACKAGE_JPEG_SIMD_SUPPORT
8         bool
9         default y if BR2_X86_CPU_HAS_MMX
10         default y if BR2_ARM_CPU_HAS_NEON
11         default y if BR2_POWERPC_CPU_HAS_ALTIVEC
12         default y if BR2_aarch64 || BR2_aarch64_be
14 if BR2_PACKAGE_JPEG
16 choice
17         prompt "jpeg variant"
18         default BR2_PACKAGE_JPEG_TURBO if BR2_PACKAGE_JPEG_SIMD_SUPPORT
19         help
20           Select the normal libjpeg or libjpeg-turbo.
22 config BR2_PACKAGE_LIBJPEG
23         bool "jpeg"
24         select BR2_PACKAGE_HAS_JPEG
25         help
26           The ubiquitous C library for manipulating JPEG images.
28           http://www.ijg.org/
30 config BR2_PACKAGE_JPEG_TURBO
31         bool "jpeg-turbo"
32         select BR2_PACKAGE_HAS_JPEG
33         help
34           Libjpeg-turbo is a derivative of libjpeg that uses SIMD
35           instructions (MMX, SSE2, NEON) to accelerate baseline JPEG
36           compression and decompression on x86, x86-64, and ARM
37           systems.
39           http://www.libjpeg-turbo.org
41 endchoice
43 config BR2_PACKAGE_HAS_JPEG
44         bool
46 config BR2_PACKAGE_PROVIDES_JPEG
47         string
48         default "libjpeg"    if BR2_PACKAGE_LIBJPEG
49         default "jpeg-turbo" if BR2_PACKAGE_JPEG_TURBO
51 endif