pred_context += (mi-1)->mbmi.seg_id_predicted;
if (mb_row != 0)
pred_context +=
- (mi-pbi->common.mb_cols)->mbmi.seg_id_predicted;
+ (mi-pbi->common.mode_info_stride)->mbmi.seg_id_predicted;
mbmi->seg_id_predicted =
vp8_read(bc,
int i;
int pred_context;
- int index = 0;
const int *const rfct = cpi->count_mb_ref_frame_usage;
const int rf_intra = rfct[INTRA_FRAME];
if (mb_col != 0)
pred_context += (m-1)->mbmi.seg_id_predicted;
if (mb_row != 0)
- pred_context += (m-pc->mb_cols)->mbmi.seg_id_predicted;
+ pred_context += (m-pc->mode_info_stride)->mbmi.seg_id_predicted;
// Code the prediction flag for this mb
vp8_write( w, m->mbmi.seg_id_predicted,
// Normal undpredicted coding
write_mb_segid(w, mi, &cpi->mb.e_mbd);
}
- index++;
}
//#if CONFIG_SEGFEATURES
/* const */
MODE_INFO *m = c->mi;
int i;
- int index = 0;
int mb_row = -1;
int prob_skip_false = 0;
if (cpi->mb.e_mbd.update_mb_segmentation_map)
{
- index++;
write_mb_segid(bc, &m->mbmi, &cpi->mb.e_mbd);
}