shared
depthai-shared
include
depthai-shared
properties
CastProperties.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <vector>
4
5
#include "
depthai-shared/common/optional.hpp
"
6
#include "
depthai-shared/datatype/RawImgFrame.hpp
"
7
#include "
depthai-shared/properties/Properties.hpp
"
8
9
namespace
dai
{
10
14
struct
CastProperties
:
PropertiesSerializable
<Properties, CastProperties> {
15
dai::RawImgFrame::Type
outputType
=
dai::RawImgFrame::Type::RAW8
;
16
tl::optional<float>
scale
;
17
tl::optional<float>
offset
;
18
int
numFramesPool
= 4;
19
};
20
21
DEPTHAI_SERIALIZE_EXT
(
CastProperties
, numFramesPool, outputType, scale, offset);
22
23
}
// namespace dai
dai::RawImgFrame::Type::RAW8
@ RAW8
optional.hpp
dai::DEPTHAI_SERIALIZE_EXT
DEPTHAI_SERIALIZE_EXT(CameraSensorConfig, width, height, minFps, maxFps, fov, type)
dai::RawImgFrame::Type
Type
Definition:
RawImgFrame.hpp:13
dai::CastProperties
Definition:
CastProperties.hpp:14
dai::CastProperties::numFramesPool
int numFramesPool
Definition:
CastProperties.hpp:18
RawImgFrame.hpp
dai::CastProperties::outputType
dai::RawImgFrame::Type outputType
Definition:
CastProperties.hpp:15
tl::optional< float >
Properties.hpp
dai::PropertiesSerializable
Serializable properties.
Definition:
Properties.hpp:16
dai::CastProperties::scale
tl::optional< float > scale
Definition:
CastProperties.hpp:16
dai
Definition:
CameraExposureOffset.hpp:6
dai::CastProperties::offset
tl::optional< float > offset
Definition:
CastProperties.hpp:17
depthai
Author(s): Martin Peterlin
autogenerated on Sat Mar 22 2025 02:58:18