update new sdk
This commit is contained in:
parent
f33907443a
commit
744c72c133
1643 changed files with 83006 additions and 28021 deletions
|
@ -375,9 +375,6 @@ WORD32 ih264d_insert_st_node(dpb_manager_t *ps_dpb_mgr,
|
|||
if((ps_dpb_info[i].ps_pic_buf == ps_pic_buf)
|
||||
&& ps_dpb_info[i].u1_used_as_ref)
|
||||
{
|
||||
/* Can occur only for field bottom pictures */
|
||||
ps_dpb_info[i].s_bot_field.u1_reference_info = IS_SHORT_TERM;
|
||||
|
||||
/*signal an error in the case of frame pic*/
|
||||
if(ps_dpb_info[i].ps_pic_buf->u1_pic_type == FRM_PIC)
|
||||
{
|
||||
|
@ -385,6 +382,8 @@ WORD32 ih264d_insert_st_node(dpb_manager_t *ps_dpb_mgr,
|
|||
}
|
||||
else
|
||||
{
|
||||
/* Can occur only for field bottom pictures */
|
||||
ps_dpb_info[i].s_bot_field.u1_reference_info = IS_SHORT_TERM;
|
||||
return OK;
|
||||
}
|
||||
}
|
||||
|
|
18
android/external/libavc/encoder/ih264e_api.c
vendored
18
android/external/libavc/encoder/ih264e_api.c
vendored
|
@ -1147,6 +1147,24 @@ static IV_STATUS_T api_check_struct_sanity(iv_obj_t *ps_handle,
|
|||
return (IV_FAIL);
|
||||
}
|
||||
|
||||
if(ps_ip->s_ive_ip.u4_wd & 1)
|
||||
{
|
||||
ps_op->s_ive_op.u4_error_code |= 1
|
||||
<< IVE_UNSUPPORTEDPARAM;
|
||||
ps_op->s_ive_op.u4_error_code |=
|
||||
IH264E_WIDTH_NOT_SUPPORTED;
|
||||
return (IV_FAIL);
|
||||
}
|
||||
|
||||
if(ps_ip->s_ive_ip.u4_ht & 1)
|
||||
{
|
||||
ps_op->s_ive_op.u4_error_code |= 1
|
||||
<< IVE_UNSUPPORTEDPARAM;
|
||||
ps_op->s_ive_op.u4_error_code |=
|
||||
IH264E_HEIGHT_NOT_SUPPORTED;
|
||||
return (IV_FAIL);
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue