ref: fe0c09c2aab48da32d2a1e78efad2f5310b1385f
parent: d66ecf0dc1a72a7e2f0f3e3f3c28be3b5798d184
author: Yaowu Xu <[email protected]>
date: Tue Feb 25 09:15:00 EST 2014
Reduce the frequency of partition size adjsutment The commit change to use partitions sizes directly from last frame for frames directly where last frame selects partitions sizes based on coding efficiency. On --rt --cpu-used=-5, the change hurts compression by 4% but reduces encoding time by ~20% Change-Id: Ia68665e5c8489b7bfcf5fac7768332fba88928e6
--- a/vp9/encoder/vp9_onyx_if.c
+++ b/vp9/encoder/vp9_onyx_if.c
@@ -852,6 +852,9 @@
sf->adaptive_rd_thresh = 5;
sf->auto_min_max_partition_size = frame_is_intra_only(cm) ?
RELAXED_NEIGHBORING_MIN_MAX : STRICT_NEIGHBORING_MIN_MAX;
+ sf->adjust_partitioning_from_last_frame =
+ cm->last_frame_type == KEY_FRAME || (0 ==
+ (cm->current_video_frame + 1) % sf->last_partitioning_redo_frequency);
sf->subpel_force_stop = 1;
for (i = 0; i < TX_SIZES; i++) {
sf->intra_y_mode_mask[i] = INTRA_DC_H_V;
@@ -859,7 +862,6 @@
}
sf->frame_parameter_update = 0;
sf->encode_breakout_thresh = 1000;
-
sf->search_method = FAST_HEX;
}
if (speed >= 6) {