vp9: correct some function signatures
authorJames Zern <jzern@google.com>
Fri, 15 May 2015 03:18:45 +0000 (20:18 -0700)
committerJames Zern <jzern@google.com>
Fri, 15 May 2015 17:43:47 +0000 (10:43 -0700)
silences missing prototype warnings

Change-Id: Idaf68d83d2cb03847f3ee002c4d00c2ac79da604

vp9/common/vp9_reconintra.c
vp9/common/vp9_reconintra.h
vp9/encoder/vp9_encodemv.c
vp9/encoder/vp9_encodemv.h
vp9/encoder/vp9_ratectrl.c
vp9/encoder/vp9_ratectrl.h
vp9/encoder/vp9_rd.c
vp9/encoder/vp9_rd.h
vp9/encoder/vp9_temporal_filter.c
vp9/encoder/vp9_temporal_filter.h

index 650310d7d9ed9fd0389e4bbff7f62168a9730500..07e5acf0fd6985e4f048beca2358fa55d9225cf9 100644 (file)
@@ -944,6 +944,6 @@ void vp9_predict_intra_block(const MACROBLOCKD *xd, int block_idx, int bwl_in,
                          have_top, have_left, have_right, x, y, plane);
 }
 
-void vp9_init_intra_predictors() {
+void vp9_init_intra_predictors(void) {
   once(vp9_init_intra_predictors_internal);
 }
index 845f3bcaac794610e3106d484d4637258c293d91..da5e435b1322edab1baa85a5355c4589bb7326b4 100644 (file)
@@ -18,7 +18,7 @@
 extern "C" {
 #endif
 
-void vp9_init_intra_predictors();
+void vp9_init_intra_predictors(void);
 
 void vp9_predict_intra_block(const MACROBLOCKD *xd, int block_idx, int bwl_in,
                              TX_SIZE tx_size, PREDICTION_MODE mode,
index af73fcbdcc3f73a674ee9d5415c70a1741eba76b..22759983ffaaf62609f9c5e3db4293dbef0d1318 100644 (file)
@@ -22,7 +22,7 @@ static struct vp9_token mv_class_encodings[MV_CLASSES];
 static struct vp9_token mv_fp_encodings[MV_FP_SIZE];
 static struct vp9_token mv_class0_encodings[CLASS0_SIZE];
 
-void vp9_entropy_mv_init() {
+void vp9_entropy_mv_init(void) {
   vp9_tokens_from_tree(mv_joint_encodings, vp9_mv_joint_tree);
   vp9_tokens_from_tree(mv_class_encodings, vp9_mv_class_tree);
   vp9_tokens_from_tree(mv_class0_encodings, vp9_mv_class0_tree);
index 0ae473749abe97b8d902c35eba10f32dfd36aa9b..e8ee5ab6641b33332a8b3f4e82bcadf3f8d6710a 100644 (file)
@@ -18,7 +18,7 @@
 extern "C" {
 #endif
 
-void vp9_entropy_mv_init();
+void vp9_entropy_mv_init(void);
 
 void vp9_write_nmv_probs(VP9_COMMON *cm, int usehp, vp9_writer *w,
                          nmv_context_counts *const counts);
index 47932db20e157a0ffbbb8b9ac3d516be94e15d05..fabe362968847abec65a5c6380f0b209c3548579 100644 (file)
@@ -137,7 +137,7 @@ static void init_minq_luts(int *kf_low_m, int *kf_high_m,
   }
 }
 
-void vp9_rc_init_minq_luts() {
+void vp9_rc_init_minq_luts(void) {
   init_minq_luts(kf_low_motion_minq_8, kf_high_motion_minq_8,
                  arfgf_low_motion_minq_8, arfgf_high_motion_minq_8,
                  inter_minq_8, rtc_minq_8, VPX_BITS_8);
index 869f6e59e9796585fd759af9a2d246f96710688e..a2e0699297603331e47bd588ea34ae3a53261c1b 100644 (file)
@@ -152,7 +152,7 @@ int vp9_estimate_bits_at_q(FRAME_TYPE frame_kind, int q, int mbs,
 
 double vp9_convert_qindex_to_q(int qindex, vpx_bit_depth_t bit_depth);
 
-void vp9_rc_init_minq_luts();
+void vp9_rc_init_minq_luts(void);
 
 // Generally at the high level, the following flow is expected
 // to be enforced for rate control:
index 9fa7b9d670e49cf995de076acf4f483bc68c59d0..bbcbfe9293a122ef375306239f9bfca8c1f0a5d0 100644 (file)
@@ -129,7 +129,7 @@ static void init_me_luts_bd(int *bit16lut, int *bit4lut, int range,
   }
 }
 
-void vp9_init_me_luts() {
+void vp9_init_me_luts(void) {
   init_me_luts_bd(sad_per_bit16lut_8, sad_per_bit4lut_8, QINDEX_RANGE,
                   VPX_BITS_8);
 #if CONFIG_VP9_HIGHBITDEPTH
index 4d247342b0ae8dd0919b0b840ae309bcf1ed42ca..7ba2568fe68c68e19845edd361f3870a5a586adb 100644 (file)
@@ -150,7 +150,7 @@ int16_t* vp9_raster_block_offset_int16(BLOCK_SIZE plane_bsize,
 YV12_BUFFER_CONFIG *vp9_get_scaled_ref_frame(const struct VP9_COMP *cpi,
                                              int ref_frame);
 
-void vp9_init_me_luts();
+void vp9_init_me_luts(void);
 
 void vp9_get_entropy_contexts(BLOCK_SIZE bsize, TX_SIZE tx_size,
                               const struct macroblockd_plane *pd,
index 0fe531217b097d9fdf713ae06b76aa6da55623f3..a90c13f552b53a44d9f823ebd7d65a52d5fff274 100644 (file)
@@ -110,7 +110,7 @@ static void temporal_filter_predictors_mb_c(MACROBLOCKD *xd,
                             kernel, mv_precision_uv, x, y);
 }
 
-void vp9_temporal_filter_init() {
+void vp9_temporal_filter_init(void) {
   int i;
 
   fixed_divide[0] = 0;
index a971e0ae365e270d5beec00f75c936f349555049..f537b8870a695bd0978225965e35a16e9bc8d362 100644 (file)
@@ -15,7 +15,7 @@
 extern "C" {
 #endif
 
-void vp9_temporal_filter_init();
+void vp9_temporal_filter_init(void);
 void vp9_temporal_filter(VP9_COMP *cpi, int distance);
 
 #ifdef __cplusplus