add macro ROUND_TO_MULTIPLE

This commit is contained in:
Vincent Wei
2020-01-13 11:45:27 +08:00
parent 94272c3af2
commit e8a3c24c9c

View File

@@ -118,6 +118,8 @@
#define LEN_MTYPE_NAME 23
#define LEN_FOURCC_FORMAT 7
#define ROUND_TO_MULTIPLE(n, m) (((n) + (((m) - 1))) & ~((m) - 1))
// misc constants
// #define MAX_SRV_CLIP_RECTS 8