Commit 84f98208 authored by Yunqing Wang's avatar Yunqing Wang
Browse files

Minor fix in header files

Move functions to be included in extern "C".

Change-Id: If57fa5eb7955763cf99e6839dde4d7221fad75ea
parent 3d89d059
...@@ -701,10 +701,6 @@ void vp10_new_framerate(VP10_COMP *cpi, double framerate); ...@@ -701,10 +701,6 @@ void vp10_new_framerate(VP10_COMP *cpi, double framerate);
#define LAYER_IDS_TO_IDX(sl, tl, num_tl) ((sl) * (num_tl) + (tl)) #define LAYER_IDS_TO_IDX(sl, tl, num_tl) ((sl) * (num_tl) + (tl))
#ifdef __cplusplus
} // extern "C"
#endif
#if CONFIG_AFFINE_MOTION #if CONFIG_AFFINE_MOTION
// Update up-sampled reference frame index. // Update up-sampled reference frame index.
static INLINE void uref_cnt_fb(EncRefCntBuffer *ubufs, int *uidx, static INLINE void uref_cnt_fb(EncRefCntBuffer *ubufs, int *uidx,
...@@ -719,4 +715,8 @@ static INLINE void uref_cnt_fb(EncRefCntBuffer *ubufs, int *uidx, ...@@ -719,4 +715,8 @@ static INLINE void uref_cnt_fb(EncRefCntBuffer *ubufs, int *uidx,
} }
#endif #endif
#ifdef __cplusplus
} // extern "C"
#endif
#endif // VP10_ENCODER_ENCODER_H_ #endif // VP10_ENCODER_ENCODER_H_
...@@ -102,9 +102,6 @@ void vp10_build_prediction_by_left_preds(VP10_COMP *cpi, ...@@ -102,9 +102,6 @@ void vp10_build_prediction_by_left_preds(VP10_COMP *cpi,
uint8_t *tmp_buf[MAX_MB_PLANE], uint8_t *tmp_buf[MAX_MB_PLANE],
int tmp_stride[MAX_MB_PLANE]); int tmp_stride[MAX_MB_PLANE]);
#endif // CONFIG_OBMC #endif // CONFIG_OBMC
#ifdef __cplusplus
} // extern "C"
#endif
#if CONFIG_AFFINE_MOTION #if CONFIG_AFFINE_MOTION
static INLINE const YV12_BUFFER_CONFIG *get_upsampled_ref(VP10_COMP *cpi, static INLINE const YV12_BUFFER_CONFIG *get_upsampled_ref(VP10_COMP *cpi,
...@@ -122,4 +119,8 @@ static INLINE const YV12_BUFFER_CONFIG *get_upsampled_ref(VP10_COMP *cpi, ...@@ -122,4 +119,8 @@ static INLINE const YV12_BUFFER_CONFIG *get_upsampled_ref(VP10_COMP *cpi,
} }
#endif #endif
#ifdef __cplusplus
} // extern "C"
#endif
#endif // VP10_ENCODER_RDOPT_H_ #endif // VP10_ENCODER_RDOPT_H_
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment