ref: 0cf599b573ef7fe56551e20a89ae258f682f48be
parent: 387ec881d305ffd41bc66de7a4673211641200e7
parent: 238b2ace8643eff0260c98d56b057627715c218e
author: Jingning Han <[email protected]>
date: Thu Sep 11 07:15:35 EDT 2014
Merge "Move intra block size skip outside mode search loop"
--- a/vp9/encoder/vp9_rdopt.c
+++ b/vp9/encoder/vp9_rdopt.c
@@ -2685,6 +2685,11 @@
}
}
+ if (bsize > cpi->sf.max_intra_bsize) {
+ ref_frame_skip_mask[0] |= (1 << INTRA_FRAME);
+ ref_frame_skip_mask[1] |= (1 << INTRA_FRAME);
+ }
+
for (mode_index = 0; mode_index < MAX_MODES; ++mode_index) {
int mode_excluded = 0;
int64_t this_rd = INT64_MAX;
@@ -2728,10 +2733,6 @@
break;
}
}
-
- if (bsize > cpi->sf.max_intra_bsize)
- if (ref_frame == INTRA_FRAME)
- continue;
if (ref_frame_skip_mask[0] & (1 << ref_frame) &&
ref_frame_skip_mask[1] & (1 << MAX(0, second_ref_frame)))