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