~ft/hj264

hj264/yuv.h -rw-r--r-- 133 bytes
70b1cf8aSigrid Solveig Haflínudóttir give up on weird shit 3 months ago
                                                                                
1
2
3
4
5
6
7
8
typedef struct YUV YUV;

struct YUV {
	u8int *y, *u, *v;
	int ys, us, vs;
};

void xrgb2yuv420(u8int *bgrx, int w, int h, YUV *yuv);