ref: f4300285a39a336508e5692d0532e41d4efb5e73
parent: 1db646f0de18bc4b43fb901025a9e3cedb6a8157
parent: bb82c4997fc8313deaedaea37bdd32be9f271d88
author: Hui Su <huisu@google.com>
date: Fri Oct 12 15:59:53 EDT 2018
Merge "Enable ML based rect partition pruning for HBD"
--- a/vp9/encoder/vp9_encodeframe.c
+++ b/vp9/encoder/vp9_encodeframe.c
@@ -4018,13 +4018,9 @@
}
{
- int do_ml_rect_partition_pruning =
+ const int do_ml_rect_partition_pruning =
!frame_is_intra_only(cm) && !force_horz_split && !force_vert_split &&
(partition_horz_allowed || partition_vert_allowed) && bsize > BLOCK_8X8;
-#if CONFIG_VP9_HIGHBITDEPTH
- if (xd->cur_buf->flags & YV12_FLAG_HIGHBITDEPTH)
- do_ml_rect_partition_pruning = 0;
-#endif
if (do_ml_rect_partition_pruning) {
ml_prune_rect_partition(cpi, x, bsize, pc_tree, &partition_horz_allowed,
&partition_vert_allowed, best_rdc.rdcost, mi_row,