generated from AMWA-TV/info-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
All functions translated and created new json test files
All functions translated and created new json test files
- Loading branch information
1 parent
df4640c
commit bc1c7e8
Showing
9 changed files
with
307 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"id": "db9f46cf-2414-4e25-b6c6-2078159857f9", | ||
"label": "BISECT OSSRF receiver video", | ||
"description": "BISECT OSSRF receiver video", | ||
"network": { | ||
"primary": { | ||
"interface_address": "192.168.88.92", | ||
"interface_name": "wlp1s0" | ||
} | ||
}, | ||
"capabilities": [ | ||
"video/raw" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"id": "e543a2c1-d6a2-47f5-8d14-296bb6714ef2", | ||
"label": "BISECT OSSRF sender video", | ||
"description": "BISECT OSSRF sender video", | ||
"network": { | ||
"primary": { | ||
"source_address": "192.168.88.92", | ||
"interface_name": "wlp1s0", | ||
"destination_address": "192.168.88.92", | ||
"destination_port": 5004 | ||
} | ||
}, | ||
"payload_type": 97, | ||
"media_type": "video/raw", | ||
"media": { | ||
"width": 640, | ||
"height": 480, | ||
"frame_rate": { | ||
"num": 50, | ||
"den": 1 | ||
}, | ||
"sampling": "YCbCr-4:2:2", | ||
"structure": "progressive" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
cmake_minimum_required(VERSION 3.16) | ||
project(ossrf_c_nmos_api LANGUAGES CXX C) | ||
|
||
find_package(nlohmann_json REQUIRED) | ||
|
||
file(GLOB_RECURSE ${PROJECT_NAME}_source_files *.cpp *.h) | ||
|
||
add_library(${PROJECT_NAME} STATIC ${${PROJECT_NAME}_source_files}) | ||
|
||
target_link_libraries( | ||
${PROJECT_NAME} | ||
PRIVATE project_options project_warnings | ||
PUBLIC | ||
bisect::project_warnings | ||
bisect::expected | ||
bisect::bisect_nmoscpp | ||
bisect::bisect_json | ||
nlohmann_json::nlohmann_json | ||
ossrf::ossrf_nmos_api | ||
) | ||
|
||
set_target_properties( | ||
${PROJECT_NAME} | ||
PROPERTIES CXX_EXTENSIONS NO | ||
POSITION_INDEPENDENT_CODE ON) | ||
|
||
target_compile_features(${PROJECT_NAME} PUBLIC cxx_std_23) | ||
|
||
target_include_directories( | ||
${PROJECT_NAME} | ||
PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> | ||
$<BUILD_INTERFACE:${PROJECT_BINARY_DIR}/include> | ||
$<INSTALL_INTERFACE:include> | ||
PRIVATE src) | ||
|
||
add_library(ossrf::${PROJECT_NAME} ALIAS ${PROJECT_NAME}) | ||
|
||
install(TARGETS ${PROJECT_NAME}) | ||
install(DIRECTORY "${CMAKE_CURRENT_LIST_DIR}/include" # source directory | ||
DESTINATION "." # target directory | ||
FILES_MATCHING # install only matched files | ||
PATTERN "*.h" # select header files | ||
) |
Oops, something went wrong.