MYNT EYE S SDK  2.3.2
http://www.myntai.com/mynteye/standard
mynteye::device::Frame Class Reference

Frame with raw data. More...

Public Member Functions

 Frame (const StreamRequest &request, const void *data)
 Construct the frame with StreamRequest and raw data.
 
 Frame (std::uint16_t width, std::uint16_t height, Format format, const void *data)
 Construct the frame with stream info and raw data.
 
std::uint16_t width () const
 Get the width. More...
 
std::uint16_t height () const
 Get the height. More...
 
Format format () const
 Get the format. More...
 
std::uint8_t * data ()
 Get the data. More...
 
const std::uint8_t * data () const
 Get the const data. More...
 
std::size_t size () const
 Get the size of data. More...
 
Frame clone () const
 Clone a new frame. More...
 

Detailed Description

Frame with raw data.

Member Function Documentation

◆ clone()

Frame mynteye::device::Frame::clone ( ) const
inline

Clone a new frame.

◆ data() [1/2]

std::uint8_t* mynteye::device::Frame::data ( )
inline

Get the data.

◆ data() [2/2]

const std::uint8_t* mynteye::device::Frame::data ( ) const
inline

Get the const data.

◆ format()

Format mynteye::device::Frame::format ( ) const
inline

Get the format.

◆ height()

std::uint16_t mynteye::device::Frame::height ( ) const
inline

Get the height.

◆ size()

std::size_t mynteye::device::Frame::size ( ) const
inline

Get the size of data.

◆ width()

std::uint16_t mynteye::device::Frame::width ( ) const
inline

Get the width.