summaryrefslogtreecommitdiff
path: root/vp9/encoder/vp9_encodeframe.c
diff options
context:
space:
mode:
authorYunqing Wang <yunqingwang@google.com>2014-08-15 14:10:27 -0700
committerYunqing Wang <yunqingwang@google.com>2014-08-15 14:10:27 -0700
commit28b1437d779fc0e6041822efebee638b8a9e7255 (patch)
treed45ab7cbdf48733ad6c7389a8d3c36e6501c66bd /vp9/encoder/vp9_encodeframe.c
parentfa8de273e771bb0af79a226ba1dc34da02d0955c (diff)
downloadlibvpx-28b1437d779fc0e6041822efebee638b8a9e7255.tar
libvpx-28b1437d779fc0e6041822efebee638b8a9e7255.tar.gz
libvpx-28b1437d779fc0e6041822efebee638b8a9e7255.tar.bz2
libvpx-28b1437d779fc0e6041822efebee638b8a9e7255.zip
Remove a unused speed feature
Removed disable_split_var_thresh, which is not used anymore. Change-Id: I50119b150442e1571157433b5effc6aae0dbe0fd
Diffstat (limited to 'vp9/encoder/vp9_encodeframe.c')
-rw-r--r--vp9/encoder/vp9_encodeframe.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/vp9/encoder/vp9_encodeframe.c b/vp9/encoder/vp9_encodeframe.c
index a797c85ce..a30473214 100644
--- a/vp9/encoder/vp9_encodeframe.c
+++ b/vp9/encoder/vp9_encodeframe.c
@@ -2060,17 +2060,6 @@ static void rd_pick_partition(VP9_COMP *cpi, const TileInfo *const tile,
save_context(cpi, mi_row, mi_col, a, l, sa, sl, bsize);
- if (cpi->sf.disable_split_var_thresh && partition_none_allowed) {
- unsigned int source_variancey;
- vp9_setup_src_planes(x, cpi->Source, mi_row, mi_col);
- source_variancey = get_sby_perpixel_variance(cpi, &x->plane[0].src, bsize);
- if (source_variancey < cpi->sf.disable_split_var_thresh) {
- do_split = 0;
- if (source_variancey < cpi->sf.disable_split_var_thresh / 2)
- do_rect = 0;
- }
- }
-
#if CONFIG_FP_MB_STATS
if (cpi->use_fp_mb_stats) {
set_offsets(cpi, tile, mi_row, mi_col, bsize);