diff options
author | Hui Su <huisu@google.com> | 2018-10-11 14:33:40 -0700 |
---|---|---|
committer | Hui Su <huisu@google.com> | 2018-10-12 09:31:22 -0700 |
commit | bb82c4997fc8313deaedaea37bdd32be9f271d88 (patch) | |
tree | 3267ef2ccd2be8992cedc00f18611e0c57e9bba9 | |
parent | d8c59e0206279499646c3ccd2c5a6e6fe36f6fc4 (diff) | |
download | libvpx-bb82c4997fc8313deaedaea37bdd32be9f271d88.tar libvpx-bb82c4997fc8313deaedaea37bdd32be9f271d88.tar.gz libvpx-bb82c4997fc8313deaedaea37bdd32be9f271d88.tar.bz2 libvpx-bb82c4997fc8313deaedaea37bdd32be9f271d88.zip |
Enable ML based rect partition pruning for HBD
Tested on lowres_bd10(480p) and midres_bd10(720p), average coding
loss is 0.09%; average encoding speedup is 9%.
Only speed 0 is affected.
Change-Id: Ia8d48c1c6d1669745f0e956b172572a37e42f0c7
-rw-r--r-- | vp9/encoder/vp9_encodeframe.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/vp9/encoder/vp9_encodeframe.c b/vp9/encoder/vp9_encodeframe.c index 72dc13797..805c258aa 100644 --- a/vp9/encoder/vp9_encodeframe.c +++ b/vp9/encoder/vp9_encodeframe.c @@ -4018,13 +4018,9 @@ static void rd_pick_partition(VP9_COMP *cpi, ThreadData *td, } { - 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, |