31#ifndef DW_FRAMEWORK_CAMERA_NODE_HPP_
32#define DW_FRAMEWORK_CAMERA_NODE_HPP_
42#include <dwframework/dwnodes/common/SensorCommonTypes.hpp>
47#include <dwframework/dwnodes/common/channelpackets/SelfCalibrationTypes.hpp>
48#include <dwframework/dwnodes/common/channelpackets/Rig.hpp>
50#include <dw/sensors/common/Sensors.h>
51#include <dw/sensors/common/SensorExtras.h>
52#include <dw/sensors/common/SensorStats.h>
53#include <dw/sensors/camera/Camera.h>
55#include <nvmedia_6x/nvmedia_ldc.h>
62class dwCameraChannelNodeImpl;
69 return describeEnumeratorCollection<dwSensorTsAndIDSource>(
82 dwConstRigHandle_t
rig;
96 static constexpr char LOG_TAG[] =
"dwCameraChannelNode";
127 describePass(StringView{
"SETUP"}, DW_PROCESSOR_TYPE_CPU),
128 describePass(StringView{
"PROCESSED_OUTPUT"}, DW_PROCESSOR_TYPE_GPU),
129 describePass(StringView{
"TEARDOWN"}, DW_PROCESSOR_TYPE_CPU));
134 return DW_SENSOR_CAMERA;
144 if (channelConnectListnerNode)
159 describeConstructorArgument<dwCameraChannelNodeParams>(
182 "useEEPROMIntrinsics"_sv,
192 "errorHandlingEnabled"_sv,
196 dwSensorTsAndIDSource,
198 DW_SENSOR_TS_AND_ID_SOURCE_SENSOR,
200 describeConstructorArgument<dwContextHandle_t>(
202 dwContextHandle_t)));
206 const dwContextHandle_t ctx);
#define DW_DESCRIBE_C_ENUMERATOR(NAME)
Syntactic sugar calling describeEnumerator().
#define DW_DESCRIBE_INDEX_PARAMETER_WITH_SEMANTIC(TYPE_NAME, SEMANTIC_TYPE_NAME, args...)
#define DW_DESCRIBE_INDEX_PARAMETER(TYPE_NAME, args...)
#define DW_DESCRIBE_PARAMETER_WITH_DEFAULT(TYPE_NAME, args...)
#define DW_DESCRIBE_UNNAMED_PARAMETER_WITH_SEMANTIC(TYPE_NAME, SEMANTIC_TYPE_NAME, args...)
#define DW_DESCRIBE_UNNAMED_PARAMETER(TYPE_NAME, args...)
#define DW_DESCRIBE_PARAMETER(TYPE_NAME, args...)
#define DW_DESCRIBE_PORT(TYPE_NAME, NAME, args...)
std::unique_ptr< Node > m_impl
virtual void onChannelsConnected()=0
Callback received after channels are connected.
The interface to access parameter values identified by name and/or (semantic) type.
static constexpr auto describeInputPorts()
dwSensorType getSensorType() const
void onChannelsConnected() override
dwCameraChannelNode(dwCameraChannelNodeParams const ¶ms, const dwContextHandle_t ctx)
static constexpr char LOG_TAG[]
static constexpr auto describePasses()
static std::unique_ptr< dwCameraChannelNode > create(ParameterProvider &provider)
static constexpr auto describeOutputPorts()
static constexpr auto describeParameters()
char8_t const * sensorName
constexpr std::tuple describeConstructorArguments()
bool errorHandlingEnabled
constexpr PassDescriptorT< 0 > describePass(dw::core::StringView &&name, dwProcessorType processorType)
constexpr auto describePassCollection(const Args &&... args) -> std::tuple< Args... >
constexpr auto describePortCollection(Args &&... args) -> dw::core::Tuple< Args... >
dwImageProperties imageProperties
dw::core::FixedString< 32 > frameSkipMask
dwSensorTsAndIDSource dataSource
std::array< std::pair< dw::core::StringView, EnumT >, NumberOfEnumerators > EnumDescriptionReturnType
static constexpr EnumDescriptionReturnType< dwSensorTsAndIDSource, 4 > get()