diff options
Diffstat (limited to 'libvpx/vp8/common/variance.h')
-rw-r--r-- | libvpx/vp8/common/variance.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/libvpx/vp8/common/variance.h b/libvpx/vp8/common/variance.h index 01193b8..89a32a7 100644 --- a/libvpx/vp8/common/variance.h +++ b/libvpx/vp8/common/variance.h @@ -9,11 +9,15 @@ */ -#ifndef VARIANCE_H -#define VARIANCE_H +#ifndef VP8_COMMON_VARIANCE_H_ +#define VP8_COMMON_VARIANCE_H_ #include "vpx_config.h" +#ifdef __cplusplus +extern "C" { +#endif + typedef unsigned int(*vp8_sad_fn_t)( const unsigned char *src_ptr, int source_stride, @@ -112,4 +116,8 @@ typedef struct variance_vtable #endif } vp8_variance_fn_ptr_t; +#ifdef __cplusplus +} // extern "C" #endif + +#endif // VP8_COMMON_VARIANCE_H_ |