Commit d63b53d1 authored by Erwan Croze's avatar Erwan Croze 👋🏻

Add TurboJpeg

parent 8762d5e5
......@@ -49,6 +49,7 @@ lcb_cmake_options(
"-DENABLE_SPEEX_CODEC=${ENABLE_SPEEX}"
"-DENABLE_BV16=${ENABLE_BV16}"
"-DENABLE_G729B_CNG=${ENABLE_G729B_CNG}"
"-DENABLE_JPEG=${ENABLE_JPEG}"
)
if(ENABLE_GSM AND LINPHONE_BUILDER_BUILD_DEPENDENCIES)
lcb_dependencies("gsm")
......@@ -65,6 +66,9 @@ endif()
if(ENABLE_G729B_CNG)
lcb_dependencies("bcg729bcng")
endif()
if(ENABLE_JPEG)
lcb_dependencies("turbo-jpeg")
endif()
lcb_cmake_options("-DENABLE_VIDEO=${ENABLE_VIDEO}")
if(ENABLE_VIDEO)
......
############################################################################
# turbo-jpeg.cmake
# Copyright (C) 2014 Belledonne Communications, Grenoble France
#
############################################################################
#
# 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, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#
############################################################################
lcb_git_repository("git://git.linphone.org/libjpeg-turbo.git")
#lcb_git_tag("f6b57f3521404f587f23d79ecd1b6db0dab6a221")
lcb_external_source_paths("externals/libjpeg-turbo")
......@@ -30,6 +30,7 @@ set(DEFAULT_VALUE_ENABLE_GPL_THIRD_PARTIES ON)
set(DEFAULT_VALUE_ENABLE_GSM ON)
set(DEFAULT_VALUE_ENABLE_ILBC ON)
set(DEFAULT_VALUE_ENABLE_ISAC ON)
set(DEFAULT_VALUE_ENABLE_JPEG ON)
set(DEFAULT_VALUE_ENABLE_MBEDTLS ON)
set(DEFAULT_VALUE_ENABLE_MKV ON)
set(DEFAULT_VALUE_ENABLE_OPUS ON)
......
......@@ -26,6 +26,7 @@ set(DEFAULT_VALUE_ENABLE_FFMPEG ON)
set(DEFAULT_VALUE_ENABLE_GPL_THIRD_PARTIES ON)
set(DEFAULT_VALUE_ENABLE_GSM ON)
set(DEFAULT_VALUE_ENABLE_GTK_UI ON)
set(DEFAULT_VALUE_ENABLE_JPEG ON)
set(DEFAULT_VALUE_ENABLE_MBEDTLS ON)
set(DEFAULT_VALUE_ENABLE_MKV ON)
set(DEFAULT_VALUE_ENABLE_OPUS ON)
......
......@@ -45,6 +45,7 @@ lcb_add_option("OPUS" "OPUS audio encoding/decoding support." "${DEFAULT_VALUE_
lcb_add_option("Silk" "Silk audio encoding/decoding support." "${DEFAULT_VALUE_ENABLE_SILK}")
lcb_add_option("Speex" "Speex audio encoding/decoding support." "${DEFAULT_VALUE_ENABLE_SPEEX}")
lcb_add_option("BV16" "BroadVoice 16 audio encoding/decoding support." "${DEFAULT_VALUE_ENABLE_BV16}")
lcb_add_option("jpeg" "JPEG support with libjpeg-turbo." "${DEFAULT_VALUE_ENABLE_JPEG}")
#video options and codecs
lcb_add_option("Video" "Ability to capture and display video." "${DEFAULT_VALUE_ENABLE_VIDEO}")
# FFMpeg is LGPL which is an issue only for iOS applications; otherwise it can be used in proprietary software as well
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment