Skip to content
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

Mock isp #951

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmake/Depthai/DepthaiDeviceSideConfig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
set(DEPTHAI_DEVICE_SIDE_MATURITY "snapshot")

# "full commit hash of device side binary"
set(DEPTHAI_DEVICE_SIDE_COMMIT "a4c08c837e1637552fde7c9300001e0cf89d4a0d")
set(DEPTHAI_DEVICE_SIDE_COMMIT "df92ba23ee3f61a557b8bb15b9d539c77dc5caee")

# "version if applicable"
set(DEPTHAI_DEVICE_SIDE_VERSION "")
12 changes: 6 additions & 6 deletions include/depthai/pipeline/node/Camera.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,12 @@ class Camera : public NodeCRTP<Node, Camera, CameraProperties> {
*/
Output frameEvent{*this, "frameEvent", Output::Type::MSender, {{DatatypeEnum::ImgFrame, false}}};

// /**
// * Input for mocking 'isp' functionality.
// *
// * Default queue is non-blocking with size 8
// */
// Input mockIsp{*this, "mockIsp", Input::Type::SReceiver, false, 8, {{DatatypeEnum::ImgFrame, false}}};
/**
* Input for mocking 'isp' functionality.
*
* Default queue is blocking with size 8
*/
Input mockIsp{*this, "mockIsp", Input::Type::SReceiver, true, 8, {{DatatypeEnum::ImgFrame, false}}};

/**
* Specify which board socket to use
Expand Down
7 changes: 7 additions & 0 deletions include/depthai/pipeline/node/ColorCamera.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,13 @@ class ColorCamera : public NodeCRTP<Node, ColorCamera, ColorCameraProperties> {
*/
Input inputControl{*this, "inputControl", Input::Type::SReceiver, true, 8, {{DatatypeEnum::CameraControl, false}}};

/**
* Input for mocking 'isp' functionality.
*
* Default queue is blocking with size 8
*/
Input mockIsp{*this, "mockIsp", Input::Type::SReceiver, true, 8, {{DatatypeEnum::ImgFrame, false}}};

/**
* Outputs ImgFrame message that carries NV12 encoded (YUV420, UV plane interleaved) frame data.
*
Expand Down
7 changes: 7 additions & 0 deletions include/depthai/pipeline/node/MonoCamera.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,13 @@ class MonoCamera : public NodeCRTP<Node, MonoCamera, MonoCameraProperties> {
*/
Input inputControl{*this, "inputControl", Input::Type::SReceiver, true, 8, {{DatatypeEnum::CameraControl, false}}};

/**
* Input for mocking 'isp' functionality.
*
* Default queue is blocking with size 8
*/
Input mockIsp{*this, "mockIsp", Input::Type::SReceiver, true, 8, {{DatatypeEnum::ImgFrame, false}}};

/**
* Outputs ImgFrame message that carries RAW8 encoded (grayscale) frame data.
*
Expand Down
Loading