ref: 2f9d118f216e40c71130efc9e0f4f296273b4439
parent: 2ec473bb0ad231ae6e2e24241ee7978cbb5d27bd
parent: 1c3e04bb94c6fede746e31bd3a48b2079d111abb
author: Jingning Han <[email protected]>
date: Fri Dec 13 06:10:39 EST 2013
Merge "Remove some dead code"
--- a/vp9/encoder/vp9_rdopt.c
+++ b/vp9/encoder/vp9_rdopt.c
@@ -3811,8 +3811,6 @@
int skip_uv[TX_SIZES];
MB_PREDICTION_MODE mode_uv[TX_SIZES] = { 0 };
struct scale_factors scale_factor[4];
- unsigned int ref_frame_mask = 0;
- unsigned int mode_mask = 0;
int intra_cost_penalty = 20 * vp9_dc_quant(cpi->common.base_qindex,
cpi->common.y_dc_delta_q);
int_mv seg_mvs[4][MAX_REF_FRAMES];
@@ -3841,15 +3839,6 @@
rate_uv_intra[i] = INT_MAX;
*returnrate = INT_MAX;
-
- // Create a mask set to 1 for each reference frame used by a smaller
- // resolution.
- if (cpi->sf.use_avoid_tested_higherror) {
- ref_frame_mask = 0;
- mode_mask = 0;
- ref_frame_mask = ~ref_frame_mask;
- mode_mask = ~mode_mask;
- }
for (ref_frame = LAST_FRAME; ref_frame <= ALTREF_FRAME; ref_frame++) {
if (cpi->ref_frame_flags & flag_list[ref_frame]) {