diff options
author | Marco Paniconi <marpan@google.com> | 2014-04-04 15:10:14 -0700 |
---|---|---|
committer | Marco Paniconi <marpan@google.com> | 2014-04-07 14:58:28 -0700 |
commit | 181949948e6572a199a3de8046b553c903eb373b (patch) | |
tree | d7b20c3417e30e6057b66313721041069fdb43d6 /vp9/encoder/vp9_speed_features.c | |
parent | 01aae92dcfb879c7b5a965f40e46f1beec77a30a (diff) | |
download | libvpx-181949948e6572a199a3de8046b553c903eb373b.tar libvpx-181949948e6572a199a3de8046b553c903eb373b.tar.gz libvpx-181949948e6572a199a3de8046b553c903eb373b.tar.bz2 libvpx-181949948e6572a199a3de8046b553c903eb373b.zip |
Add constrained-copy partition to speed features.
Copy up to a certain bsize, otherwise set to a fixed bsize.
This helsp to reduce artifact near moving boundary caused by full partition
copy without checking motion of super-block.
This artifact can occur at speeds 3,4 in real-time mode.
Issue: https://code.google.com/p/webm/issues/detail?id=738.
Change-Id: I05812521fd38816a467f72eb6a951cae4c227931
Diffstat (limited to 'vp9/encoder/vp9_speed_features.c')
-rw-r--r-- | vp9/encoder/vp9_speed_features.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vp9/encoder/vp9_speed_features.c b/vp9/encoder/vp9_speed_features.c index b79e15979..c72b62bc5 100644 --- a/vp9/encoder/vp9_speed_features.c +++ b/vp9/encoder/vp9_speed_features.c @@ -209,6 +209,7 @@ static void set_rt_speed_feature(VP9_COMMON *cm, SPEED_FEATURES *sf, sf->use_square_partition_only = 1; sf->disable_filter_search_var_thresh = 100; sf->use_lastframe_partitioning = LAST_FRAME_PARTITION_ALL; + sf->constrain_copy_partition = 1; sf->use_uv_intra_rd_estimate = 1; sf->skip_encode_sb = 1; sf->subpel_iters_per_step = 1; @@ -310,6 +311,7 @@ void vp9_set_speed_features(VP9_COMP *cpi) { sf->min_partition_size = BLOCK_4X4; sf->adjust_partitioning_from_last_frame = 0; sf->last_partitioning_redo_frequency = 4; + sf->constrain_copy_partition = 0; sf->disable_split_mask = 0; sf->mode_search_skip_flags = 0; sf->force_frame_boost = 0; |