summaryrefslogtreecommitdiff
path: root/vp10/encoder/aq_cyclicrefresh.h
diff options
context:
space:
mode:
authorYaowu Xu <yaowu@google.com>2015-08-13 09:42:27 -0700
committerYaowu Xu <yaowu@google.com>2015-08-13 11:37:17 -0700
commit26a9afc32c5b8fcad8fe3674b34f7c4d12692030 (patch)
treed6177cd51940b795a1bb1534bcf6070f5e30dab3 /vp10/encoder/aq_cyclicrefresh.h
parentfc7cbd1f606c7746d9444d18e487cac27ee98212 (diff)
downloadlibvpx-26a9afc32c5b8fcad8fe3674b34f7c4d12692030.tar
libvpx-26a9afc32c5b8fcad8fe3674b34f7c4d12692030.tar.gz
libvpx-26a9afc32c5b8fcad8fe3674b34f7c4d12692030.tar.bz2
libvpx-26a9afc32c5b8fcad8fe3674b34f7c4d12692030.zip
VP9_COMP -> VP10_COMP
Change-Id: I83b5c69621f9f28b742e5b13517d4e5b99c6cd26
Diffstat (limited to 'vp10/encoder/aq_cyclicrefresh.h')
-rw-r--r--vp10/encoder/aq_cyclicrefresh.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/vp10/encoder/aq_cyclicrefresh.h b/vp10/encoder/aq_cyclicrefresh.h
index 6316a98e6..b672c52c5 100644
--- a/vp10/encoder/aq_cyclicrefresh.h
+++ b/vp10/encoder/aq_cyclicrefresh.h
@@ -27,7 +27,7 @@ extern "C" {
// Maximum rate target ratio for setting segment delta-qp.
#define CR_MAX_RATE_TARGET_RATIO 4.0
-struct VP9_COMP;
+struct VP10_COMP;
struct CYCLIC_REFRESH;
typedef struct CYCLIC_REFRESH CYCLIC_REFRESH;
@@ -38,44 +38,44 @@ void vp10_cyclic_refresh_free(CYCLIC_REFRESH *cr);
// Estimate the bits, incorporating the delta-q from segment 1, after encoding
// the frame.
-int vp10_cyclic_refresh_estimate_bits_at_q(const struct VP9_COMP *cpi,
+int vp10_cyclic_refresh_estimate_bits_at_q(const struct VP10_COMP *cpi,
double correction_factor);
// Estimate the bits per mb, for a given q = i and a corresponding delta-q
// (for segment 1), prior to encoding the frame.
-int vp10_cyclic_refresh_rc_bits_per_mb(const struct VP9_COMP *cpi, int i,
+int vp10_cyclic_refresh_rc_bits_per_mb(const struct VP10_COMP *cpi, int i,
double correction_factor);
// Prior to coding a given prediction block, of size bsize at (mi_row, mi_col),
// check if we should reset the segment_id, and update the cyclic_refresh map
// and segmentation map.
-void vp10_cyclic_refresh_update_segment(struct VP9_COMP *const cpi,
+void vp10_cyclic_refresh_update_segment(struct VP10_COMP *const cpi,
MB_MODE_INFO *const mbmi,
int mi_row, int mi_col, BLOCK_SIZE bsize,
int64_t rate, int64_t dist, int skip);
// Update the segmentation map, and related quantities: cyclic refresh map,
// refresh sb_index, and target number of blocks to be refreshed.
-void vp10_cyclic_refresh_update__map(struct VP9_COMP *const cpi);
+void vp10_cyclic_refresh_update__map(struct VP10_COMP *const cpi);
// Update the actual number of blocks that were applied the segment delta q.
-void vp10_cyclic_refresh_postencode(struct VP9_COMP *const cpi);
+void vp10_cyclic_refresh_postencode(struct VP10_COMP *const cpi);
// Set golden frame update interval, for non-svc 1 pass CBR mode.
-void vp10_cyclic_refresh_set_golden_update(struct VP9_COMP *const cpi);
+void vp10_cyclic_refresh_set_golden_update(struct VP10_COMP *const cpi);
// Check if we should not update golden reference, based on past refresh stats.
-void vp10_cyclic_refresh_check_golden_update(struct VP9_COMP *const cpi);
+void vp10_cyclic_refresh_check_golden_update(struct VP10_COMP *const cpi);
// Set/update global/frame level refresh parameters.
-void vp10_cyclic_refresh_update_parameters(struct VP9_COMP *const cpi);
+void vp10_cyclic_refresh_update_parameters(struct VP10_COMP *const cpi);
// Setup cyclic background refresh: set delta q and segmentation map.
-void vp10_cyclic_refresh_setup(struct VP9_COMP *const cpi);
+void vp10_cyclic_refresh_setup(struct VP10_COMP *const cpi);
int vp10_cyclic_refresh_get_rdmult(const CYCLIC_REFRESH *cr);
-void vp10_cyclic_refresh_reset_resize(struct VP9_COMP *const cpi);
+void vp10_cyclic_refresh_reset_resize(struct VP10_COMP *const cpi);
static INLINE int cyclic_refresh_segment_id_boosted(int segment_id) {
return segment_id == CR_SEGMENT_ID_BOOST1 ||