diff options
author | James Zern <jzern@google.com> | 2014-01-18 12:16:11 -0800 |
---|---|---|
committer | James Zern <jzern@google.com> | 2014-01-23 16:21:24 -0800 |
commit | 513fae3ee6cbd820bbe31181d243d197b8a46dff (patch) | |
tree | 1eb910242d30f81aa9c60969ea483ca937132983 /vp8/encoder/rdopt.h | |
parent | 14ae5fd8f3d97fafb25a8d4888374d6cbf981b6a (diff) | |
download | libvpx-513fae3ee6cbd820bbe31181d243d197b8a46dff.tar libvpx-513fae3ee6cbd820bbe31181d243d197b8a46dff.tar.gz libvpx-513fae3ee6cbd820bbe31181d243d197b8a46dff.tar.bz2 libvpx-513fae3ee6cbd820bbe31181d243d197b8a46dff.zip |
vp8/encoder: add extern "C" to headers
Change-Id: I252f5f8a5d5ada65da08699774a7bb1eb2bd5b2e
Diffstat (limited to 'vp8/encoder/rdopt.h')
-rw-r--r-- | vp8/encoder/rdopt.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/vp8/encoder/rdopt.h b/vp8/encoder/rdopt.h index c28c37369..fe21b8e28 100644 --- a/vp8/encoder/rdopt.h +++ b/vp8/encoder/rdopt.h @@ -12,6 +12,10 @@ #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) ) static void insertsortmv(int arr[], int len) @@ -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_ |