summaryrefslogtreecommitdiff
path: root/vp9/common/vp9_quant_common.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
commit0940c9cfdeb8f248e8422ddc5a7265fa2e9a693f (patch)
tree22cac13000451e4dd73cc533023457f1a6a59bbd /vp9/common/vp9_quant_common.h
parent513fae3ee6cbd820bbe31181d243d197b8a46dff (diff)
downloadlibvpx-0940c9cfdeb8f248e8422ddc5a7265fa2e9a693f.tar
libvpx-0940c9cfdeb8f248e8422ddc5a7265fa2e9a693f.tar.gz
libvpx-0940c9cfdeb8f248e8422ddc5a7265fa2e9a693f.tar.bz2
libvpx-0940c9cfdeb8f248e8422ddc5a7265fa2e9a693f.zip
vp9/common: add extern "C" to headers
Change-Id: Ic334da9aee968e33762c2b25d9fbad24c844b411
Diffstat (limited to 'vp9/common/vp9_quant_common.h')
-rw-r--r--vp9/common/vp9_quant_common.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/vp9/common/vp9_quant_common.h b/vp9/common/vp9_quant_common.h
index 83f2fb655..af50e23cd 100644
--- a/vp9/common/vp9_quant_common.h
+++ b/vp9/common/vp9_quant_common.h
@@ -13,6 +13,10 @@
#include "vp9/common/vp9_blockd.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#define MINQ 0
#define MAXQ 255
#define QINDEX_RANGE (MAXQ - MINQ + 1)
@@ -25,4 +29,8 @@ int16_t vp9_ac_quant(int qindex, int delta);
int vp9_get_qindex(struct segmentation *seg, int segment_id, int base_qindex);
+#ifdef __cplusplus
+} // extern "C"
+#endif
+
#endif // VP9_COMMON_VP9_QUANT_COMMON_H_