this removes the need for __STDC_LIMIT_MACROS which is defined in
vpx_integer.h, but may be preceded by earlier includes of stdint.h;
fixes build with the r13 ndk
Change-Id: I3950c8837cf90d5584a20ce370ae370581c2182c
#include <stdlib.h>
#include <string.h>
+#include <limits>
+
#include "third_party/googletest/src/include/gtest/gtest.h"
#include "./vp9_rtcd.h"
#else
(void)a;
#endif
- return INT16_MAX;
+ return std::numeric_limits<int16_t>::max();
}
int16_t MinSupportedCoeff(InvTxfmFunc a) {
}
#elif HAVE_NEON
if (a == vpx_idct4x4_16_add_neon) {
- return INT16_MIN + 1;
+ return std::numeric_limits<int16_t>::min() + 1;
}
#endif
#endif // !CONFIG_EMULATE_HARDWARE
- return INT16_MIN;
+ return std::numeric_limits<int16_t>::min();
}
class PartialIDctTest : public ::testing::TestWithParam<PartialInvTxfmParam> {