Lines Matching refs:ps_memtabs
994 hme_memtab_t *ps_memtabs, in hme_alloc_init_search_nodes() argument
1005 ps_memtabs->size = size; in hme_alloc_init_search_nodes()
1006 ps_memtabs->align = 4; in hme_alloc_init_search_nodes()
1007 ps_memtabs->e_mem_attr = HME_SCRATCH_OVLY_MEM; in hme_alloc_init_search_nodes()
1011 ps_search_node = (search_node_t *)ps_memtabs->pu1_mem; in hme_alloc_init_search_nodes()
1012 ASSERT(ps_memtabs->size == size); in hme_alloc_init_search_nodes()
1128 hme_memtab_t *ps_memtabs, in hme_enc_alloc_init_mem() argument
1161 ps_memtabs[count].size = size; in hme_enc_alloc_init_mem()
1162 ps_memtabs[count].align = 8; in hme_enc_alloc_init_mem()
1163 ps_memtabs[count].e_mem_attr = HME_PERSISTENT_MEM; in hme_enc_alloc_init_mem()
1172 me_ctxt_t *ps_me_tmp_ctxt = (me_ctxt_t *)ps_memtabs[count].pu1_mem; in hme_enc_alloc_init_mem()
1182 ps_memtabs[count].size = size; in hme_enc_alloc_init_mem()
1183 ps_memtabs[count].align = 8; in hme_enc_alloc_init_mem()
1184 ps_memtabs[count].e_mem_attr = HME_PERSISTENT_MEM; in hme_enc_alloc_init_mem()
1193 me_frm_ctxt_t *ps_me_frm_tmp_ctxt = (me_frm_ctxt_t *)ps_memtabs[count].pu1_mem; in hme_enc_alloc_init_mem()
1208 ps_memtabs[count].size = size; in hme_enc_alloc_init_mem()
1209 ps_memtabs[count].align = 8; in hme_enc_alloc_init_mem()
1210 ps_memtabs[count].e_mem_attr = HME_PERSISTENT_MEM; in hme_enc_alloc_init_mem()
1297 &ps_memtabs[count], in hme_enc_alloc_init_mem()
1351 &ps_memtabs[count], in hme_enc_alloc_init_mem()
1387 U08 *pu1_mem = ps_memtabs[count].pu1_mem; in hme_enc_alloc_init_mem()
1389 ASSERT(ps_memtabs[count].size == size); in hme_enc_alloc_init_mem()
1416 ps_memtabs[count].size = size; in hme_enc_alloc_init_mem()
1417 ps_memtabs[count].align = 4; in hme_enc_alloc_init_mem()
1418 ps_memtabs[count].e_mem_attr = HME_SCRATCH_OVLY_MEM; in hme_enc_alloc_init_mem()
1431 S16 *pi2_mem = (S16 *)ps_memtabs[count].pu1_mem; in hme_enc_alloc_init_mem()
1433 ASSERT(ps_memtabs[count].size == size); in hme_enc_alloc_init_mem()
1459 ps_memtabs[count].size = size; in hme_enc_alloc_init_mem()
1460 ps_memtabs[count].align = 16; in hme_enc_alloc_init_mem()
1461 ps_memtabs[count].e_mem_attr = HME_SCRATCH_OVLY_MEM; in hme_enc_alloc_init_mem()
1475 mv_hist_t *ps_mv_hist = (mv_hist_t *)ps_memtabs[count].pu1_mem; in hme_enc_alloc_init_mem()
1477 ASSERT(size == ps_memtabs[count].size); in hme_enc_alloc_init_mem()
1490 ps_memtabs[count].size = size; in hme_enc_alloc_init_mem()
1491 ps_memtabs[count].align = 8; in hme_enc_alloc_init_mem()
1492 ps_memtabs[count].e_mem_attr = HME_PERSISTENT_MEM; in hme_enc_alloc_init_mem()
1545 ps_search_results, &ps_memtabs[count], mem_avail, 2, ps_prms->max_num_results); in hme_enc_alloc_init_mem()
1562 ASSERT(ps_memtabs[count].size == size); in hme_enc_alloc_init_mem()
1563 pu1_mem = ps_memtabs[count].pu1_mem; in hme_enc_alloc_init_mem()
1578 ps_memtabs[count].size = size; in hme_enc_alloc_init_mem()
1579 ps_memtabs[count].align = 16; in hme_enc_alloc_init_mem()
1580 ps_memtabs[count].e_mem_attr = HME_SCRATCH_OVLY_MEM; in hme_enc_alloc_init_mem()
1619 ASSERT(ps_memtabs[count].size == size); in hme_enc_alloc_init_mem()
1620 pu1_mem = ps_memtabs[count].pu1_mem; in hme_enc_alloc_init_mem()
1642 ps_memtabs[count].size = size; in hme_enc_alloc_init_mem()
1643 ps_memtabs[count].align = 16; in hme_enc_alloc_init_mem()
1644 ps_memtabs[count].e_mem_attr = HME_SCRATCH_OVLY_MEM; in hme_enc_alloc_init_mem()
1681 ASSERT(ps_memtabs[count].size == size); in hme_enc_alloc_init_mem()
1682 pu1_mem = ps_memtabs[count].pu1_mem; in hme_enc_alloc_init_mem()
1695 ps_memtabs[count].size = size; in hme_enc_alloc_init_mem()
1696 ps_memtabs[count].align = 16; in hme_enc_alloc_init_mem()
1697 ps_memtabs[count].e_mem_attr = HME_SCRATCH_OVLY_MEM; in hme_enc_alloc_init_mem()
1709 ps_master_ctxt->pv_me_optimised_function_list = (void *)ps_memtabs[count++].pu1_mem; in hme_enc_alloc_init_mem()
1713 ps_memtabs[count].size = sizeof(ihevce_me_optimised_function_list_t); in hme_enc_alloc_init_mem()
1714 ps_memtabs[count].align = 16; in hme_enc_alloc_init_mem()
1715 ps_memtabs[count++].e_mem_attr = HME_SCRATCH_OVLY_MEM; in hme_enc_alloc_init_mem()
1740 hme_memtab_t *ps_memtabs, hme_init_prms_t *ps_prms, void *pv_ctxt, S32 mem_avail) in hme_coarse_alloc_init_mem() argument
1770 ps_memtabs[count].size = size; in hme_coarse_alloc_init_mem()
1771 ps_memtabs[count].align = 8; in hme_coarse_alloc_init_mem()
1772 ps_memtabs[count].e_mem_attr = HME_PERSISTENT_MEM; in hme_coarse_alloc_init_mem()
1781 coarse_me_ctxt_t *ps_me_tmp_ctxt = (coarse_me_ctxt_t *)ps_memtabs[count].pu1_mem; in hme_coarse_alloc_init_mem()
1791 ps_memtabs[count].size = size; in hme_coarse_alloc_init_mem()
1792 ps_memtabs[count].align = 8; in hme_coarse_alloc_init_mem()
1793 ps_memtabs[count].e_mem_attr = HME_PERSISTENT_MEM; in hme_coarse_alloc_init_mem()
1892 &ps_memtabs[count], in hme_coarse_alloc_init_mem()
1946 &ps_memtabs[count], in hme_coarse_alloc_init_mem()
1999 ASSERT(size == ps_memtabs[count].size); in hme_coarse_alloc_init_mem()
2005 ps_ctxt->api2_sads_4x4_n_rows[i] = (S16 *)ps_memtabs[count].pu1_mem; in hme_coarse_alloc_init_mem()
2010 ps_memtabs[count].size = size; in hme_coarse_alloc_init_mem()
2011 ps_memtabs[count].align = 4; in hme_coarse_alloc_init_mem()
2012 ps_memtabs[count].e_mem_attr = HME_SCRATCH_OVLY_MEM; in hme_coarse_alloc_init_mem()
2023 ASSERT(size == ps_memtabs[count].size); in hme_coarse_alloc_init_mem()
2030 (search_node_t *)ps_memtabs[count].pu1_mem; in hme_coarse_alloc_init_mem()
2035 ps_memtabs[count].size = size; in hme_coarse_alloc_init_mem()
2036 ps_memtabs[count].align = 4; in hme_coarse_alloc_init_mem()
2037 ps_memtabs[count].e_mem_attr = HME_SCRATCH_OVLY_MEM; in hme_coarse_alloc_init_mem()
2047 ASSERT(size == ps_memtabs[count].size); in hme_coarse_alloc_init_mem()
2054 (search_node_t *)ps_memtabs[count].pu1_mem; in hme_coarse_alloc_init_mem()
2059 ps_memtabs[count].size = size; in hme_coarse_alloc_init_mem()
2060 ps_memtabs[count].align = 4; in hme_coarse_alloc_init_mem()
2061 ps_memtabs[count].e_mem_attr = HME_SCRATCH_OVLY_MEM; in hme_coarse_alloc_init_mem()
2072 mv_hist_t *ps_mv_hist = (mv_hist_t *)ps_memtabs[count].pu1_mem; in hme_coarse_alloc_init_mem()
2074 ASSERT(size == ps_memtabs[count].size); in hme_coarse_alloc_init_mem()
2086 ps_memtabs[count].size = size; in hme_coarse_alloc_init_mem()
2087 ps_memtabs[count].align = 8; in hme_coarse_alloc_init_mem()
2088 ps_memtabs[count].e_mem_attr = HME_PERSISTENT_MEM; in hme_coarse_alloc_init_mem()
2109 &ps_memtabs[count], in hme_coarse_alloc_init_mem()
2121 ASSERT(ps_memtabs[count].size == size); in hme_coarse_alloc_init_mem()
2122 pu1_mem = ps_memtabs[count].pu1_mem; in hme_coarse_alloc_init_mem()
2137 ps_memtabs[count].size = size; in hme_coarse_alloc_init_mem()
2138 ps_memtabs[count].align = 16; in hme_coarse_alloc_init_mem()
2139 ps_memtabs[count].e_mem_attr = HME_SCRATCH_OVLY_MEM; in hme_coarse_alloc_init_mem()
2158 ps_master_ctxt->pv_me_optimised_function_list = (void *)ps_memtabs[count++].pu1_mem; in hme_coarse_alloc_init_mem()
2162 ps_memtabs[count].size = sizeof(ihevce_me_optimised_function_list_t); in hme_coarse_alloc_init_mem()
2163 ps_memtabs[count].align = 16; in hme_coarse_alloc_init_mem()
2164 ps_memtabs[count++].e_mem_attr = HME_SCRATCH_OVLY_MEM; in hme_coarse_alloc_init_mem()
2511 S32 hme_enc_alloc(hme_memtab_t *ps_memtabs, hme_init_prms_t *ps_prms, WORD32 i4_num_me_frm_pllel) in hme_enc_alloc() argument
2519 num = hme_enc_alloc_init_mem(ps_memtabs, ps_prms, NULL, 0, i4_num_me_frm_pllel); in hme_enc_alloc()
2523 ps_memtabs[i].size = 4; in hme_enc_alloc()
2524 ps_memtabs[i].align = 4; in hme_enc_alloc()
2525 ps_memtabs[i].e_mem_attr = HME_PERSISTENT_MEM; in hme_enc_alloc()
2545 S32 hme_coarse_alloc(hme_memtab_t *ps_memtabs, hme_init_prms_t *ps_prms) in hme_coarse_alloc() argument
2553 num = hme_coarse_alloc_init_mem(ps_memtabs, ps_prms, NULL, 0); in hme_coarse_alloc()
2557 ps_memtabs[i].size = 4; in hme_coarse_alloc()
2558 ps_memtabs[i].align = 4; in hme_coarse_alloc()
2559 ps_memtabs[i].e_mem_attr = HME_PERSISTENT_MEM; in hme_coarse_alloc()
2769 hme_memtab_t *ps_memtabs, in hme_enc_init() argument
2782 num = hme_enc_alloc_init_mem(ps_memtabs, ps_prms, pv_ctxt, 1, i4_num_me_frm_pllel); in hme_enc_init()
2790 memcpy(ps_ctxt->as_memtabs, ps_memtabs, sizeof(hme_memtab_t) * tot); in hme_enc_init()
2812 S32 hme_coarse_init(void *pv_ctxt, hme_memtab_t *ps_memtabs, hme_init_prms_t *ps_prms) in hme_coarse_init() argument
2822 num = hme_coarse_alloc_init_mem(ps_memtabs, ps_prms, pv_ctxt, 1); in hme_coarse_init()
2830 memcpy(ps_ctxt->as_memtabs, ps_memtabs, sizeof(hme_memtab_t) * tot); in hme_coarse_init()