kayasrc: add new source element for KAYA frame grabbers

Currently only tested with one BayerGB8 camera on a Komodo board.

Missing dropped frame detection and 16-bit bayer support.
This commit is contained in:
Joshua M. Doe
2018-07-09 10:17:59 -04:00
parent 6e507ef15f
commit bf35f7f832
6 changed files with 848 additions and 0 deletions

32
sys/kaya/CMakeLists.txt Normal file
View File

@@ -0,0 +1,32 @@
set (SOURCES
gstkayasrc.c
)
set (HEADERS
gstkayasrc.h)
include_directories (AFTER
${GSTREAMER_INCLUDE_DIR}/..
${KAYA_INCLUDE_DIR}
${PROJECT_SOURCE_DIR}/common
)
set (libname libgstkaya)
add_library (${libname} MODULE
${SOURCES}
${HEADERS})
target_link_libraries (${libname}
${GLIB2_LIBRARIES}
${GOBJECT_LIBRARIES}
${GSTREAMER_LIBRARY}
${GSTREAMER_BASE_LIBRARY}
${GSTREAMER_VIDEO_LIBRARY}
${KAYA_LIBRARIES}
)
set (pdbfile "${CMAKE_CURRENT_BINARY_DIR}/\${CMAKE_INSTALL_CONFIG_NAME}/${libname}.pdb")
install (FILES ${pdbfile} DESTINATION lib/gstreamer-1.0)
install(TARGETS ${libname}
LIBRARY DESTINATION lib/gstreamer-1.0)