MYNT EYE D SDK  1.7.1
http://www.myntai.com/mynteye/depth
stream_info.h
1 // Copyright 2018 Slightech Co., Ltd. All rights reserved.
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14 #ifndef MYNTEYE_DEVICE_STREAM_INFO_H_
15 #define MYNTEYE_DEVICE_STREAM_INFO_H_
16 #pragma once
17 
18 #include "mynteyed/device/types.h"
19 #include "mynteyed/stubs/global.h"
20 
21 MYNTEYE_BEGIN_NAMESPACE
22 
26 struct MYNTEYE_API StreamInfo {
30  std::int32_t index;
31 
35  std::int32_t width;
36 
40  std::int32_t height;
41 
45  StreamFormat format;
46 };
47 
48 MYNTEYE_API
49 std::ostream& operator<<(std::ostream& os, const StreamInfo& info);
50 
51 MYNTEYE_END_NAMESPACE
52 
53 #endif // MYNTEYE_DEVICE_STREAM_INFO_H_
Stream information.
Definition: stream_info.h:26
StreamFormat format
The stream format.
Definition: stream_info.h:45
std::int32_t index
The stream index.
Definition: stream_info.h:30
std::int32_t width
The stream width.
Definition: stream_info.h:35
std::int32_t height
The stream height.
Definition: stream_info.h:40