CFEL - ASG Software Suite  2.5.0
CASS
raw_sss_file_header.hpp
Go to the documentation of this file.
1 // Copyright (C) 2011 Lutz Foucar
2 
3 /**
4  * @file raw_sss_file_header.hpp contains the layout of the sss file headers.
5  *
6  * @author Lutz Foucar
7  */
8 
9 #ifndef _RAWSSSHEADER_HPP_
10 #define _RAWSSSHEADER_HPP_
11 
12 #include <stdint.h>
13 #include <vector>
14 
15 namespace cass
16 {
17 namespace sssFile
18 {
19 /** a raw sss frame */
20 typedef std::vector<uint8_t> image_t;
21 
22 #pragma pack(4)
23 /** the raw sss header
24  *
25  * @author Lutz Foucar
26  */
27 struct Header
28 {
29  /** width of the frame */
30  uint32_t width;
31 
32  /** the height of the frame */
33  uint32_t height;
34 
35  /** number of frames contained in file */
36  uint32_t nFrames;
37 };
38 #pragma pack()
39 } //end namespace lmafile
40 } //end namespace cass
41 
42 #endif
uint32_t width
width of the frame
uint32_t nFrames
number of frames contained in file
std::vector< uint8_t > image_t
a raw sss frame
uint32_t height
the height of the frame