Merge branch 'test/decoder_multiplexing_v2develop' into v2/develop

This commit is contained in:
ob-yalian
2026-09-15 10:26:01 +08:00
3 changed files with 166 additions and 21 deletions
@@ -14,15 +14,10 @@
* limitations under the License.
*******************************************************************************/
#pragma once
#include "utils.h"
#include <opencv2/opencv.hpp>
#include <memory>
#include "jpeg_decoder.h"
#include <NvJpegDecoder.h>
#include <NvUtils.h>
#include <NvV4l2Element.h>
#include <NvJpegDecoder.h>
#include <NvV4l2Element.h>
namespace orbbec_camera {
class JetsonNvJPEGDecoder : public JPEGDecoder {
@@ -33,6 +28,7 @@ class JetsonNvJPEGDecoder : public JPEGDecoder {
bool decode(const std::shared_ptr<ob::ColorFrame>& frame, uint8_t* dest) override;
private:
NvJPEGDecoder* decoder_;
class Impl;
std::unique_ptr<Impl> decoder_;
};
} // namespace orbbec_camera
} // namespace orbbec_camera