aboutsummaryrefslogtreecommitdiff
path: root/decoder/ih264d_parse_pslice.c
diff options
context:
space:
mode:
Diffstat (limited to 'decoder/ih264d_parse_pslice.c')
-rw-r--r--decoder/ih264d_parse_pslice.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/decoder/ih264d_parse_pslice.c b/decoder/ih264d_parse_pslice.c
index 77ea4b3..beb24d4 100644
--- a/decoder/ih264d_parse_pslice.c
+++ b/decoder/ih264d_parse_pslice.c
@@ -1003,6 +1003,12 @@ WORD32 ih264d_parse_inter_slice_data_cabac(dec_struct_t * ps_dec,
}
+ if(ps_dec->u1_enable_mb_info)
+ {
+ ih264d_populate_mb_info_map(ps_dec, ps_cur_mb_info, ps_cur_mb_info->u2_mbx << 1,
+ ps_cur_mb_info->u2_mby << 1, ps_cur_deblk_mb->u1_mb_qp);
+ }
+
if(u1_mbaff)
{
ih264d_update_mbaff_left_nnz(ps_dec, ps_cur_mb_info);
@@ -1354,6 +1360,12 @@ WORD32 ih264d_parse_inter_slice_data_cavlc(dec_struct_t * ps_dec,
}
ps_cur_deblk_mb->u1_mb_qp = ps_dec->u1_qp;
+ if(ps_dec->u1_enable_mb_info)
+ {
+ ih264d_populate_mb_info_map(ps_dec, ps_cur_mb_info, ps_cur_mb_info->u2_mbx << 1,
+ ps_cur_mb_info->u2_mby << 1, ps_cur_deblk_mb->u1_mb_qp);
+ }
+
if(u1_mbaff)
{
ih264d_update_mbaff_left_nnz(ps_dec, ps_cur_mb_info);