ref: 7e5e31516c19494630da1cb2e49e3963f7f1fc61
parent: b9be7a464f065c3700f937eea01d9298002b37eb
author: John Koleszar <jkoleszar@google.com>
date: Wed Sep 29 09:53:08 EDT 2010
Rename mode_ref_lf_test_function This function graduated from being a test func to something that's on by default. Rename it and remove some spurious comments that confuse its status. Change-Id: I689695a3ad29c35e9a72a43ec93766733ac6c20b
--- a/vp8/encoder/onyx_if.c
+++ b/vp8/encoder/onyx_if.c
@@ -73,7 +73,7 @@
int vp8_calc_low_ss_err(YV12_BUFFER_CONFIG *source, YV12_BUFFER_CONFIG *dest, const vp8_variance_rtcd_vtable_t *rtcd);
-static void mode_ref_lf_test_function(VP8_COMP *cpi);
+static void set_default_lf_deltas(VP8_COMP *cpi);
extern const int vp8_gf_interval_table[101];
@@ -275,8 +275,7 @@
vpx_memset(cpi->mb.e_mbd.last_ref_lf_deltas, 0, sizeof(cpi->mb.e_mbd.ref_lf_deltas));
vpx_memset(cpi->mb.e_mbd.last_mode_lf_deltas, 0, sizeof(cpi->mb.e_mbd.mode_lf_deltas));
- // jbb trial !
- mode_ref_lf_test_function(cpi);
+ set_default_lf_deltas(cpi);
}
@@ -534,7 +533,7 @@
}
-static void mode_ref_lf_test_function(VP8_COMP *cpi)
+static void set_default_lf_deltas(VP8_COMP *cpi)
{
cpi->mb.e_mbd.mode_ref_lf_delta_enabled = 1;
cpi->mb.e_mbd.mode_ref_lf_delta_update = 1;
@@ -2183,9 +2182,6 @@
// Test function for segmentation
//segmentation_test_function((VP8_PTR) cpi);
-
- // Loop filter mode / ref deltas test function
- //mode_ref_lf_test_function(cpi);
#ifdef ENTROPY_STATS
init_context_counters();