Formatting cleanup.
[frameshot.git] / common.h
blobe14e7cb62d2c8a8014d8e7bf87541136cc1a9f8b
2 #define MAX_FRAMES 1024
4 typedef void *hnd_t;
6 typedef struct
8 int i_csp;
10 int i_plane;
11 int i_stride[4];
12 uint8_t *plane[4];
13 } image_t;
15 typedef struct
17 /* pts of picture */
18 int64_t i_pts;
20 /* In: raw data */
21 image_t img;
22 } picture_t;
24 typedef struct
26 uint32_t i_width, i_height;
27 int i_frames;
28 uint32_t frames[MAX_FRAMES];
29 } config_t;