vp9: 1 pass CBR: avoid nonrd_pick_partition on segment.
For speed 5, 1 pass CBR: Don't use the nonrd_pick_partition on the segment, rather use choose_partitioning followed by nonrd_select_partition (as is done on base segment). Little/no quality loss on RTC and RTC_derf (< 0.3%), speedup of at least 5%. Change-Id: I5273d5f950e60adf5e437b4ca8c4f63964641e83
This commit is contained in:
parent
ff1fef9607
commit
6557baf336
@ -4152,14 +4152,11 @@ static void encode_nonrd_sb_row(VP9_COMP *cpi, ThreadData *td,
|
||||
break;
|
||||
case REFERENCE_PARTITION:
|
||||
set_offsets(cpi, tile_info, x, mi_row, mi_col, BLOCK_64X64);
|
||||
// Use nonrd_pick_partition on scene-cut for VBR, or on qp-segment
|
||||
// if cyclic_refresh is enabled.
|
||||
// Use nonrd_pick_partition on scene-cut for VBR mode.
|
||||
// nonrd_pick_partition does not support 4x4 partition, so avoid it
|
||||
// on key frame for now.
|
||||
if ((cpi->oxcf.rc_mode == VPX_VBR && cpi->rc.high_source_sad &&
|
||||
cm->frame_type != KEY_FRAME) ||
|
||||
(cpi->oxcf.aq_mode == CYCLIC_REFRESH_AQ && cm->seg.enabled &&
|
||||
xd->mi[0]->segment_id)) {
|
||||
cm->frame_type != KEY_FRAME)) {
|
||||
// Use lower max_partition_size for low resoultions.
|
||||
if (cm->width <= 352 && cm->height <= 288)
|
||||
x->max_partition_size = BLOCK_32X32;
|
||||
|
Loading…
x
Reference in New Issue
Block a user