shithub: hj264

ref: f70190d3c1b0f3e52bf9b53caf9a883da7579fbe
dir: /yuv.h/

View raw version
typedef struct YUV YUV;

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

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