shithub: treason

ref: a59ebb695f6e50298e8361fd3d40fd6cf0996ba8
dir: /misc.h/

View raw version
int str2fmt(char *s);
char *fmt2str(int fmt);
uvlong nanosec(void);
void yuv420_rgb24(
	int width, int height,
	u8int *y, u8int *u, u8int *v,
	u32int ystride, u32int uvstride,
	u8int *rgb, u32int rgbstride);

extern int nproc;
extern int debug;
extern uvlong yuv→rgb;