~ft/treason

ref: c1156352ba4eceae2ec875fd06fc94c38c92271f treason/frame.h -rw-r--r-- 256 bytes
c1156352 — Sigrid Solveig Haflínudóttir info: mixed up dispdelay and yuv→rgb, fix it 1 year, 1 month ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
typedef struct Frame Frame;

struct Frame {
	uvlong dt;
	int w, h;
	struct {
		int left, top, right, bottom;
	}crop;

	u8int *yuv[3];
	int ystride;
	int uvstride;

	u8int data[1];
};

Frame *newframe(int w, int h, u8int *yuv[3], int ystride, int vstride);