shithub: hj264

ref: c2dd82f6c805758d4359019b12ac07983ca18fad
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);