vp8/rdopt.h+onyx_int.h: add some missing prototypes

silences missing prototype warnings

Change-Id: Icd477e37b502205d0a60e7389e51b1ba17d8888e
This commit is contained in:
James Zern 2015-05-14 20:31:56 -07:00
Родитель 62ad8baa40
Коммит 60b9f685cb
6 изменённых файлов: 8 добавлений и 12 удалений

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

@ -19,8 +19,6 @@
extern void vp8cx_mb_init_quantizer(VP8_COMP *cpi, MACROBLOCK *x, int ok_to_skip); extern void vp8cx_mb_init_quantizer(VP8_COMP *cpi, MACROBLOCK *x, int ok_to_skip);
extern void vp8_loopfilter_frame(VP8_COMP *cpi, VP8_COMMON *cm);
static THREAD_FUNCTION thread_loopfilter(void *p_data) static THREAD_FUNCTION thread_loopfilter(void *p_data)
{ {
VP8_COMP *cpi = (VP8_COMP *)(((LPFTHREAD_DATA *)p_data)->ptr1); VP8_COMP *cpi = (VP8_COMP *)(((LPFTHREAD_DATA *)p_data)->ptr1);

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

@ -34,8 +34,6 @@
/* #define OUTPUT_FPF 1 */ /* #define OUTPUT_FPF 1 */
extern void vp8cx_frame_init_quantizer(VP8_COMP *cpi); extern void vp8cx_frame_init_quantizer(VP8_COMP *cpi);
extern void vp8_set_mbmode_and_mvs(MACROBLOCK *x, MB_PREDICTION_MODE mb, int_mv *mv);
extern void vp8_alloc_compressor_data(VP8_COMP *cpi);
#define GFQ_ADJUSTMENT vp8_gf_boost_qadjustment[Q] #define GFQ_ADJUSTMENT vp8_gf_boost_qadjustment[Q]
extern int vp8_kf_boost_qadjustment[QINDEX_RANGE]; extern int vp8_kf_boost_qadjustment[QINDEX_RANGE];
@ -1329,8 +1327,6 @@ static int estimate_kf_group_q(VP8_COMP *cpi, double section_err, int section_ta
return Q; return Q;
} }
extern void vp8_new_framerate(VP8_COMP *cpi, double framerate);
void vp8_init_second_pass(VP8_COMP *cpi) void vp8_init_second_pass(VP8_COMP *cpi)
{ {
FIRSTPASS_STATS this_frame; FIRSTPASS_STATS this_frame;

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

@ -714,6 +714,11 @@ typedef struct VP8_COMP
} rd_costs; } rd_costs;
} VP8_COMP; } VP8_COMP;
void vp8_alloc_compressor_data(VP8_COMP *cpi);
int vp8_reverse_trans(int x);
void vp8_new_framerate(VP8_COMP *cpi, double framerate);
void vp8_loopfilter_frame(VP8_COMP *cpi, VP8_COMMON *cm);
void vp8_pack_bitstream(VP8_COMP *cpi, unsigned char *dest, void vp8_pack_bitstream(VP8_COMP *cpi, unsigned char *dest,
unsigned char *dest_end, unsigned long *size); unsigned char *dest_end, unsigned long *size);

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

@ -29,8 +29,6 @@
#include "denoising.h" #include "denoising.h"
#endif #endif
extern int VP8_UVSSE(MACROBLOCK *x);
#ifdef SPEEDSTATS #ifdef SPEEDSTATS
extern unsigned int cnt_pm; extern unsigned int cnt_pm;
#endif #endif
@ -38,8 +36,6 @@ extern unsigned int cnt_pm;
extern const int vp8_ref_frame_order[MAX_MODES]; extern const int vp8_ref_frame_order[MAX_MODES];
extern const MB_PREDICTION_MODE vp8_mode_order[MAX_MODES]; extern const MB_PREDICTION_MODE vp8_mode_order[MAX_MODES];
extern int vp8_cost_mv_ref(MB_PREDICTION_MODE m, const int near_mv_ref_ct[4]);
// Fixed point implementation of a skin color classifier. Skin color // Fixed point implementation of a skin color classifier. Skin color
// is model by a Gaussian distribution in the CbCr color space. // is model by a Gaussian distribution in the CbCr color space.
// See ../../test/skin_color_detector_test.cc where the reference // See ../../test/skin_color_detector_test.cc where the reference

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

@ -136,6 +136,9 @@ extern void vp8_mv_pred
int near_sadidx[] int near_sadidx[]
); );
void vp8_cal_sad(VP8_COMP *cpi, MACROBLOCKD *xd, MACROBLOCK *x, int recon_yoffset, int near_sadidx[]); void vp8_cal_sad(VP8_COMP *cpi, MACROBLOCKD *xd, MACROBLOCK *x, int recon_yoffset, int near_sadidx[]);
int VP8_UVSSE(MACROBLOCK *x);
int vp8_cost_mv_ref(MB_PREDICTION_MODE m, const int near_mv_ref_ct[4]);
void vp8_set_mbmode_and_mvs(MACROBLOCK *x, MB_PREDICTION_MODE mb, int_mv *mv);
#ifdef __cplusplus #ifdef __cplusplus
} // extern "C" } // extern "C"

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

@ -478,8 +478,6 @@ static vpx_codec_err_t vp8e_set_config(vpx_codec_alg_priv_t *ctx,
return res; return res;
} }
int vp8_reverse_trans(int);
static vpx_codec_err_t get_quantizer(vpx_codec_alg_priv_t *ctx, va_list args) static vpx_codec_err_t get_quantizer(vpx_codec_alg_priv_t *ctx, va_list args)
{ {
int *const arg = va_arg(args, int *); int *const arg = va_arg(args, int *);