shithub: hj264

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