Classes | Functions | Variables
RsCommon.h File Reference
#include "string.h"
#include <librealsense2/rs.hpp>
Include dependency graph for RsCommon.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  IpDeviceControlData
 
struct  RsFrameHeader
 
union  RsMetadataHeader
 
union  RsNetworkHeader
 

Functions

int getStreamProfileBpp (rs2_format t_format)
 
const std::string L500_SENSOR_NAME ("L500 Depth Sensor")
 
const std::string RGB_SENSOR_NAME ("RGB Camera")
 
const std::string RS_MEDIA_TYPE ("RS_VIDEO")
 
const std::string RS_PAYLOAD_FORMAT ("RS_FORMAT")
 
const std::string STEREO_SENSOR_NAME ("Stereo Module")
 

Variables

const int MAX_BPP = 3
 
const int MAX_FRAME_SIZE = MAX_WIDTH * MAX_HEIGHT * MAX_BPP
 
const int MAX_HEIGHT = 720
 
const int MAX_MESSAGE_SIZE = MAX_FRAME_SIZE + sizeof(RsFrameHeader)
 
const int MAX_WIDTH = 1280
 
const unsigned int RTP_TIMESTAMP_FREQ = 90000
 
const unsigned int SDP_MAX_LINE_LENGHT = 4000
 

Function Documentation

int getStreamProfileBpp ( rs2_format  t_format)

Definition at line 6 of file RsCommon.cpp.

const std::string L500_SENSOR_NAME ( "L500 Depth Sensor"  )
const std::string RGB_SENSOR_NAME ( "RGB Camera"  )
const std::string RS_MEDIA_TYPE ( "RS_VIDEO"  )
const std::string RS_PAYLOAD_FORMAT ( "RS_FORMAT"  )
const std::string STEREO_SENSOR_NAME ( "Stereo Module )

Variable Documentation

const int MAX_BPP = 3

Definition at line 50 of file RsCommon.h.

const int MAX_FRAME_SIZE = MAX_WIDTH * MAX_HEIGHT * MAX_BPP

Definition at line 51 of file RsCommon.h.

const int MAX_HEIGHT = 720

Definition at line 49 of file RsCommon.h.

const int MAX_MESSAGE_SIZE = MAX_FRAME_SIZE + sizeof(RsFrameHeader)

Definition at line 52 of file RsCommon.h.

const int MAX_WIDTH = 1280

Definition at line 48 of file RsCommon.h.

const unsigned int RTP_TIMESTAMP_FREQ = 90000

Definition at line 54 of file RsCommon.h.

const unsigned int SDP_MAX_LINE_LENGHT = 4000

Definition at line 53 of file RsCommon.h.



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