aboutsummaryrefslogtreecommitdiff
path: root/decoder/ih264d_parse_islice.c
diff options
context:
space:
mode:
authorHarish Mahendrakar <harish.mahendrakar@ittiam.com>2016-01-07 21:07:40 +0000
committerandroid-build-merger <android-build-merger@google.com>2016-01-07 21:07:40 +0000
commit608fc7f4ae44cbbbef7f1b553e83751d536f6af6 (patch)
tree2e35e915a499c35c16b398e9dc9cd3abc7608d43 /decoder/ih264d_parse_islice.c
parent1c01bc10a9d105be5dc286a4c48969d73827cc03 (diff)
parent4a524d3a8ae9aa20c36430008e6bd429443f8f1d (diff)
downloadlibavc-608fc7f4ae44cbbbef7f1b553e83751d536f6af6.tar.gz
Decoder Update mb count after mb map is set.
am: 4a524d3a8a * commit '4a524d3a8ae9aa20c36430008e6bd429443f8f1d': Decoder Update mb count after mb map is set.
Diffstat (limited to 'decoder/ih264d_parse_islice.c')
-rw-r--r--decoder/ih264d_parse_islice.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/decoder/ih264d_parse_islice.c b/decoder/ih264d_parse_islice.c
index 4f58c5b..f712c64 100644
--- a/decoder/ih264d_parse_islice.c
+++ b/decoder/ih264d_parse_islice.c
@@ -898,7 +898,6 @@ WORD32 ih264d_parse_islice_data_cavlc(dec_struct_t * ps_dec,
(UWORD16)(u1_num_mbs >> u1_mbaff));
}
u1_num_mbs++;
- ps_dec->u2_total_mbs_coded++;
/****************************************************************/
/* Check for End Of Row */
@@ -928,7 +927,7 @@ WORD32 ih264d_parse_islice_data_cavlc(dec_struct_t * ps_dec,
u1_num_mbs_next, u1_tfr_n_mb,
u1_end_of_row);
}
-
+ ps_dec->u2_total_mbs_coded += u1_num_mbs;
if(u1_tfr_n_mb)
u1_num_mbs = 0;
u1_mb_idx = u1_num_mbs;
@@ -1117,7 +1116,6 @@ WORD32 ih264d_parse_islice_data_cabac(dec_struct_t * ps_dec,
(UWORD16)(u1_num_mbs >> u1_mbaff));
}
u1_num_mbs++;
- ps_dec->u2_total_mbs_coded++;
}
@@ -1146,7 +1144,7 @@ WORD32 ih264d_parse_islice_data_cabac(dec_struct_t * ps_dec,
u1_num_mbs_next, u1_tfr_n_mb,
u1_end_of_row);
}
-
+ ps_dec->u2_total_mbs_coded += u1_num_mbs;
if(u1_tfr_n_mb)
u1_num_mbs = 0;
u1_mb_idx = u1_num_mbs;