Add stream requests
This commit is contained in:
@@ -15,4 +15,7 @@ const std::map<Model, OptionSupports> option_supports_map = {
|
||||
Option::MAX_EXPOSURE_TIME, Option::DESIRED_BRIGHTNESS, Option::IR_CONTROL,
|
||||
Option::HDR_MODE, Option::ZERO_DRIFT_CALIBRATION, Option::ERASE_CHIP}}};
|
||||
|
||||
const std::map<Model, StreamRequests> stream_requests_map = {
|
||||
{Model::STANDARD, {{Capabilities::STEREO, {752, 480, Format::YUYV, 25}}}}};
|
||||
|
||||
MYNTEYE_END_NAMESPACE
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
|
||||
#include <map>
|
||||
#include <set>
|
||||
#include <vector>
|
||||
|
||||
#include "mynteye/mynteye.h"
|
||||
#include "mynteye/types.h"
|
||||
@@ -18,6 +19,10 @@ extern const std::map<Model, StreamSupports> stream_supports_map;
|
||||
extern const std::map<Model, CapabilitiesSupports> capabilities_supports_map;
|
||||
extern const std::map<Model, OptionSupports> option_supports_map;
|
||||
|
||||
using StreamRequests = std::map<Capabilities, StreamRequest>;
|
||||
|
||||
extern const std::map<Model, StreamRequests> stream_requests_map;
|
||||
|
||||
MYNTEYE_END_NAMESPACE
|
||||
|
||||
#endif // MYNTEYE_INTERNAL_CONFIG_H_ NOLINT
|
||||
|
||||
Reference in New Issue
Block a user