Decoder: Increase memory allocation for weights & offsets for interlaced clips

Bug: 33816782
Change-Id: I65a5376f46902139f9fc49a2fff54b53b518d703
This commit is contained in:
Harish Mahendrakar 2017-01-13 11:26:23 +05:30 committed by Marco Nelissen
parent 637cb7f434
commit bee9b9a54b

View file

@ -1384,7 +1384,7 @@ WORD32 ih264d_allocate_static_bufs(iv_obj_t **dec_hdl, void *pv_api_ip, void *pv
ps_dec->pu4_mbaff_wt_mat = pv_buf;
size = sizeof(UWORD32) * 2 * 3
* (MAX_FRAMES * MAX_FRAMES);
* ((MAX_FRAMES << 1) * (MAX_FRAMES << 1));
pv_buf = pf_aligned_alloc(pv_mem_ctxt, 128, size);
RETURN_IF((NULL == pv_buf), IV_FAIL);
ps_dec->pu4_wts_ofsts_mat = pv_buf;