Public Attributes | Static Public Attributes | List of all members
dai::GlobalProperties Struct Reference

#include <GlobalProperties.hpp>

Inheritance diagram for dai::GlobalProperties:
Inheritance graph
[legend]

Public Attributes

tl::optional< dai::EepromDatacalibData
 
tl::optional< std::uint32_t > cameraTuningBlobSize
 
std::string cameraTuningBlobUri
 
double leonCssFrequencyHz = 700 * 1000 * 1000
 
double leonMssFrequencyHz = 700 * 1000 * 1000
 
tl::optional< std::string > pipelineName
 
tl::optional< std::string > pipelineVersion
 
uint32_t sippBufferSize = SIPP_BUFFER_DEFAULT_SIZE
 
uint32_t sippDmaBufferSize = SIPP_DMA_BUFFER_DEFAULT_SIZE
 
int32_t xlinkChunkSize = -1
 

Static Public Attributes

constexpr static uint32_t SIPP_BUFFER_DEFAULT_SIZE = 18 * 1024
 
constexpr static uint32_t SIPP_DMA_BUFFER_DEFAULT_SIZE = 16 * 1024
 

Additional Inherited Members

- Public Member Functions inherited from dai::PropertiesSerializable< Properties, GlobalProperties >
virtual std::unique_ptr< Propertiesclone () const override
 
virtual void serialize (std::vector< std::uint8_t > &data, SerializationType type=SerializationType::LIBNOP) const override
 
- Public Member Functions inherited from dai::Properties
virtual std::unique_ptr< Propertiesclone () const =0
 
virtual ~Properties ()=default
 

Detailed Description

Specify properties which apply for whole pipeline

Definition at line 12 of file GlobalProperties.hpp.

Member Data Documentation

◆ calibData

tl::optional<dai::EepromData> dai::GlobalProperties::calibData

Calibration data sent through pipeline

Definition at line 32 of file GlobalProperties.hpp.

◆ cameraTuningBlobSize

tl::optional<std::uint32_t> dai::GlobalProperties::cameraTuningBlobSize

Camera tuning blob size in bytes

Definition at line 37 of file GlobalProperties.hpp.

◆ cameraTuningBlobUri

std::string dai::GlobalProperties::cameraTuningBlobUri

Uri which points to camera tuning blob

Definition at line 41 of file GlobalProperties.hpp.

◆ leonCssFrequencyHz

double dai::GlobalProperties::leonCssFrequencyHz = 700 * 1000 * 1000

Set frequency of Leon OS - Increasing can improve performance, at the cost of higher power draw

Definition at line 20 of file GlobalProperties.hpp.

◆ leonMssFrequencyHz

double dai::GlobalProperties::leonMssFrequencyHz = 700 * 1000 * 1000

Set frequency of Leon RT - Increasing can improve performance, at the cost of higher power draw

Definition at line 25 of file GlobalProperties.hpp.

◆ pipelineName

tl::optional<std::string> dai::GlobalProperties::pipelineName

Definition at line 26 of file GlobalProperties.hpp.

◆ pipelineVersion

tl::optional<std::string> dai::GlobalProperties::pipelineVersion

Definition at line 27 of file GlobalProperties.hpp.

◆ SIPP_BUFFER_DEFAULT_SIZE

constexpr static uint32_t dai::GlobalProperties::SIPP_BUFFER_DEFAULT_SIZE = 18 * 1024
staticconstexpr

Definition at line 13 of file GlobalProperties.hpp.

◆ SIPP_DMA_BUFFER_DEFAULT_SIZE

constexpr static uint32_t dai::GlobalProperties::SIPP_DMA_BUFFER_DEFAULT_SIZE = 16 * 1024
staticconstexpr

Definition at line 14 of file GlobalProperties.hpp.

◆ sippBufferSize

uint32_t dai::GlobalProperties::sippBufferSize = SIPP_BUFFER_DEFAULT_SIZE

SIPP (Signal Image Processing Pipeline) internal memory pool. SIPP is a framework used to schedule HW filters, e.g. ISP, Warp, Median filter etc. Changing the size of this pool is meant for advanced use cases, pushing the limits of the HW. By default memory is allocated in high speed CMX memory. Setting to 0 will allocate in DDR 256 kilobytes. Units are bytes.

Definition at line 57 of file GlobalProperties.hpp.

◆ sippDmaBufferSize

uint32_t dai::GlobalProperties::sippDmaBufferSize = SIPP_DMA_BUFFER_DEFAULT_SIZE

SIPP (Signal Image Processing Pipeline) internal DMA memory pool. SIPP is a framework used to schedule HW filters, e.g. ISP, Warp, Median filter etc. Changing the size of this pool is meant for advanced use cases, pushing the limits of the HW. Memory is allocated in high speed CMX memory Units are bytes.

Definition at line 65 of file GlobalProperties.hpp.

◆ xlinkChunkSize

int32_t dai::GlobalProperties::xlinkChunkSize = -1

Chunk size for splitting device-sent XLink packets, in bytes. A larger value could increase performance, with 0 disabling chunking. A negative value won't modify the device defaults - configured per protocol, currently 64*1024 for both USB and Ethernet.

Definition at line 48 of file GlobalProperties.hpp.


The documentation for this struct was generated from the following file:


depthai
Author(s): Martin Peterlin
autogenerated on Sat Mar 22 2025 02:58:20