X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=util.h;h=dcb84a0cbf7e259b8717c9861d2cc066d386a032;hb=a5f301c52c22bc29ade2a2b39f4ff3e4b10310a7;hp=1c2f6a669f6bec63d9a4531c9b3c57986ae70c8c;hpb=bc98d3dd04e1fe6c71751b38162024491e3cea70;p=movit diff --git a/util.h b/util.h index 1c2f6a6..dcb84a0 100644 --- a/util.h +++ b/util.h @@ -8,6 +8,8 @@ #include +#define BUFFER_OFFSET(i) ((char *)NULL + (i)) + // assumes h in [0, 2pi> or [-pi, pi> void hsv2rgb(float h, float s, float v, float *r, float *g, float *b);