mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
caab8e819b
* add new rgbtransform * activate rgbtransform * integrate new transform and gamma in adjustment, disable transform * fix brighness limit * advance upper and lower thresholds * start removing color transform * adjust configs/schema * implement json for new color adjustment * finish hyperion-remote extension for new adjustment settings * fix typos * rename luminance to brightness fix jsonapi for new adjustment * fix some bugs in adjustments * fix i18n * fix gamma via json * now brighness values goes from 0-1 with 0.5 is the default for all brighness is equal between the channels. less 0.5 all channels scaled down to new brighness, above 0.5 if possible channel gets brighter - but brighness is not equal between the channels anymore brighness value curve is now exponential instead of linear - this feels more natural * hslv cleanup
70 lines
1.6 KiB
CMake
70 lines
1.6 KiB
CMake
# Needed for testing non-public components
|
|
include_directories(../libsrc)
|
|
|
|
if(ENABLE_SPIDEV)
|
|
# Add the simple test executable 'TestSpi'
|
|
add_executable(test_spi TestSpi.cpp)
|
|
target_link_libraries(test_spi hyperion effectengine)
|
|
|
|
add_executable(spidev_test spidev_test.c)
|
|
|
|
add_executable(gpio2spi switchPinCtrl.c)
|
|
endif(ENABLE_SPIDEV)
|
|
|
|
add_executable(test_configfile
|
|
TestConfigFile.cpp)
|
|
target_link_libraries(test_configfile
|
|
hyperion
|
|
effectengine
|
|
)
|
|
|
|
add_executable(test_ImageRgb
|
|
TestRgbImage.cpp)
|
|
target_link_libraries(test_ImageRgb
|
|
hyperion-utils)
|
|
|
|
add_executable(test_image2ledsmap
|
|
TestImage2LedsMap.cpp)
|
|
target_link_libraries(test_image2ledsmap
|
|
hyperion
|
|
effectengine
|
|
)
|
|
|
|
if (ENABLE_DISPMANX)
|
|
add_subdirectory(dispmanx2png)
|
|
endif (ENABLE_DISPMANX)
|
|
|
|
add_executable(test_blackborderdetector TestBlackBorderDetector.cpp)
|
|
target_link_libraries(test_blackborderdetector
|
|
effectengine
|
|
hyperion)
|
|
|
|
add_executable(test_blackborderprocessor
|
|
TestBlackBorderProcessor.cpp)
|
|
target_link_libraries(test_blackborderprocessor
|
|
hyperion
|
|
effectengine
|
|
)
|
|
|
|
add_executable(test_qregexp TestQRegExp.cpp)
|
|
target_link_libraries(test_qregexp
|
|
${QT_LIBRARIES})
|
|
|
|
add_executable(test_qtscreenshot TestQtScreenshot.cpp)
|
|
target_link_libraries(test_qtscreenshot
|
|
${QT_LIBRARIES})
|
|
|
|
qt5_use_modules(test_qregexp Widgets)
|
|
qt5_use_modules(test_qtscreenshot Widgets)
|
|
|
|
if(ENABLE_X11)
|
|
# Find X11
|
|
find_package(X11 REQUIRED)
|
|
|
|
add_executable(test_x11performance TestX11Performance.cpp)
|
|
target_link_libraries(test_x11performance ${X11_LIBRARIES} ${QT_LIBRARIES})
|
|
|
|
qt5_use_modules(test_x11performance Widgets)
|
|
endif(ENABLE_X11)
|
|
|