Merge "Decoder: Fixed flag u1_top_bottom_decoded." into mnc-dev
This commit is contained in:
commit
cc07eaa5d2
2 changed files with 4 additions and 4 deletions
|
|
@ -3262,6 +3262,10 @@ WORD32 ih264d_video_decode(iv_obj_t *dec_hdl, void *pv_api_ip, void *pv_api_op)
|
||||||
ps_dec->u1_top_bottom_decoded |= TOP_FIELD_ONLY;
|
ps_dec->u1_top_bottom_decoded |= TOP_FIELD_ONLY;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
ps_dec->u1_top_bottom_decoded = TOP_FIELD_ONLY | BOT_FIELD_ONLY;
|
||||||
|
}
|
||||||
|
|
||||||
/* if new frame in not found (if we are still getting slices from previous frame)
|
/* if new frame in not found (if we are still getting slices from previous frame)
|
||||||
* ih264d_deblock_display is not called. Such frames will not be added to reference /display
|
* ih264d_deblock_display is not called. Such frames will not be added to reference /display
|
||||||
|
|
|
||||||
|
|
@ -1205,10 +1205,6 @@ WORD32 ih264d_parse_decode_slice(UWORD8 u1_is_idr_slice,
|
||||||
u1_nal_unit_type = SLICE_NAL;
|
u1_nal_unit_type = SLICE_NAL;
|
||||||
if(u1_is_idr_slice)
|
if(u1_is_idr_slice)
|
||||||
{
|
{
|
||||||
if(0 == u1_field_pic_flag)
|
|
||||||
{
|
|
||||||
ps_dec->u1_top_bottom_decoded = TOP_FIELD_ONLY | BOT_FIELD_ONLY;
|
|
||||||
}
|
|
||||||
u1_nal_unit_type = IDR_SLICE_NAL;
|
u1_nal_unit_type = IDR_SLICE_NAL;
|
||||||
u4_idr_pic_id = ih264d_uev(pu4_bitstrm_ofst,
|
u4_idr_pic_id = ih264d_uev(pu4_bitstrm_ofst,
|
||||||
pu4_bitstrm_buf);
|
pu4_bitstrm_buf);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue