MYNT EYE SDK  2.0.0-rc
http://www.myntai.com/camera
mynteye::device::Frame类 参考

Frame with raw data. 更多...

Public 成员函数

 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. 更多...
 
std::uint16_t height () const
 Get the height. 更多...
 
Format format () const
 Get the format. 更多...
 
std::uint8_t * data ()
 Get the data. 更多...
 
const std::uint8_t * data () const
 Get the const data. 更多...
 
std::size_t size () const
 Get the size of data. 更多...
 
Frame clone () const
 Clone a new frame. 更多...
 

详细描述

Frame with raw data.

成员函数说明

◆ 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.