• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #include <inttypes.h>
2 typedef uint32_t mpers_ptr_t;
3 typedef
4 struct {
5 uint32_t type;
6 union {
7 struct {
8 uint32_t width;
9 uint32_t height;
10 uint32_t pixelformat;
11 uint32_t field;
12 uint32_t bytesperline;
13 uint32_t sizeimage;
14 uint32_t colorspace;
15 uint32_t priv;
16 } ATTRIBUTE_PACKED pix;
17 struct {
18 uint32_t width;
19 uint32_t height;
20 uint32_t pixelformat;
21 uint32_t field;
22 uint32_t colorspace;
23 struct {
24 uint32_t sizeimage;
25 uint16_t bytesperline;
26 uint16_t reserved[7];
27 } ATTRIBUTE_PACKED plane_fmt[8];
28 unsigned char num_planes;
29 unsigned char reserved[11];
30 } ATTRIBUTE_PACKED pix_mp;
31 struct {
32 struct {
33 int32_t left;
34 int32_t top;
35 int32_t width;
36 int32_t height;
37 } ATTRIBUTE_PACKED w;
38 uint32_t field;
39 uint32_t chromakey;
40 mpers_ptr_t clips;
41 uint32_t clipcount;
42 mpers_ptr_t bitmap;
43 unsigned char global_alpha;
44 unsigned char mpers_end_filler_1[3];
45 } ATTRIBUTE_PACKED win;
46 struct {
47 uint32_t sampling_rate;
48 uint32_t offset;
49 uint32_t samples_per_line;
50 uint32_t sample_format;
51 int32_t start[2];
52 uint32_t count[2];
53 uint32_t flags;
54 uint32_t reserved[2];
55 } ATTRIBUTE_PACKED vbi;
56 struct {
57 uint16_t service_set;
58 uint16_t service_lines[2][24];
59 unsigned char mpers_filler_2[2];
60 uint32_t io_size;
61 uint32_t reserved[2];
62 } ATTRIBUTE_PACKED sliced;
63 unsigned char raw_data[200];
64 } fmt;
65 } ATTRIBUTE_PACKED mx32_struct_v4l2_format;
66 #define MPERS_mx32_struct_v4l2_format mx32_struct_v4l2_format
67