ref: e821bea01a9696afb0bf8396e9ee6f7f499883a7
dir: /misc.h/
#define MAX(a,b) ((a)>(b)?(a):(b)) #define MIN(a,b) ((a)<(b)?(a):(b)) int str2fmt(char *s); char *fmt2str(int fmt); uvlong nanosec(void); void nsleep(uvlong ns); void yuv420_xrgb32(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;