Merge "Decoder: Fix allocation for Mbaff weight matrix" into mnc-dr-dev am: db8f1ae73f am: dcbf996666
am: 8b4c87943a
Change-Id: I817cc880f6bdb57c193b8ef272bb39b97934ddce
This commit is contained in:
commit
672cb37cc6
1 changed files with 2 additions and 3 deletions
|
|
@ -1376,9 +1376,8 @@ WORD32 ih264d_allocate_static_bufs(iv_obj_t **dec_hdl, void *pv_api_ip, void *pv
|
|||
pu1_buf += size / 2;
|
||||
ps_dec->ps_dpb_mgr->ps_init_dpb[1][0] = (struct pic_buffer_t *)pu1_buf;
|
||||
|
||||
size = (sizeof(UWORD32) * 3
|
||||
* (MAX_FRAMES * MAX_FRAMES))
|
||||
<< 3;
|
||||
size = (sizeof(UWORD32) * 2 * 3
|
||||
* ((MAX_FRAMES << 1) * (MAX_FRAMES << 1)) * 2);
|
||||
pv_buf = pf_aligned_alloc(pv_mem_ctxt, 128, size);
|
||||
RETURN_IF((NULL == pv_buf), IV_FAIL);
|
||||
ps_dec->pu4_mbaff_wt_mat = pv_buf;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue