Commit 5d986e5a authored by James Zern's avatar James Zern
Browse files

odintrin.h: add missing extern "C"

fixes test linkage

Change-Id: I15a7b32551fddc5e78e3035e9d2e94a57ff9f1d2
parent cda23457
......@@ -16,6 +16,10 @@
#include "aom_dsp/aom_dsp_common.h"
#include "aom_ports/bitops.h"
#ifdef __cplusplus
extern "C" {
#endif
/*Smallest blocks are 4x4*/
#define OD_LOG_BSIZE0 (2)
/*There are 5 block sizes total (4x4, 8x8, 16x16, 32x32 and 64x64).*/
......@@ -55,4 +59,8 @@ extern uint32_t OD_DIVU_SMALL_CONSTS[OD_DIVU_DMAX][2];
We define a special version of the macro to use when x can be zero.*/
#define OD_ILOG(x) ((x) ? OD_ILOG_NZ(x) : 0)
#ifdef __cplusplus
} // extern "C"
#endif
#endif // AV1_COMMON_ODINTRIN_H_
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment