Apply max intra block size condition to non-RD mode decision

Change-Id: I9b86a94d11db2239c85f61aeed5bbd83a0dfa028
This commit is contained in:
Jingning Han 2014-04-23 18:59:26 -07:00
Родитель 8969f7c892
Коммит 5a4e17b42f
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -418,7 +418,7 @@ int64_t vp9_pick_inter_mode(VP9_COMP *cpi, MACROBLOCK *x,
// Perform intra prediction search, if the best SAD is above a certain // Perform intra prediction search, if the best SAD is above a certain
// threshold. // threshold.
if (best_rd > inter_mode_thresh) { if (best_rd > inter_mode_thresh && bsize < cpi->sf.max_intra_bsize) {
for (this_mode = DC_PRED; this_mode <= DC_PRED; ++this_mode) { for (this_mode = DC_PRED; this_mode <= DC_PRED; ++this_mode) {
vp9_predict_intra_block(xd, 0, b_width_log2(bsize), vp9_predict_intra_block(xd, 0, b_width_log2(bsize),
mbmi->tx_size, this_mode, mbmi->tx_size, this_mode,