Adding DEFAULT_PRED_PROB_{0, 1, 2} constants.
Also using ALLOWED_REFS_PER_FRAME instead of 3. Change-Id: I810dd8521d8138edb9dbd78edede49b62f706554
This commit is contained in:
@@ -1170,9 +1170,9 @@ static void setup_pred_probs(VP9_COMMON *pc, vp9_reader *r) {
|
||||
// reference frame
|
||||
if (pc->frame_type == KEY_FRAME) {
|
||||
// Set the prediction probabilities to defaults
|
||||
pc->ref_pred_probs[0] = 120;
|
||||
pc->ref_pred_probs[1] = 80;
|
||||
pc->ref_pred_probs[2] = 40;
|
||||
pc->ref_pred_probs[0] = DEFAULT_PRED_PROB_0;
|
||||
pc->ref_pred_probs[1] = DEFAULT_PRED_PROB_1;
|
||||
pc->ref_pred_probs[2] = DEFAULT_PRED_PROB_2;
|
||||
} else {
|
||||
int i;
|
||||
for (i = 0; i < PREDICTION_PROBS; ++i)
|
||||
|
||||
Reference in New Issue
Block a user