-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Json support phase 1 #291
Json support phase 1 #291
Conversation
tszumski
commented
Dec 16, 2024
•
edited
Loading
edited
- Fix compilation error on some configurations:
- Add nlohmann/json C++ json parser
- Parse json client config and connection config
- Add JSON configuration support for mesh client and connections
- Create JSON sender and receiver applications
- ST2110 bridges to take json parsed config
- Clone and modify sender/receiver sample app to support json
- Fix cmake/linker/grpc
- Add new 4 fields into MeshBuffer,
- Introduced setPayloadLen and setMetadataLen(partially) methods for MeshBuffer.
- Updated references from data_len and data to payload_len and payload_ptr across various files.
- Adjusted validation tests to reflect changes in buffer structure.
86a06b5
to
0651d43
Compare
VIDEO_FORMAT_YUV422P, ///< planar YUV 4:2:2, 16bpp | ||
VIDEO_FORMAT_YUV422P10LE, ///< planar YUV 4:2:2, 20bpp | ||
VIDEO_FORMAT_YUV444P10LE, ///< planar YUV 4:4:4, 30bpp | ||
VIDEO_FORMAT_RGB8, ///< packed RGB 3:3:2, 8bpp |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we really plan to support very lossy RGB8 (8bpp), or RGB24 (24bpp, 8-bit format)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FFmpeg describes RGB8 as 2:3:3. 3:3:2 is a BGR8.
IO... bgr8 3 8 3-3-2
Additionally, ST2110 does not support this format. The minimum is 8:8:8.
demangled = abi::__cxa_demangle(info.dli_sname, nullptr, 0, &status);
- Introduced setPayloadLen and setMetadataLen(partially) methods for MeshBuffer. - Updated references from data_len and data to payload_len and payload_ptr across various files. - Adjusted validation tests to reflect changes in buffer structure.
2f6e0f5
to
e84d6f0
Compare
sdk/CMakeLists.txt
Outdated
@@ -41,6 +41,7 @@ set(MCMDP_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/include) | |||
set(MEMIF_DIR ${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/libmemif) | |||
set(MCMDP_SAMPLE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/samples) | |||
set(PROTO_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../protos) | |||
set(NLOHMANN_JSON_DIR ${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/nlohmann) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Move upper, after libmemif
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in cb1a6cd
Closing, as #300 has been merged |