Revert "New mode_info_context storage"
This reverts commit dae17734ec
Encode crashes, leaks and increases integer overflow errors.
Change-Id: I595aa2649bb8d0b6552ff91652837a74c103fda2
This commit is contained in:
committed by
Gerrit Code Review
parent
dae17734ec
commit
54a03e20dd
@@ -94,7 +94,7 @@ static int decode_coefs(VP9_COMMON *cm, const MACROBLOCKD *xd,
|
||||
ENTROPY_CONTEXT *A, ENTROPY_CONTEXT *L) {
|
||||
FRAME_CONTEXT *const fc = &cm->fc;
|
||||
FRAME_COUNTS *const counts = &cm->counts;
|
||||
const int ref = is_inter_block(&xd->this_mi->mbmi);
|
||||
const int ref = is_inter_block(&xd->mode_info_context->mbmi);
|
||||
int band, c = 0;
|
||||
vp9_prob (*coef_probs)[PREV_COEF_CONTEXTS][UNCONSTRAINED_NODES] =
|
||||
fc->coef_probs[tx_size][type][ref];
|
||||
@@ -224,7 +224,7 @@ static void decode_block(int plane, int block, BLOCK_SIZE plane_bsize,
|
||||
MACROBLOCKD *xd = &arg->pbi->mb;
|
||||
struct segmentation *seg = &arg->pbi->common.seg;
|
||||
struct macroblockd_plane* pd = &xd->plane[plane];
|
||||
const int segment_id = xd->this_mi->mbmi.segment_id;
|
||||
const int segment_id = xd->mode_info_context->mbmi.segment_id;
|
||||
const int seg_eob = get_tx_eob(seg, segment_id, tx_size);
|
||||
int aoff, loff, eob;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user