Decoder: Fixed incorrect use of mmco parameters.
Added extra structure to read mmco values and copied only once per picture. Bug: 65735716 Change-Id: I25b08a37bc78342042c52957774b089abce1a54b
This commit is contained in:
parent
6a09a35355
commit
3c70b9a190
3 changed files with 11 additions and 1 deletions
|
|
@ -1865,6 +1865,15 @@ WORD32 ih264d_parse_decode_slice(UWORD8 u1_is_idr_slice,
|
|||
if(ret != OK)
|
||||
return ret;
|
||||
|
||||
if(u1_nal_ref_idc != 0)
|
||||
{
|
||||
if(!ps_dec->ps_dpb_cmds->u1_dpb_commands_read)
|
||||
{
|
||||
memcpy((void *)ps_dec->ps_dpb_cmds, (void *)(&(ps_dec->s_dpb_cmds_scratch)),
|
||||
sizeof(dpb_commands_t));
|
||||
}
|
||||
}
|
||||
|
||||
/* storing last Mb X and MbY of the slice */
|
||||
ps_dec->i2_prev_slice_mbx = ps_dec->u2_mbx;
|
||||
ps_dec->i2_prev_slice_mby = ps_dec->u2_mby;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue