ref: 9e29417962ce15075f380a9b5b5203d57c08a30a
parent: b1f789cf18ffcc976704184f2544d218c88f8ded
parent: 8d5461eb0aaeca4c5e51b8f142cf7f4d281d8afe
author: Hui Su <[email protected]>
date: Thu Oct 18 12:46:15 EDT 2018
Merge "Enable rect partition search for HBD at speed 1"
--- a/vp9/encoder/vp9_speed_features.c
+++ b/vp9/encoder/vp9_speed_features.c
@@ -116,17 +116,13 @@
sf->ml_partition_search_breakout_thresh[1] = -1.0f;
sf->ml_partition_search_breakout_thresh[2] = -1.0f;
}
-
#if CONFIG_VP9_HIGHBITDEPTH
if (cpi->Source->flags & YV12_FLAG_HIGHBITDEPTH) {
- sf->use_square_only_thresh_high = BLOCK_4X4;
- sf->use_square_only_thresh_low = BLOCK_SIZES;
- if (is_720p_or_larger) {
- sf->partition_search_breakout_thr.dist = (1 << 23);
- sf->use_ml_partition_search_breakout = 0;
- }
+ sf->ml_partition_search_breakout_thresh[0] -= 1.0f;
+ sf->ml_partition_search_breakout_thresh[1] -= 1.0f;
+ sf->ml_partition_search_breakout_thresh[2] -= 1.0f;
}
-#endif
+#endif // CONFIG_VP9_HIGHBITDEPTH
}
if (speed >= 2) {
@@ -246,10 +242,6 @@
sf->ml_prune_rect_partition_threhold[1] = 200;
sf->ml_prune_rect_partition_threhold[2] = 200;
sf->ml_prune_rect_partition_threhold[3] = 200;
-#if CONFIG_VP9_HIGHBITDEPTH
- if (cpi->Source->flags & YV12_FLAG_HIGHBITDEPTH)
- sf->prune_ref_frame_for_rect_partitions = 0;
-#endif // CONFIG_VP9_HIGHBITDEPTH
if (oxcf->pass == 2) {
TWO_PASS *const twopass = &cpi->twopass;