shithub: hj264

ref: d0c19101cf042a0c4e3e611fc606f32e1c4ae451
dir: hj264/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);