vp9: Speed >= 8: Enable simple_block_yrd speed feature.
Enable speed feature for resolutions > VGA. avgPSNR on RTC down by ~1.7%. Speedup on ARM: ~5%. Change-Id: I7a3fe5f7425aa8df3f4a2eced1afa355bc0d4c95
This commit is contained in:
@@ -652,7 +652,7 @@ static void block_yrd(VP9_COMP *cpi, MACROBLOCK *x, RD_COST *this_rdc,
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (cpi->sf.use_simple_block_yrd && cpi->common.frame_type != KEY_FRAME &&
|
if (cpi->sf.use_simple_block_yrd && cpi->common.frame_type != KEY_FRAME &&
|
||||||
!cyclic_refresh_segment_id_boosted(xd->mi[0]->segment_id)) {
|
bsize < BLOCK_32X32) {
|
||||||
unsigned int var_y, sse_y;
|
unsigned int var_y, sse_y;
|
||||||
(void)tx_size;
|
(void)tx_size;
|
||||||
model_rd_for_sb_y(cpi, bsize, x, xd, &this_rdc->rate, &this_rdc->dist,
|
model_rd_for_sb_y(cpi, bsize, x, xd, &this_rdc->rate, &this_rdc->dist,
|
||||||
|
@@ -568,7 +568,7 @@ static void set_rt_speed_feature_framesize_independent(
|
|||||||
sf->adaptive_rd_thresh = 2;
|
sf->adaptive_rd_thresh = 2;
|
||||||
}
|
}
|
||||||
sf->limit_newmv_early_exit = 0;
|
sf->limit_newmv_early_exit = 0;
|
||||||
sf->use_simple_block_yrd = 0;
|
if (cm->width > 640 && cm->height > 480) sf->use_simple_block_yrd = 1;
|
||||||
}
|
}
|
||||||
// Turn off adaptive_rd_thresh if row_mt is on for all the non-rd paths. This
|
// Turn off adaptive_rd_thresh if row_mt is on for all the non-rd paths. This
|
||||||
// causes too many locks in realtime mode in certain platforms (Android ARM,
|
// causes too many locks in realtime mode in certain platforms (Android ARM,
|
||||||
|
Reference in New Issue
Block a user