forked from IntelRealSense/librealsense
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request IntelRealSense#29 from IntelRealSense/scpungin_LRS…
…_integration add profile hash
- Loading branch information
Showing
17 changed files
with
239 additions
and
170 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#ifndef _RS_CAMERA_HH | ||
#define _RS_CAMERA_HH | ||
|
||
#include <librealsense2/rs.hpp> | ||
#include "RsSensor.hh" | ||
|
||
|
||
class RsCamera | ||
{ | ||
public: | ||
RsCamera(); | ||
~RsCamera(); | ||
std::vector<RsSensor> &getSensors() { return m_sensors; } | ||
|
||
private: | ||
rs2::device m_dev; | ||
std::vector<RsSensor> m_sensors; | ||
}; | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
|
||
|
||
#include "RsRawVideoRTPSink.h" | ||
|
||
RsRawVideoRTPSink* | ||
RsRawVideoRTPSink::createNew(UsageEnvironment& env, Groupsock* RTPgs, u_int8_t rtpPayloadFormat, | ||
// The following headers provide the 'configuration' information, for the SDP description: | ||
unsigned height, unsigned width, unsigned depth, | ||
char const* sampling, char const* colorimetry) | ||
{ | ||
return new RsRawVideoRTPSink(env, RTPgs, rtpPayloadFormat, | ||
height, width, depth, sampling); | ||
|
||
} | ||
|
||
|
||
|
||
/*RawVideoRTPSink* RawVideoRTPSink | ||
::createNew(UsageEnvironment& env, Groupsock* RTPgs, u_int8_t rtpPayloadFormat, | ||
unsigned height, unsigned width, unsigned depth, | ||
char const* sampling, char const* colorimetry) { | ||
return new RawVideoRTPSink(env, RTPgs, | ||
rtpPayloadFormat, | ||
height, width, depth, | ||
sampling, colorimetry); | ||
}*/ | ||
|
||
RsRawVideoRTPSink | ||
::RsRawVideoRTPSink(UsageEnvironment& env, Groupsock* RTPgs, u_int8_t rtpPayloadFormat, | ||
unsigned height, unsigned width, unsigned depth, | ||
char const* sampling, char const* colorimetry) | ||
: RawVideoRTPSink(env, RTPgs, rtpPayloadFormat, | ||
height, width, depth, sampling, colorimetry) { | ||
env << "RawVideoRTPSink constructor\n"; | ||
|
||
} | ||
|
||
void RsRawVideoRTPSink::stopPlaying() | ||
{ | ||
//fCurFragmentationOffset = 0; | ||
RawVideoRTPSink::stopPlaying(); | ||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#ifndef _RS_RAW_VIDEO_RTP_SINK_HH | ||
#define _RS_RAW_VIDEO_RTP_SINK_HH | ||
|
||
#include "RawVideoRTPSink.hh" | ||
|
||
|
||
class RsRawVideoRTPSink: public RawVideoRTPSink { | ||
public: | ||
static RsRawVideoRTPSink* | ||
createNew(UsageEnvironment& env, Groupsock* RTPgs, u_int8_t rtpPayloadFormat, | ||
// The following headers provide the 'configuration' information, for the SDP description: | ||
unsigned height, unsigned width, unsigned depth, | ||
char const* sampling, char const* colorimetry = "BT709-2" ); | ||
|
||
protected: | ||
RsRawVideoRTPSink(UsageEnvironment& env, Groupsock* RTPgs, | ||
u_int8_t rtpPayloadFormat, | ||
unsigned height, unsigned width, unsigned depth, | ||
char const* sampling, char const* colorimetry= "BT709-2" ); | ||
|
||
|
||
|
||
protected: // redefined virtual functions: | ||
virtual void stopPlaying(); | ||
|
||
}; | ||
|
||
|
||
#endif //_RS_RAW_VIDEO_RTP_SINK_HH |
Oops, something went wrong.