diff options
author | Harish Mahendrakar <harish.mahendrakar@ittiam.com> | 2016-01-07 16:59:02 +0530 |
---|---|---|
committer | Marco Nelissen <marcone@google.com> | 2016-01-07 11:08:06 -0800 |
commit | 4a524d3a8ae9aa20c36430008e6bd429443f8f1d (patch) | |
tree | 026b1dd0740f2414a8597b89cca79fcb1c399ce3 /decoder/ih264d_parse_islice.c | |
parent | 2ee0c1bced131ffb06d1b430b08a202cd3a52005 (diff) | |
download | android_external_libavc-4a524d3a8ae9aa20c36430008e6bd429443f8f1d.tar.gz android_external_libavc-4a524d3a8ae9aa20c36430008e6bd429443f8f1d.tar.bz2 android_external_libavc-4a524d3a8ae9aa20c36430008e6bd429443f8f1d.zip |
Decoder Update mb count after mb map is set.
Bug: 25928803
Change-Id: Iccc58a7dd1c5c6ea656dfca332cfb8dddba4de37
Diffstat (limited to 'decoder/ih264d_parse_islice.c')
-rw-r--r-- | decoder/ih264d_parse_islice.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/decoder/ih264d_parse_islice.c b/decoder/ih264d_parse_islice.c index 1e4fdfa..001f8fc 100644 --- a/decoder/ih264d_parse_islice.c +++ b/decoder/ih264d_parse_islice.c @@ -899,7 +899,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 */ @@ -929,7 +928,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; @@ -1119,7 +1118,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++; } @@ -1148,7 +1146,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; |