Removing redundant 'extern' keyword from function declarations.

Change-Id: I893fa36297b9bd9cff93d082f1736f6860b15c0d
This commit is contained in:
Dmitry Kovalev 2013-02-26 15:52:05 -08:00
Родитель 25686fc22d
Коммит 971ff2679f
4 изменённых файлов: 69 добавлений и 63 удалений

Просмотреть файл

@ -16,41 +16,41 @@
struct subpix_fn_table; struct subpix_fn_table;
extern void vp9_build_inter16x16_predictors_mby(MACROBLOCKD *xd, void vp9_build_inter16x16_predictors_mby(MACROBLOCKD *xd,
uint8_t *dst_y, uint8_t *dst_y,
int dst_ystride); int dst_ystride);
extern void vp9_build_inter16x16_predictors_mbuv(MACROBLOCKD *xd, void vp9_build_inter16x16_predictors_mbuv(MACROBLOCKD *xd,
uint8_t *dst_u, uint8_t *dst_u,
uint8_t *dst_v, uint8_t *dst_v,
int dst_uvstride); int dst_uvstride);
extern void vp9_build_inter16x16_predictors_mb(MACROBLOCKD *xd, void vp9_build_inter16x16_predictors_mb(MACROBLOCKD *xd,
uint8_t *dst_y, uint8_t *dst_y,
uint8_t *dst_u, uint8_t *dst_u,
uint8_t *dst_v, uint8_t *dst_v,
int dst_ystride, int dst_ystride,
int dst_uvstride); int dst_uvstride);
extern void vp9_build_inter32x32_predictors_sb(MACROBLOCKD *x, void vp9_build_inter32x32_predictors_sb(MACROBLOCKD *x,
uint8_t *dst_y, uint8_t *dst_y,
uint8_t *dst_u, uint8_t *dst_u,
uint8_t *dst_v, uint8_t *dst_v,
int dst_ystride, int dst_ystride,
int dst_uvstride); int dst_uvstride);
extern void vp9_build_inter64x64_predictors_sb(MACROBLOCKD *x, void vp9_build_inter64x64_predictors_sb(MACROBLOCKD *x,
uint8_t *dst_y, uint8_t *dst_y,
uint8_t *dst_u, uint8_t *dst_u,
uint8_t *dst_v, uint8_t *dst_v,
int dst_ystride, int dst_ystride,
int dst_uvstride); int dst_uvstride);
extern void vp9_build_inter_predictors_mb(MACROBLOCKD *xd); void vp9_build_inter_predictors_mb(MACROBLOCKD *xd);
extern void vp9_build_inter4x4_predictors_mbuv(MACROBLOCKD *xd); void vp9_build_inter4x4_predictors_mbuv(MACROBLOCKD *xd);
extern void vp9_setup_interp_filters(MACROBLOCKD *xd, void vp9_setup_interp_filters(MACROBLOCKD *xd,
INTERPOLATIONFILTERTYPE filter, INTERPOLATIONFILTERTYPE filter,
VP9_COMMON *cm); VP9_COMMON *cm);
@ -68,4 +68,5 @@ void vp9_build_inter_predictor_q4(const uint8_t *src, int src_stride,
const struct scale_factors *scale, const struct scale_factors *scale,
int w, int h, int do_avg, int w, int h, int do_avg,
const struct subpix_fn_table *subpix); const struct subpix_fn_table *subpix);
#endif // VP9_COMMON_VP9_RECONINTER_H_ #endif // VP9_COMMON_VP9_RECONINTER_H_

Просмотреть файл

@ -14,33 +14,39 @@
#include "vpx/vpx_integer.h" #include "vpx/vpx_integer.h"
#include "vp9/common/vp9_blockd.h" #include "vp9/common/vp9_blockd.h"
extern void vp9_recon_intra_mbuv(MACROBLOCKD *xd); void vp9_recon_intra_mbuv(MACROBLOCKD *xd);
extern B_PREDICTION_MODE vp9_find_dominant_direction(uint8_t *ptr,
B_PREDICTION_MODE vp9_find_dominant_direction(uint8_t *ptr,
int stride, int n); int stride, int n);
extern B_PREDICTION_MODE vp9_find_bpred_context(BLOCKD *x);
B_PREDICTION_MODE vp9_find_bpred_context(BLOCKD *x);
#if CONFIG_COMP_INTERINTRA_PRED #if CONFIG_COMP_INTERINTRA_PRED
extern void vp9_build_interintra_16x16_predictors_mb(MACROBLOCKD *xd, void vp9_build_interintra_16x16_predictors_mb(MACROBLOCKD *xd,
uint8_t *ypred, uint8_t *ypred,
uint8_t *upred, uint8_t *upred,
uint8_t *vpred, uint8_t *vpred,
int ystride, int ystride,
int uvstride); int uvstride);
extern void vp9_build_interintra_16x16_predictors_mby(MACROBLOCKD *xd,
void vp9_build_interintra_16x16_predictors_mby(MACROBLOCKD *xd,
uint8_t *ypred, uint8_t *ypred,
int ystride); int ystride);
extern void vp9_build_interintra_16x16_predictors_mbuv(MACROBLOCKD *xd,
void vp9_build_interintra_16x16_predictors_mbuv(MACROBLOCKD *xd,
uint8_t *upred, uint8_t *upred,
uint8_t *vpred, uint8_t *vpred,
int uvstride); int uvstride);
#endif // CONFIG_COMP_INTERINTRA_PRED #endif // CONFIG_COMP_INTERINTRA_PRED
extern void vp9_build_interintra_32x32_predictors_sb(MACROBLOCKD *xd, void vp9_build_interintra_32x32_predictors_sb(MACROBLOCKD *xd,
uint8_t *ypred, uint8_t *ypred,
uint8_t *upred, uint8_t *upred,
uint8_t *vpred, uint8_t *vpred,
int ystride, int ystride,
int uvstride); int uvstride);
extern void vp9_build_interintra_64x64_predictors_sb(MACROBLOCKD *xd,
void vp9_build_interintra_64x64_predictors_sb(MACROBLOCKD *xd,
uint8_t *ypred, uint8_t *ypred,
uint8_t *upred, uint8_t *upred,
uint8_t *vpred, uint8_t *vpred,

Просмотреть файл

@ -12,10 +12,9 @@
#include "vp9_rtcd.h" #include "vp9_rtcd.h"
#include "vpx_ports/vpx_once.h" #include "vpx_ports/vpx_once.h"
extern void vpx_scale_rtcd(void); void vpx_scale_rtcd(void);
void vp9_rtcd() void vp9_rtcd() {
{
vpx_scale_rtcd(); vpx_scale_rtcd();
once(setup_rtcd_internal); once(setup_rtcd_internal);
} }

Просмотреть файл

@ -13,6 +13,6 @@
#include "vpx_scale/yv12config.h" #include "vpx_scale/yv12config.h"
extern void vp9_setup_intra_recon(YV12_BUFFER_CONFIG *ybf); void vp9_setup_intra_recon(YV12_BUFFER_CONFIG *ybf);
#endif // VP9_COMMON_VP9_SETUPINTRARECON_H_ #endif // VP9_COMMON_VP9_SETUPINTRARECON_H_