summaryrefslogtreecommitdiff
path: root/vp9/encoder/vp9_aq_cyclicrefresh.h
diff options
context:
space:
mode:
authorMarco <marpan@google.com>2015-03-05 17:26:52 -0800
committerMarco <marpan@google.com>2015-03-10 10:54:00 -0700
commitfb31aa09e245bdc24ebee252b5acf4093bc9213b (patch)
treea51cb163803f316aee090449f1f3a3b776deef51 /vp9/encoder/vp9_aq_cyclicrefresh.h
parent78df71221656b0a0d37bff6c16efd743347fa30d (diff)
downloadlibvpx-fb31aa09e245bdc24ebee252b5acf4093bc9213b.tar
libvpx-fb31aa09e245bdc24ebee252b5acf4093bc9213b.tar.gz
libvpx-fb31aa09e245bdc24ebee252b5acf4093bc9213b.tar.bz2
libvpx-fb31aa09e245bdc24ebee252b5acf4093bc9213b.zip
Modify update golden reference update under aq-mode=3 mode.
For non-SVC 1 pass CBR: make the GF update interval a multiple of the cyclic refresh period, and use encoding stats to prevent GF update at certain times. Change-Id: I4c44cacc2f70f1d27391a47644837e1eaa065017
Diffstat (limited to 'vp9/encoder/vp9_aq_cyclicrefresh.h')
-rw-r--r--vp9/encoder/vp9_aq_cyclicrefresh.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/vp9/encoder/vp9_aq_cyclicrefresh.h b/vp9/encoder/vp9_aq_cyclicrefresh.h
index dc1b968a2..048a0ed35 100644
--- a/vp9/encoder/vp9_aq_cyclicrefresh.h
+++ b/vp9/encoder/vp9_aq_cyclicrefresh.h
@@ -62,7 +62,13 @@ void vp9_cyclic_refresh_update_segment(struct VP9_COMP *const cpi,
void vp9_cyclic_refresh_update__map(struct VP9_COMP *const cpi);
// Update the actual number of blocks that were applied the segment delta q.
-void vp9_cyclic_refresh_update_actual_count(struct VP9_COMP *const cpi);
+void vp9_cyclic_refresh_postencode(struct VP9_COMP *const cpi);
+
+// Set golden frame update interval, for non-svc 1 pass CBR mode.
+void vp9_cyclic_refresh_set_golden_update(struct VP9_COMP *cpi);
+
+// Check if we should not update golden reference, based on past refresh stats.
+void vp9_cyclic_refresh_check_golden_update(struct VP9_COMP *const cpi);
// Set/update global/frame level refresh parameters.
void vp9_cyclic_refresh_update_parameters(struct VP9_COMP *const cpi);