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#4 from IntelRealSense/nhershko-dyna…
…mic-load load and identify stream at run time
- Loading branch information
Showing
4 changed files
with
145 additions
and
150 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
|
||
enum stream_type_id | ||
{ | ||
STREAM_DEPTH, | ||
STREAM_COLOR, | ||
}; | ||
|
||
struct profile_resolution | ||
{ | ||
int width; | ||
int hight; | ||
}; | ||
|
||
class camOE_stream_profile | ||
{ | ||
public: | ||
camOE_stream_profile(stream_type_id id, profile_resolution res, int fps) | ||
:m_stream_sensor(id), | ||
m_profile_res(res), | ||
m_stream_fps(fps){} | ||
|
||
//in case we want to have self-contained sdp parser | ||
camOE_stream_profile(char* sdp_line); | ||
|
||
int width(){ return m_profile_res.width; } | ||
int hight(){ return m_profile_res.hight; } | ||
int fps(){ return m_stream_fps; } | ||
stream_type_id stream_sensor(){ return m_stream_sensor; } | ||
|
||
private: | ||
stream_type_id m_stream_sensor; | ||
profile_resolution m_profile_res; | ||
int m_stream_fps; | ||
|
||
}; |
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
Oops, something went wrong.