Skip to content
Snippets Groups Projects
Commit 1bc6cb88 authored by Thomas Feuvrier's avatar Thomas Feuvrier
Browse files

Ajout option de configuration pour utilisation du streaming dans les applications

parent acb8b063
Branches
Tags
No related merge requests found
......@@ -261,6 +261,15 @@ ENDIF( OTB_SHOW_ALL_MSG_DEBUG )
OPTION(OTB_DISABLE_CXX_EXAMPLES_TESTING "Disable examples testing." OFF)
MARK_AS_ADVANCED(OTB_DISABLE_CXX_EXAMPLES_TESTING)
#-----------------------------------------------------------------------------
# Option to define streaming activation in applications
# Use by otbConfigure.h.in
SET(OTB_STREAM_IMAGE_SIZE_TO_ACTIVATE_STREAMING 8*2000*2000 CACHE STRING "Image size to activate using streaming for applications.")
MARK_AS_ADVANCED(OTB_STREAM_IMAGE_SIZE_TO_ACTIVATE_STREAMING)
SET(OTB_STREAM_MAX_SIZE_BUFFER_FOR_STREAMING 8*2000*10 CACHE STRING "Max size buffer for streaming.")
MARK_AS_ADVANCED(OTB_STREAM_MAX_SIZE_BUFFER_FOR_STREAMING)
#-----------------------------------------------------------------------------
# Option for generate Patented examples !!!
OPTION(OTB_USE_PATENTED "Build patented examples. ITK must be genereted whith patented option (ITK_USE_PATENTED = ON)." OFF)
......
......@@ -46,3 +46,8 @@
#define OTB_VERSION_MINOR @OTB_VERSION_MINOR@
#define OTB_VERSION_PATCH @OTB_VERSION_PATCH@
#define OTB_VERSION_STRING "@OTB_VERSION_STRING@"
/* Streaming configuration for application */
#define OTB_STREAM_IMAGE_SIZE_TO_ACTIVATE_STREAMING @OTB_STREAM_IMAGE_SIZE_TO_ACTIVATE_STREAMING@
#define OTB_STREAM_MAX_SIZE_BUFFER_FOR_STREAMING @OTB_STREAM_MAX_SIZE_BUFFER_FOR_STREAMING@
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment