summaryrefslogtreecommitdiff
path: root/vp8/common/extend.h
diff options
context:
space:
mode:
Diffstat (limited to 'vp8/common/extend.h')
-rw-r--r--vp8/common/extend.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/vp8/common/extend.h b/vp8/common/extend.h
index b7e704079..068f4ac52 100644
--- a/vp8/common/extend.h
+++ b/vp8/common/extend.h
@@ -14,6 +14,10 @@
#include "vpx_scale/yv12config.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
void vp8_extend_mb_row(YV12_BUFFER_CONFIG *ybf, unsigned char *YPtr, unsigned char *UPtr, unsigned char *VPtr);
void vp8_copy_and_extend_frame(YV12_BUFFER_CONFIG *src,
YV12_BUFFER_CONFIG *dst);
@@ -22,4 +26,8 @@ void vp8_copy_and_extend_frame_with_rect(YV12_BUFFER_CONFIG *src,
int srcy, int srcx,
int srch, int srcw);
+#ifdef __cplusplus
+} // extern "C"
+#endif
+
#endif // VP8_COMMON_EXTEND_H_