naoqidriver
naoqi_image.hpp
Go to the documentation of this file.
1 /*
2  * Copyright 2015 Aldebaran
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16 */
17 
18 #ifndef NAOQI_IMAGE_HPP
19 #define NAOQI_IMAGE_HPP
20 
21 namespace naoqi{
22 
23 namespace tools {
24 
30 struct NaoqiImage{
31  int width;
32  int height;
37  void* buffer;
38  int cam_id;
39  float fov_left;
40  float fov_top;
41  float fov_right;
42  float fov_bottom;
43 };
44 
45 }
46 
47 }
48 
49 #endif // NAOQI_IMAGE_HPP
void * buffer
Definition: naoqi_image.hpp:37
int timestamp_us
Definition: naoqi_image.hpp:36
float fov_left
Definition: naoqi_image.hpp:39
Definition: audio.cpp:29
int number_of_layers
Definition: naoqi_image.hpp:33
int cam_id
Definition: naoqi_image.hpp:38
int timestamp_s
Definition: naoqi_image.hpp:35
int colorspace
Definition: naoqi_image.hpp:34
int width
Definition: naoqi_image.hpp:31
float fov_top
Definition: naoqi_image.hpp:40
float fov_right
Definition: naoqi_image.hpp:41
float fov_bottom
Definition: naoqi_image.hpp:42
The struct describing an image retrieved by ALVideoDevice. This specification can be found here: http...
Definition: naoqi_image.hpp:30
int height
Definition: naoqi_image.hpp:32