Integrated "Fattal02" tone-mapping operator from Luminance HDR

This commit is contained in:
Alberto Griggio
2017-11-02 22:34:49 +01:00
parent dd6e411c13
commit 77b4ad497b
17 changed files with 1267 additions and 1 deletions

View File

@@ -307,6 +307,7 @@ if(WITH_SYSTEM_KLT)
find_package(KLT REQUIRED)
endif()
# Check for libcanberra-gtk3 (sound events on Linux):
if(UNIX AND(NOT APPLE))
pkg_check_modules(CANBERRA-GTK REQUIRED libcanberra-gtk3)
@@ -341,6 +342,16 @@ if(OPTION_OMP)
endif()
endif()
# check for libfftw3f_omp
if(OPENMP_FOUND)
find_library(fftw3f_omp fftw3f_omp PATHS ${FFTW3F_LIBRARY_DIRS})
if(fftw3f_omp)
add_definitions(-DRT_FFTW3F_OMP)
set(FFTW3F_LIBRARIES ${FFTW3F_LIBRARIES} ${fftw3f_omp})
endif()
endif()
# Find out whether we are building out of source:
get_filename_component(ABS_SOURCE_DIR "${PROJECT_SOURCE_DIR}" ABSOLUTE)
get_filename_component(ABS_BINARY_DIR "${CMAKE_BINARY_DIR}" ABSOLUTE)