We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 049aaef commit 12c4b83Copy full SHA for 12c4b83
lib/vc8000nanoe/README.rst
@@ -77,3 +77,6 @@ License Link:
77
Patch List:
78
* Avoid bool redefinition
79
Impacted files: inc/basetype.h
80
+
81
+ * Avoid MIN/MAX redefinition
82
+ Impacted files: inc/enccommon.h
lib/vc8000nanoe/inc/enccommon.h
@@ -153,8 +153,6 @@ typedef struct
153
154
/* General tools */
155
#define ABS(x) ((x) < (0) ? -(x) : (x))
156
-#define MAX(a, b) ((a) > (b) ? (a) : (b))
157
-#define MIN(a, b) ((a) < (b) ? (a) : (b))
158
#define SIGN(a) ((a) < (0) ? (-1) : (1))
159
#define OUT_OF_RANGE(x,a,b) ((((i32)x)<(a)?(1):(0)) || ((x)>(b)?(1):(0)))
160
#define CLIP3(v, min, max) ((v) < (min) ? (min) : ((v) > (max) ? (max) : (v)))
0 commit comments