LCamDev: implement configureSessionModeCReq
We can, theoretically, now change the v4l camera's mode.
This commit is contained in:
@@ -13,6 +13,9 @@ if(ENABLE_LIB_lcameraDev)
|
||||
add_library(lcameraDev SHARED
|
||||
lcameraDev.cpp
|
||||
cameraIdentity.cpp
|
||||
cameraModeRequest.cpp
|
||||
planarYuvFormatPolicy.cpp
|
||||
sessionModeConfigure.cpp
|
||||
selectorParse.cpp
|
||||
selectorResolve.cpp
|
||||
cameraManagerState.cpp
|
||||
@@ -59,7 +62,8 @@ if(ENABLE_LIB_lcameraDev)
|
||||
if(NOT TARGET spinscale_test_support)
|
||||
message(FATAL_ERROR
|
||||
"lcameraDev probe tools require spinscale_test_support. "
|
||||
"Configure with -DENABLE_TESTS=ON.")
|
||||
"Configure with -DLIBSPINSCALE_BUILD_TESTS=ON "
|
||||
"(salmanoff sets this automatically when -DENABLE_TESTS=ON).")
|
||||
endif()
|
||||
|
||||
add_executable(lcameraDev_list_cameras
|
||||
@@ -99,6 +103,25 @@ if(ENABLE_LIB_lcameraDev)
|
||||
Boost::system
|
||||
Boost::log
|
||||
)
|
||||
|
||||
add_executable(lcameraDev_configure_probe
|
||||
tools/lcameraDevConfigureProbe.cpp
|
||||
tools/probeRunner.cpp
|
||||
)
|
||||
target_include_directories(lcameraDev_configure_probe PRIVATE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/tools
|
||||
${CMAKE_SOURCE_DIR}/include
|
||||
${CMAKE_BINARY_DIR}/include
|
||||
${CMAKE_SOURCE_DIR}/libspinscale/tests
|
||||
)
|
||||
target_link_libraries(lcameraDev_configure_probe PRIVATE
|
||||
lcameraDev
|
||||
spinscale
|
||||
spinscale_test_support
|
||||
Boost::system
|
||||
Boost::log
|
||||
)
|
||||
endif()
|
||||
|
||||
if(ENABLE_TESTS)
|
||||
|
||||
Reference in New Issue
Block a user