~ft/treason

ref: c1156352ba4eceae2ec875fd06fc94c38c92271f treason/misc.h -rw-r--r-- 337 bytes
c1156352 — Sigrid Solveig Haflínudóttir info: mixed up dispdelay and yuv→rgb, fix it 1 year, 1 month ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
#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 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 yuvrgb;