summaryrefslogtreecommitdiff
path: root/vp9/encoder/vp9_mcomp.h
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2014-01-18 12:16:11 -0800
committerJames Zern <jzern@google.com>2014-01-23 16:21:24 -0800
commitb453941caffb0bf7e826c1e092f5d8affd101089 (patch)
treec1051ea2b07445fb14f4c25f99550ec453093407 /vp9/encoder/vp9_mcomp.h
parent40aa910c19d2dc03b905966c66a75ed68d52f5c7 (diff)
downloadlibvpx-b453941caffb0bf7e826c1e092f5d8affd101089.tar
libvpx-b453941caffb0bf7e826c1e092f5d8affd101089.tar.gz
libvpx-b453941caffb0bf7e826c1e092f5d8affd101089.tar.bz2
libvpx-b453941caffb0bf7e826c1e092f5d8affd101089.zip
vp9/encoder: add extern "C" to headers
Change-Id: I4f51ce859a97bf1b8fd2b37ac585b7c643232b69
Diffstat (limited to 'vp9/encoder/vp9_mcomp.h')
-rw-r--r--vp9/encoder/vp9_mcomp.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/vp9/encoder/vp9_mcomp.h b/vp9/encoder/vp9_mcomp.h
index 74035842f..5cd9fd170 100644
--- a/vp9/encoder/vp9_mcomp.h
+++ b/vp9/encoder/vp9_mcomp.h
@@ -15,6 +15,10 @@
#include "vp9/encoder/vp9_block.h"
#include "vp9/encoder/vp9_variance.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
// The maximum number of steps in a step search given the largest
// allowed initial step
#define MAX_MVSEARCH_STEPS 11
@@ -129,4 +133,8 @@ int vp9_refining_search_8p_c(const MACROBLOCK *x,
int *mvjcost, int *mvcost[2],
const MV *center_mv, const uint8_t *second_pred,
int w, int h);
+#ifdef __cplusplus
+} // extern "C"
+#endif
+
#endif // VP9_ENCODER_VP9_MCOMP_H_