diff options
Diffstat (limited to 'chromium/third_party/libvpx/source/libvpx/vp8/encoder/rdopt.h')
-rw-r--r-- | chromium/third_party/libvpx/source/libvpx/vp8/encoder/rdopt.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/chromium/third_party/libvpx/source/libvpx/vp8/encoder/rdopt.h b/chromium/third_party/libvpx/source/libvpx/vp8/encoder/rdopt.h index 1e11fa77dfc..fe21b8e283e 100644 --- a/chromium/third_party/libvpx/source/libvpx/vp8/encoder/rdopt.h +++ b/chromium/third_party/libvpx/source/libvpx/vp8/encoder/rdopt.h @@ -9,8 +9,12 @@ */ -#ifndef __INC_RDOPT_H -#define __INC_RDOPT_H +#ifndef VP8_ENCODER_RDOPT_H_ +#define VP8_ENCODER_RDOPT_H_ + +#ifdef __cplusplus +extern "C" { +#endif #define RDCOST(RM,DM,R,D) ( ((128+(R)*(RM)) >> 8) + (DM)*(D) ) @@ -130,4 +134,8 @@ extern void vp8_mv_pred ); void vp8_cal_sad(VP8_COMP *cpi, MACROBLOCKD *xd, MACROBLOCK *x, int recon_yoffset, int near_sadidx[]); +#ifdef __cplusplus +} // extern "C" #endif + +#endif // VP8_ENCODER_RDOPT_H_ |