summaryrefslogtreecommitdiff
path: root/packages/graphics/libjpeg/libjpeg.kconfig
blob: d120533b7abd0e465827f7d3f763a4a1977ac914 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
################################################################################
# Embtoolkit
# Copyright(C) 2009-2010 Abdoulaye Walsimou GAYE. All rights reserved.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
#
################################################################################
#
# \file         libjpeg.kconfig
# \brief	libjpeg.kconfig of Embtoolkit
# \author       Abdoulaye Walsimou GAYE <awg@embtoolkit.org>
# \date         October 2009
################################################################################

config EMBTK_HAVE_LIBJPEG
	bool "Have libjpeg"
	help
		JPEG (pronounced "jay-peg") is a standardized image compression
		mechanism. JPEG stands for Joint Photographic Experts Group, the
		original name of the committee that wrote the standard.

choice
	prompt "libjpeg version you wish"
	depends on EMBTK_HAVE_LIBJPEG
	help
		Here you can choose which version of libjpeg you want to use.

	config  EMBTK_LIBJPEG_VERSION_V8
		bool "libjpeg-8"
	config  EMBTK_LIBJPEG_VERSION_V7
		bool "libjpeg-7"
endchoice

config	EMBTK_LIBJPEG_VERSION_STRING
	string
	default "8"		if EMBTK_LIBJPEG_VERSION_V8
	default "7"		if EMBTK_LIBJPEG_VERSION_V7