vp9_dequant_idct_add(b->qcoeff, b->dequant, b->predictor,
*(b->base_dst) + b->dst, 16, b->dst_stride);
}
+ xd->above_context->y2 = 1;
+ xd->left_context->y2 = 1;
}
if (!xd->mode_info_context->mbmi.mb_skip_coeff)
vp9_decode_mb_tokens_4x4_uv(pbi, xd, bc);
} else {
vpx_memset(xd->above_context, 0, sizeof(ENTROPY_CONTEXT_PLANES) - 1);
vpx_memset(xd->left_context, 0, sizeof(ENTROPY_CONTEXT_PLANES) - 1);
+ xd->above_context->y2 = 1;
+ xd->left_context->y2 = 1;
}
}
eobtotal += c - 4;
type = PLANE_TYPE_Y_NO_DC;
} else {
+ xd->above_context->y2 = 1;
+ xd->left_context->y2 = 1;
type = PLANE_TYPE_Y_WITH_DC;
}
eobtotal += vp9_decode_coefs_4x4(dx, xd, bc, PLANE_TYPE_Y2, 24) - 16;
type = PLANE_TYPE_Y_NO_DC;
} else {
+ xd->above_context->y2 = 1;
+ xd->left_context->y2 = 1;
type = PLANE_TYPE_Y_WITH_DC;
}
}
plane_type = PLANE_TYPE_Y_NO_DC;
- } else
+ } else {
+ xd->above_context->y2 = 1;
+ xd->left_context->y2 = 1;
plane_type = PLANE_TYPE_Y_WITH_DC;
+ }
if (tx_size == TX_16X16) {
tokenize_b(cpi, xd, xd->block, t, PLANE_TYPE_Y_WITH_DC,
TX_8X8, dry_run);
plane_type = PLANE_TYPE_Y_NO_DC;
} else {
+ xd->above_context->y2 = 1;
+ xd->left_context->y2 = 1;
plane_type = PLANE_TYPE_Y_WITH_DC;
}
L + vp9_block2left[24], TX_4X4, dry_run);
plane_type = PLANE_TYPE_Y_NO_DC;
} else {
+ xd->above_context->y2 = 1;
+ xd->left_context->y2 = 1;
plane_type = PLANE_TYPE_Y_WITH_DC;
}
for (b = 16; b < 24; b++)
stuff_b(cpi, xd, xd->block + b, t, PLANE_TYPE_UV, A + vp9_block2above[b],
L + vp9_block2left[b], TX_4X4, dry_run);
+ xd->above_context->y2 = 1;
+ xd->left_context->y2 = 1;
}
void vp9_stuff_mb(VP9_COMP *cpi, MACROBLOCKD *xd, TOKENEXTRA **t, int dry_run) {
} else {
vpx_memset(xd->above_context, 0, sizeof(ENTROPY_CONTEXT_PLANES) - 1);
vpx_memset(xd->left_context, 0, sizeof(ENTROPY_CONTEXT_PLANES) - 1);
+ xd->above_context->y2 = 1;
+ xd->left_context->y2 = 1;
}
}