1#include <inttypes.h> 2typedef uint32_t mpers_ptr_t; 3typedef 4struct { 5uint32_t index; 6uint32_t type; 7uint32_t bytesused; 8uint32_t flags; 9uint32_t field; 10struct { 11int32_t tv_sec; 12int32_t tv_usec; 13} ATTRIBUTE_PACKED timestamp; 14struct { 15uint32_t type; 16uint32_t flags; 17unsigned char frames; 18unsigned char seconds; 19unsigned char minutes; 20unsigned char hours; 21unsigned char userbits[4]; 22} ATTRIBUTE_PACKED timecode; 23uint32_t sequence; 24uint32_t memory; 25union { 26uint32_t offset; 27uint32_t userptr; 28mpers_ptr_t planes; 29int32_t fd; 30} m; 31uint32_t length; 32uint32_t reserved2; 33uint32_t reserved; 34} ATTRIBUTE_PACKED m32_struct_v4l2_buffer; 35#define MPERS_m32_struct_v4l2_buffer m32_struct_v4l2_buffer 36