shithub: hj264

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