source: pacpussensors/trunk/StdDbtPlayerComponents/ImageBaseStructure.h@ 132

Last change on this file since 132 was 58, checked in by phudelai, 10 years ago

update

File size: 1.0 KB
RevLine 
[58]1/*********************************************************************
2// created: 2013/12/06 - 16:10
3// filename: ImageBaseStructure.h
4//
5// author: Danilo Alves de Lima
6// Copyright Heudiasyc UMR UTC/CNRS 6599
7//
8// version: $Id: $
9//
10// purpose: Guard the image basic information to send by shared
11// memory
12//
13*********************************************************************/
14
15#ifndef __IMAGEBASE_STRUCTURE_h__
16#define __IMAGEBASE_STRUCTURE_h__
17
18#include "Pacpus/kernel/road_time.h"
19
20// Image data structure
21typedef struct
22{
23 size_t width; // Image width
24 size_t height; // Image height
25 size_t channels; // Image number of channels
26 size_t width_step; // Image width step to change the line in the data
27 size_t data_size; // Image data size
28} ImageDataStructure;
29
30typedef struct
31{
32 road_time_t time;
33 road_timerange_t timerange;
34 ImageDataStructure image;
35} TimestampedStructImage;
36
37#endif // __IMAGEBASE_STRUCTURE_h__
Note: See TracBrowser for help on using the repository browser.