Classes | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
dai::RawImgFrame Struct Reference

RawImgFrame structure. More...

#include <RawImgFrame.hpp>

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

Classes

struct  CameraSettings
 
struct  Specs
 

Public Types

enum  Type {
  Type::YUV422i, Type::YUV444p, Type::YUV420p, Type::YUV422p,
  Type::YUV400p, Type::RGBA8888, Type::RGB161616, Type::RGB888p,
  Type::BGR888p, Type::RGB888i, Type::BGR888i, Type::LUT2,
  Type::LUT4, Type::LUT16, Type::RAW16, Type::RAW14,
  Type::RAW12, Type::RAW10, Type::RAW8, Type::PACK10,
  Type::PACK12, Type::YUV444i, Type::NV12, Type::NV21,
  Type::BITSTREAM, Type::HDR, Type::RGBF16F16F16p, Type::BGRF16F16F16p,
  Type::RGBF16F16F16i, Type::BGRF16F16F16i, Type::GRAY8, Type::GRAYF16,
  Type::NONE
}
 

Public Member Functions

 DEPTHAI_SERIALIZE (RawImgFrame, fb, cam, category, instanceNum, RawBuffer::sequenceNum, RawBuffer::ts, RawBuffer::tsDevice)
 
DatatypeEnum getType () const override
 
void serialize (std::vector< std::uint8_t > &metadata, DatatypeEnum &datatype) const override
 
- Public Member Functions inherited from dai::RawBuffer
 DEPTHAI_SERIALIZE (RawBuffer, sequenceNum, ts, tsDevice)
 
virtual ~RawBuffer ()=default
 

Static Public Member Functions

static constexpr int typeToBpp (Type type)
 

Public Attributes

CameraSettings cam
 
uint32_t category = 0
 
dai::FrameEvent event = dai::FrameEvent::NONE
 
Specs fb = {}
 
uint32_t instanceNum = 0
 
- Public Attributes inherited from dai::RawBuffer
std::vector< std::uint8_t > data
 
int64_t sequenceNum = 0
 
Timestamp ts = {}
 
Timestamp tsDevice = {}
 

Detailed Description

RawImgFrame structure.

Definition at line 12 of file RawImgFrame.hpp.

Member Enumeration Documentation

◆ Type

Enumerator
YUV422i 
YUV444p 
YUV420p 
YUV422p 
YUV400p 
RGBA8888 
RGB161616 
RGB888p 
BGR888p 
RGB888i 
BGR888i 
LUT2 
LUT4 
LUT16 
RAW16 
RAW14 
RAW12 
RAW10 
RAW8 
PACK10 
PACK12 
YUV444i 
NV12 
NV21 
BITSTREAM 
HDR 
RGBF16F16F16p 
BGRF16F16F16p 
RGBF16F16F16i 
BGRF16F16F16i 
GRAY8 
GRAYF16 
NONE 

Definition at line 13 of file RawImgFrame.hpp.

Member Function Documentation

◆ DEPTHAI_SERIALIZE()

dai::RawImgFrame::DEPTHAI_SERIALIZE ( RawImgFrame  ,
fb  ,
cam  ,
category  ,
instanceNum  ,
RawBuffer::sequenceNum  ,
RawBuffer::ts  ,
RawBuffer::tsDevice   
)

◆ getType()

DatatypeEnum dai::RawImgFrame::getType ( ) const
inlineoverridevirtual

Reimplemented from dai::RawBuffer.

Definition at line 187 of file RawImgFrame.hpp.

◆ serialize()

void dai::RawImgFrame::serialize ( std::vector< std::uint8_t > &  metadata,
DatatypeEnum datatype 
) const
inlineoverridevirtual

Reimplemented from dai::RawBuffer.

Definition at line 182 of file RawImgFrame.hpp.

◆ typeToBpp()

static constexpr int dai::RawImgFrame::typeToBpp ( Type  type)
inlinestaticconstexpr

Definition at line 49 of file RawImgFrame.hpp.

Member Data Documentation

◆ cam

CameraSettings dai::RawImgFrame::cam

Definition at line 177 of file RawImgFrame.hpp.

◆ category

uint32_t dai::RawImgFrame::category = 0

Definition at line 178 of file RawImgFrame.hpp.

◆ event

dai::FrameEvent dai::RawImgFrame::event = dai::FrameEvent::NONE

Definition at line 180 of file RawImgFrame.hpp.

◆ fb

Specs dai::RawImgFrame::fb = {}

Definition at line 176 of file RawImgFrame.hpp.

◆ instanceNum

uint32_t dai::RawImgFrame::instanceNum = 0

Definition at line 179 of file RawImgFrame.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