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