Public Member Functions | Public Attributes | List of all members
librealsense::stream_profile Struct Reference

#include <types.h>

Public Member Functions

 stream_profile (rs2_format fmt=RS2_FORMAT_ANY, rs2_stream strm=RS2_STREAM_ANY, int idx=0, uint32_t w=0, uint32_t h=0, uint32_t framerate=0, resolution_func res_func=[](resolution res){return res;})
 
std::pair< uint32_t, uint32_twidth_height () const
 

Public Attributes

rs2_format format
 
uint32_t fps
 
uint32_t height
 
int index
 
rs2_stream stream
 
resolution_func stream_resolution
 
uint32_t width
 

Detailed Description

Definition at line 662 of file src/types.h.

Constructor & Destructor Documentation

librealsense::stream_profile::stream_profile ( rs2_format  fmt = RS2_FORMAT_ANY,
rs2_stream  strm = RS2_STREAM_ANY,
int  idx = 0,
uint32_t  w = 0,
uint32_t  h = 0,
uint32_t  framerate = 0,
resolution_func  res_func = [](resolution res) { return res; } 
)
inline

Definition at line 664 of file src/types.h.

Member Function Documentation

std::pair< uint32_t, uint32_t > librealsense::stream_profile::width_height ( ) const
inline

Definition at line 679 of file src/types.h.

Member Data Documentation

rs2_format librealsense::stream_profile::format

Definition at line 673 of file src/types.h.

uint32_t librealsense::stream_profile::fps

Definition at line 676 of file src/types.h.

uint32_t librealsense::stream_profile::height

Definition at line 676 of file src/types.h.

int librealsense::stream_profile::index

Definition at line 675 of file src/types.h.

rs2_stream librealsense::stream_profile::stream

Definition at line 674 of file src/types.h.

resolution_func librealsense::stream_profile::stream_resolution

Definition at line 677 of file src/types.h.

uint32_t librealsense::stream_profile::width

Definition at line 676 of file src/types.h.


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


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:38