summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Koleszar <jkoleszar@google.com>2010-09-29 13:53:08 -0400
committerJohn Koleszar <jkoleszar@google.com>2010-09-29 13:53:14 -0400
commit7e5e31516c19494630da1cb2e49e3963f7f1fc61 (patch)
tree99c4e27c03172e4f963b71f1fdc99c5c82c1613b
parentb9be7a464f065c3700f937eea01d9298002b37eb (diff)
downloadlibvpx-7e5e31516c19494630da1cb2e49e3963f7f1fc61.tar
libvpx-7e5e31516c19494630da1cb2e49e3963f7f1fc61.tar.gz
libvpx-7e5e31516c19494630da1cb2e49e3963f7f1fc61.tar.bz2
libvpx-7e5e31516c19494630da1cb2e49e3963f7f1fc61.zip
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
-rw-r--r--vp8/encoder/onyx_if.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/vp8/encoder/onyx_if.c b/vp8/encoder/onyx_if.c
index 7ea7884e4..f09777a95 100644
--- a/vp8/encoder/onyx_if.c
+++ b/vp8/encoder/onyx_if.c
@@ -73,7 +73,7 @@ int vp8_calc_ss_err(YV12_BUFFER_CONFIG *source, YV12_BUFFER_CONFIG *dest, const
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 @@ static void setup_features(VP8_COMP *cpi)
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 cyclic_background_refresh(VP8_COMP *cpi, int Q, int lf_adjustment)
}
-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;
@@ -2184,9 +2183,6 @@ VP8_PTR vp8_create_compressor(VP8_CONFIG *oxcf)
// 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();
#endif