1 #include <inttypes.h> 2 typedef uint32_t mpers_ptr_t; 3 typedef 4 struct { 5 uint32_t capability; 6 uint32_t flags; 7 mpers_ptr_t base; 8 struct { 9 uint32_t width; 10 uint32_t height; 11 uint32_t pixelformat; 12 uint32_t field; 13 uint32_t bytesperline; 14 uint32_t sizeimage; 15 uint32_t colorspace; 16 uint32_t priv; 17 } ATTRIBUTE_PACKED fmt; 18 } ATTRIBUTE_PACKED mx32_struct_v4l2_framebuffer; 19 #define MPERS_mx32_struct_v4l2_framebuffer mx32_struct_v4l2_framebuffer 20