diff options
author | Jerome Jiang <jianj@google.com> | 2020-04-23 20:02:32 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2020-04-23 20:02:32 +0000 |
commit | e0069c833855295ff5dc7ea379443653c4b5c496 (patch) | |
tree | 14e0c2cc05efbd7dbe0bedd9d26a682df8903930 /vp9/encoder/vp9_encodeframe.c | |
parent | ca2601262a05ba7aa30103df163c5c3b9e32a7b1 (diff) | |
parent | 547b2bb701e751a4740baef4620a80ea2e7b380e (diff) | |
download | libvpx-e0069c833855295ff5dc7ea379443653c4b5c496.tar libvpx-e0069c833855295ff5dc7ea379443653c4b5c496.tar.gz libvpx-e0069c833855295ff5dc7ea379443653c4b5c496.tar.bz2 libvpx-e0069c833855295ff5dc7ea379443653c4b5c496.zip |
Merge "Revert "vp9-rtc: Some speedups to speed 5 real-time mode""
Diffstat (limited to 'vp9/encoder/vp9_encodeframe.c')
-rw-r--r-- | vp9/encoder/vp9_encodeframe.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/vp9/encoder/vp9_encodeframe.c b/vp9/encoder/vp9_encodeframe.c index a41ecb0f0..1e8823147 100644 --- a/vp9/encoder/vp9_encodeframe.c +++ b/vp9/encoder/vp9_encodeframe.c @@ -5065,8 +5065,8 @@ static void nonrd_pick_partition(VP9_COMP *cpi, ThreadData *td, (void)*tp_orig; - // Avoid checking for rectangular partitions for speed >= 5. - if (cpi->oxcf.speed >= 5) do_rect = 0; + // Avoid checking for rectangular partitions for speed >= 6. + if (cpi->oxcf.speed >= 6) do_rect = 0; assert(num_8x8_blocks_wide_lookup[bsize] == num_8x8_blocks_high_lookup[bsize]); @@ -5324,11 +5324,6 @@ static void nonrd_select_partition(VP9_COMP *cpi, ThreadData *td, subsize >= subsize_ref) { x->max_partition_size = BLOCK_32X32; x->min_partition_size = BLOCK_8X8; - if (subsize_ref == BLOCK_16X16 && !xd->mi[0]->segment_id && - x->content_state_sb != kVeryHighSad && - x->content_state_sb != kLowVarHighSumdiff && - x->content_state_sb != kHighSadHighSumdiff) - x->min_partition_size = BLOCK_16X16; nonrd_pick_partition(cpi, td, tile_data, tp, mi_row, mi_col, bsize, rd_cost, 0, INT64_MAX, pc_tree); } else if (bsize == BLOCK_16X16 && partition != PARTITION_NONE) { |