ref: c6eadc3309c3bf093a6ea3527376d1d7f0ed4dbe
parent: 5e35c3c9a0a6a0cdb584b79e9f415414aa1a7cd6
author: James Zern <[email protected]>
date: Mon Aug 17 16:17:47 EDT 2015
vp9_firstpass: make vp9_init_subsampling private Change-Id: I03b2ae99ec2e212c76bf815de7d5745b5c965d57
--- a/vp9/encoder/vp9_firstpass.c
+++ b/vp9/encoder/vp9_firstpass.c
@@ -1237,7 +1237,7 @@
}
}
-void vp9_init_subsampling(VP9_COMP *cpi) {
+static void init_subsampling(VP9_COMP *cpi) {
const VP9_COMMON *const cm = &cpi->common;
RATE_CONTROL *const rc = &cpi->rc;
const int w = cm->width;
@@ -1332,7 +1332,7 @@
twopass->last_kfgroup_zeromotion_pct = 100;
if (oxcf->resize_mode != RESIZE_NONE) {
- vp9_init_subsampling(cpi);
+ init_subsampling(cpi);
}
}
--- a/vp9/encoder/vp9_firstpass.h
+++ b/vp9/encoder/vp9_firstpass.h
@@ -153,8 +153,6 @@
// Post encode update of the rate control parameters for 2-pass
void vp9_twopass_postencode_update(struct VP9_COMP *cpi);
-void vp9_init_subsampling(struct VP9_COMP *cpi);
-
void calculate_coded_size(struct VP9_COMP *cpi,
int *scaled_frame_width,
int *scaled_frame_height);