resolve merge conflicts of 3654ad0 to mnc-dr-dev am: 37345554fe am: 33d9d00a3c am: 858542d83e am: 2e4b53cfb4 am: 7c50684ef0 am: 834462327b
am: 1d999b7cdf
Change-Id: Ie534ab73b560741b926cadf6762b8ed3e35e704f
This commit is contained in:
commit
d7cf476e4d
1 changed files with 9 additions and 0 deletions
|
|
@ -914,6 +914,15 @@ WORD32 ih264d_parse_sps(dec_struct_t *ps_dec, dec_bit_stream_t *ps_bitstrm)
|
||||||
return IVD_STREAM_WIDTH_HEIGHT_NOT_SUPPORTED;
|
return IVD_STREAM_WIDTH_HEIGHT_NOT_SUPPORTED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* If MBAff is enabled, decoder support is limited to streams with
|
||||||
|
* width less than half of H264_MAX_FRAME_WIDTH.
|
||||||
|
* In case of MBAff decoder processes two rows at a time
|
||||||
|
*/
|
||||||
|
if((u2_pic_wd << ps_seq->u1_mb_aff_flag) > H264_MAX_FRAME_WIDTH)
|
||||||
|
{
|
||||||
|
return IVD_STREAM_WIDTH_HEIGHT_NOT_SUPPORTED;
|
||||||
|
}
|
||||||
|
|
||||||
ps_dec->u2_disp_height = i4_cropped_ht;
|
ps_dec->u2_disp_height = i4_cropped_ht;
|
||||||
|
|
||||||
ps_dec->u2_disp_width = i4_cropped_wd;
|
ps_dec->u2_disp_width = i4_cropped_wd;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue