Commit e39ecfaa authored by Deb Mukherjee's avatar Deb Mukherjee
Browse files

Preliminary code for variance based paritioning

Brings back most of Jim's previous patch for choosing
partitioning based on variance while making it compatible
with the current state of the code. Also adds a
nonrd_use_partition() function to recursively encode  for any
arbitrary sb_type decisions within a 64x64 block; and
includes some refactoring.

Currently, when the VAR_BASED_PARTITIONING mode is turned on
for speed 7, there is a 10+% speed-up observed.

Experiments/improvements with this new partitioning method
will be conducted subsequently.

Change-Id: Ie6f43bfbde30583e941f450bf07c3b48828c9571
parent 5556caf6
This diff is collapsed.
......@@ -866,7 +866,7 @@ int vp9_square_search(const MACROBLOCK *x,
do_init_search, 0, vfp, use_mvcost,
center_mv, best_mv,
square_num_candidates, square_candidates);
};
}
int vp9_fast_hex_search(const MACROBLOCK *x,
MV *ref_mv,
......
......@@ -874,7 +874,7 @@ static void set_rt_speed_feature(VP9_COMMON *cm,
if (speed >= 8) {
int i;
for (i = 0; i < BLOCK_SIZES; ++i)
sf->disable_inter_mode_mask[i] = 14; // only search NEARESTMV (0)
sf->disable_inter_mode_mask[i] = 14; // only search NEARESTMV (0)
}
}
......
......@@ -250,7 +250,6 @@ int64_t vp9_pick_inter_mode(VP9_COMP *cpi, MACROBLOCK *x,
x->skip = 0;
if (!x->in_active_map)
x->skip = 1;
// initialize mode decisions
*returnrate = INT_MAX;
*returndistortion = INT64_MAX;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment