diff options
Diffstat (limited to 'libvpx/vp8/common/invtrans.h')
-rw-r--r-- | libvpx/vp8/common/invtrans.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/libvpx/vp8/common/invtrans.h b/libvpx/vp8/common/invtrans.h index 9262640..affe57e 100644 --- a/libvpx/vp8/common/invtrans.h +++ b/libvpx/vp8/common/invtrans.h @@ -9,8 +9,8 @@ */ -#ifndef __INC_INVTRANS_H -#define __INC_INVTRANS_H +#ifndef VP8_COMMON_INVTRANS_H_ +#define VP8_COMMON_INVTRANS_H_ #include "vpx_config.h" #include "vp8_rtcd.h" @@ -21,6 +21,10 @@ #include "vpx_mem/vpx_mem.h" #endif +#ifdef __cplusplus +extern "C" { +#endif + static void eob_adjust(char *eobs, short *diff) { /* eob adjust.... the idct can only skip if both the dc and eob are zero */ @@ -59,4 +63,8 @@ static void vp8_inverse_transform_mby(MACROBLOCKD *xd) xd->dst.y_buffer, xd->dst.y_stride, xd->eobs); } +#ifdef __cplusplus +} // extern "C" #endif + +#endif // VP8_COMMON_INVTRANS_H_ |