shithub: hj264

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