Adaptation for IR MJPG software decoding processing.

This commit is contained in:
lixiaobin
2023-10-25 09:52:44 +08:00
parent 0448fdec11
commit 1b225a0587
2 changed files with 50 additions and 1 deletions
@@ -274,6 +274,8 @@ class OBCameraNode {
bool decodeColorFrameToBuffer(const std::shared_ptr<ob::Frame>& frame, uint8_t* buffer);
std::shared_ptr<ob::Frame> decodeIRMJPGFrame(const std::shared_ptr<ob::Frame>& frame);
void onNewFrameCallback(const std::shared_ptr<ob::Frame>& frame,
const stream_index_pair& stream_index);