Skip to content

Commit

Permalink
Added pool sizes to the properties
Browse files Browse the repository at this point in the history
  • Loading branch information
themarpe committed Jul 12, 2022
1 parent 7ddb0e6 commit 6c8d10e
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion include/depthai-shared/properties/ColorCameraProperties.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,15 @@ struct ColorCameraProperties : PropertiesSerializable<Properties, ColorCameraPro
* Configure scaling for `isp` output.
*/
IspScale ispScale;

/**
* Pool sizes
*/
int numFramesPoolRaw = 3;
int numFramesPoolIsp = 3;
int numFramesPoolVideo = 4;
int numFramesPoolPreview = 4;
int numFramesPoolStill = 4;
};

DEPTHAI_SERIALIZE_EXT(ColorCameraProperties,
Expand All @@ -133,6 +142,11 @@ DEPTHAI_SERIALIZE_EXT(ColorCameraProperties,
sensorCropX,
sensorCropY,
previewKeepAspectRatio,
ispScale);
ispScale,
numFramesPoolRaw,
numFramesPoolIsp,
numFramesPoolVideo,
numFramesPoolPreview,
numFramesPoolStill);

} // namespace dai

0 comments on commit 6c8d10e

Please sign in to comment.