Merge "Decoder: Increase memory allocation for weights & offsets for interlaced clips" into mnc-dr-dev

This commit is contained in:
Marco Nelissen 2017-01-18 16:27:26 +00:00 committed by Android (Google) Code Review
commit 696b6f666c

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; ps_dec->pu4_mbaff_wt_mat = pv_buf;
size = sizeof(UWORD32) * 2 * 3 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); pv_buf = pf_aligned_alloc(pv_mem_ctxt, 128, size);
RETURN_IF((NULL == pv_buf), IV_FAIL); RETURN_IF((NULL == pv_buf), IV_FAIL);
ps_dec->pu4_wts_ofsts_mat = pv_buf; ps_dec->pu4_wts_ofsts_mat = pv_buf;