Index: source/libvpx/vp9/encoder/vp9_aq_cyclicrefresh.h |
diff --git a/source/libvpx/vp9/encoder/vp9_aq_cyclicrefresh.h b/source/libvpx/vp9/encoder/vp9_aq_cyclicrefresh.h |
index dc1b968a2719f60888512287892bde7c80b099e4..34224c1d3d61118b4f530d29139f3485b9fd4abc 100644 |
--- a/source/libvpx/vp9/encoder/vp9_aq_cyclicrefresh.h |
+++ b/source/libvpx/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 *const 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); |
@@ -72,6 +78,11 @@ void vp9_cyclic_refresh_setup(struct VP9_COMP *const cpi); |
int vp9_cyclic_refresh_get_rdmult(const CYCLIC_REFRESH *cr); |
+static INLINE int cyclic_refresh_segment_id_boosted(int segment_id) { |
+ return segment_id == CR_SEGMENT_ID_BOOST1 || |
+ segment_id == CR_SEGMENT_ID_BOOST2; |
+} |
+ |
#ifdef __cplusplus |
} // extern "C" |
#endif |