Frame. More...
#include <rs.hpp>
Public Member Functions | |
frame () | |
frame (rs_device *device, rs_frame_ref *frame_ref) | |
frame (frame &&other) | |
int | get_bpp () const |
Retrieves bits per pixel. | |
const void * | get_data () const |
format | get_format () const |
Retrieves frame format. | |
double | get_frame_metadata (rs_frame_metadata frame_metadata) const |
unsigned long long | get_frame_number () const |
timestamp_domain | get_frame_timestamp_domain () const |
int | get_framerate () const |
Returns configured frame rate. | |
int | get_height () const |
Returns image height in pixels. | |
stream | get_stream_type () const |
Retrieves frame stream type. | |
int | get_stride () const |
Retrieves frame stride, meaning the actual line width in memory in bytes (not the logical image width) | |
double | get_timestamp () const |
int | get_width () const |
Returns image width in pixels. | |
frame & | operator= (frame other) |
bool | supports_frame_metadata (rs_frame_metadata frame_metadata) const |
void | swap (frame &other) |
~frame () | |
Private Member Functions | |
frame (const frame &) | |
Private Attributes | |
rs_device * | device |
rs_frame_ref * | frame_ref |
rs::frame::frame | ( | const frame & | ) | [private] |
rs::frame::frame | ( | ) | [inline] |
rs::frame::frame | ( | rs_device * | device, |
rs_frame_ref * | frame_ref | ||
) | [inline] |
rs::frame::frame | ( | frame && | other | ) | [inline] |
rs::frame::~frame | ( | ) | [inline] |
int rs::frame::get_bpp | ( | ) | const [inline] |
const void* rs::frame::get_data | ( | ) | const [inline] |
format rs::frame::get_format | ( | ) | const [inline] |
double rs::frame::get_frame_metadata | ( | rs_frame_metadata | frame_metadata | ) | const [inline] |
unsigned long long rs::frame::get_frame_number | ( | ) | const [inline] |
timestamp_domain rs::frame::get_frame_timestamp_domain | ( | ) | const [inline] |
int rs::frame::get_framerate | ( | ) | const [inline] |
int rs::frame::get_height | ( | ) | const [inline] |
stream rs::frame::get_stream_type | ( | ) | const [inline] |
int rs::frame::get_stride | ( | ) | const [inline] |
double rs::frame::get_timestamp | ( | ) | const [inline] |
int rs::frame::get_width | ( | ) | const [inline] |
bool rs::frame::supports_frame_metadata | ( | rs_frame_metadata | frame_metadata | ) | const [inline] |
void rs::frame::swap | ( | frame & | other | ) | [inline] |
rs_device* rs::frame::device [private] |
rs_frame_ref* rs::frame::frame_ref [private] |