Lines Matching refs:pv_buf
1147 void (*pf_aligned_free)(void *pv_mem_ctxt, void *pv_buf); in ih264d_free_static_bufs()
1214 void *pv_buf; in ih264d_allocate_static_bufs() local
1218 void (*pf_aligned_free)(void *pv_mem_ctxt, void *pv_buf); in ih264d_allocate_static_bufs()
1233 pv_buf = pf_aligned_alloc(pv_mem_ctxt, 128, sizeof(iv_obj_t)); in ih264d_allocate_static_bufs()
1234 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1235 memset(pv_buf, 0, sizeof(iv_obj_t)); in ih264d_allocate_static_bufs()
1236 *dec_hdl = (iv_obj_t *)pv_buf; in ih264d_allocate_static_bufs()
1240 pv_buf = pf_aligned_alloc(pv_mem_ctxt, 128, sizeof(dec_struct_t)); in ih264d_allocate_static_bufs()
1241 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1242 (*dec_hdl)->pv_codec_handle = (dec_struct_t *)pv_buf; in ih264d_allocate_static_bufs()
1243 ps_dec = (dec_struct_t *)pv_buf; in ih264d_allocate_static_bufs()
1271 pv_buf = pf_aligned_alloc(pv_mem_ctxt, 128, size); in ih264d_allocate_static_bufs()
1272 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1273 memset(pv_buf, 0, size); in ih264d_allocate_static_bufs()
1274 ps_dec->ps_sps = pv_buf; in ih264d_allocate_static_bufs()
1277 pv_buf = pf_aligned_alloc(pv_mem_ctxt, 128, size); in ih264d_allocate_static_bufs()
1278 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1279 memset(pv_buf, 0, size); in ih264d_allocate_static_bufs()
1280 ps_dec->ps_pps = pv_buf; in ih264d_allocate_static_bufs()
1283 pv_buf = pf_aligned_alloc(pv_mem_ctxt, 128, size); in ih264d_allocate_static_bufs()
1284 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1285 memset(pv_buf, 0, size); in ih264d_allocate_static_bufs()
1286 ps_dec->pv_dec_thread_handle = pv_buf; in ih264d_allocate_static_bufs()
1289 pv_buf = pf_aligned_alloc(pv_mem_ctxt, 128, size); in ih264d_allocate_static_bufs()
1290 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1291 memset(pv_buf, 0, size); in ih264d_allocate_static_bufs()
1292 ps_dec->pv_bs_deblk_thread_handle = pv_buf; in ih264d_allocate_static_bufs()
1295 pv_buf = pf_aligned_alloc(pv_mem_ctxt, 128, size); in ih264d_allocate_static_bufs()
1296 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1297 memset(pv_buf, 0, size); in ih264d_allocate_static_bufs()
1298 ps_dec->ps_dpb_mgr = pv_buf; in ih264d_allocate_static_bufs()
1301 pv_buf = pf_aligned_alloc(pv_mem_ctxt, 128, size); in ih264d_allocate_static_bufs()
1302 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1303 memset(pv_buf, 0, size); in ih264d_allocate_static_bufs()
1304 ps_dec->ps_pred = pv_buf; in ih264d_allocate_static_bufs()
1307 pv_buf = pf_aligned_alloc(pv_mem_ctxt, 128, size); in ih264d_allocate_static_bufs()
1308 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1309 memset(pv_buf, 0, size); in ih264d_allocate_static_bufs()
1310 ps_dec->pv_disp_buf_mgr = pv_buf; in ih264d_allocate_static_bufs()
1313 pv_buf = pf_aligned_alloc(pv_mem_ctxt, 128, size); in ih264d_allocate_static_bufs()
1314 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1315 memset(pv_buf, 0, size); in ih264d_allocate_static_bufs()
1316 ps_dec->pv_pic_buf_mgr = pv_buf; in ih264d_allocate_static_bufs()
1319 pv_buf = pf_aligned_alloc(pv_mem_ctxt, 128, size); in ih264d_allocate_static_bufs()
1320 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1321 memset(pv_buf, 0, size); in ih264d_allocate_static_bufs()
1322 ps_dec->ps_pic_buf_base = pv_buf; in ih264d_allocate_static_bufs()
1325 pv_buf = pf_aligned_alloc(pv_mem_ctxt, 128, size); in ih264d_allocate_static_bufs()
1326 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1327 memset(pv_buf, 0, size); in ih264d_allocate_static_bufs()
1328 ps_dec->ps_dec_err_status = (dec_err_status_t *)pv_buf; in ih264d_allocate_static_bufs()
1331 pv_buf = pf_aligned_alloc(pv_mem_ctxt, 128, size); in ih264d_allocate_static_bufs()
1332 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1333 memset(pv_buf, 0, size); in ih264d_allocate_static_bufs()
1334 ps_dec->ps_sei = (sei *)pv_buf; in ih264d_allocate_static_bufs()
1337 pv_buf = pf_aligned_alloc(pv_mem_ctxt, 128, size); in ih264d_allocate_static_bufs()
1338 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1339 memset(pv_buf, 0, size); in ih264d_allocate_static_bufs()
1340 ps_dec->ps_dpb_cmds = (dpb_commands_t *)pv_buf; in ih264d_allocate_static_bufs()
1343 pv_buf = pf_aligned_alloc(pv_mem_ctxt, 128, size); in ih264d_allocate_static_bufs()
1344 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1345 memset(pv_buf, 0, size); in ih264d_allocate_static_bufs()
1346 ps_dec->ps_bitstrm = (dec_bit_stream_t *)pv_buf; in ih264d_allocate_static_bufs()
1349 pv_buf = pf_aligned_alloc(pv_mem_ctxt, 128, size); in ih264d_allocate_static_bufs()
1350 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1351 memset(pv_buf, 0, size); in ih264d_allocate_static_bufs()
1352 ps_dec->ps_cur_slice = (dec_slice_params_t *)pv_buf; in ih264d_allocate_static_bufs()
1355 pv_buf = pf_aligned_alloc(pv_mem_ctxt, 128, size); in ih264d_allocate_static_bufs()
1356 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1357 memset(pv_buf, 0, size); in ih264d_allocate_static_bufs()
1358 ps_dec->pv_scratch_sps_pps = pv_buf; in ih264d_allocate_static_bufs()
1362 pv_buf = pf_aligned_alloc(pv_mem_ctxt, 128, ps_dec->u4_static_bits_buf_size); in ih264d_allocate_static_bufs()
1363 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1364 memset(pv_buf, 0, ps_dec->u4_static_bits_buf_size); in ih264d_allocate_static_bufs()
1365 ps_dec->pu1_bits_buf_static = pv_buf; in ih264d_allocate_static_bufs()
1370 pv_buf = pf_aligned_alloc(pv_mem_ctxt, 128, size); in ih264d_allocate_static_bufs()
1371 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1372 ps_dec->ppv_map_ref_idx_to_poc_base = pv_buf; in ih264d_allocate_static_bufs()
1379 pv_buf = pf_aligned_alloc(pv_mem_ctxt, 128, size); in ih264d_allocate_static_bufs()
1380 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1381 memset(pv_buf, 0, size); in ih264d_allocate_static_bufs()
1382 ps_dec->p_cabac_ctxt_table_t = pv_buf; in ih264d_allocate_static_bufs()
1387 pv_buf = pf_aligned_alloc(pv_mem_ctxt, 128, size); in ih264d_allocate_static_bufs()
1388 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1389 memset(pv_buf, 0, size); in ih264d_allocate_static_bufs()
1390 ps_dec->ps_left_mb_ctxt_info = pv_buf; in ih264d_allocate_static_bufs()
1395 pv_buf = pf_aligned_alloc(pv_mem_ctxt, 128, size); in ih264d_allocate_static_bufs()
1396 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1397 memset(pv_buf, 0, size); in ih264d_allocate_static_bufs()
1398 ps_dec->pu1_ref_buff_base = pv_buf; in ih264d_allocate_static_bufs()
1404 pv_buf = pf_aligned_alloc(pv_mem_ctxt, 128, size); in ih264d_allocate_static_bufs()
1405 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1406 memset(pv_buf, 0, size); in ih264d_allocate_static_bufs()
1407 ps_dec->pi2_pred1 = pv_buf; in ih264d_allocate_static_bufs()
1411 pv_buf = pf_aligned_alloc(pv_mem_ctxt, 128, size); in ih264d_allocate_static_bufs()
1412 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1413 memset(pv_buf, 0, size); in ih264d_allocate_static_bufs()
1414 ps_dec->pu1_temp_mc_buffer = pv_buf; in ih264d_allocate_static_bufs()
1420 pv_buf = pf_aligned_alloc(pv_mem_ctxt, 128, size); in ih264d_allocate_static_bufs()
1421 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1422 memset(pv_buf, 0, size); in ih264d_allocate_static_bufs()
1424 ps_dec->pu1_init_dpb_base = pv_buf; in ih264d_allocate_static_bufs()
1425 pu1_buf = pv_buf; in ih264d_allocate_static_bufs()
1433 pv_buf = pf_aligned_alloc(pv_mem_ctxt, 128, size); in ih264d_allocate_static_bufs()
1434 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1435 memset(pv_buf, 0, size); in ih264d_allocate_static_bufs()
1436 ps_dec->pu4_mbaff_wt_mat = pv_buf; in ih264d_allocate_static_bufs()
1440 pv_buf = pf_aligned_alloc(pv_mem_ctxt, 128, size); in ih264d_allocate_static_bufs()
1441 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1442 memset(pv_buf, 0, size); in ih264d_allocate_static_bufs()
1443 ps_dec->pu4_wts_ofsts_mat = pv_buf; in ih264d_allocate_static_bufs()
1447 pv_buf = pf_aligned_alloc(pv_mem_ctxt, 128, size); in ih264d_allocate_static_bufs()
1448 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1449 memset(pv_buf, 0, size); in ih264d_allocate_static_bufs()
1450 ps_dec->ps_left_mvpred_addr = pv_buf; in ih264d_allocate_static_bufs()
1454 pv_buf = pf_aligned_alloc(pv_mem_ctxt, 128, size); in ih264d_allocate_static_bufs()
1455 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1456 memset(pv_buf, 0, size); in ih264d_allocate_static_bufs()
1457 ps_dec->pv_mv_buf_mgr = pv_buf; in ih264d_allocate_static_bufs()
1461 pv_buf = pf_aligned_alloc(pv_mem_ctxt, 128, size); in ih264d_allocate_static_bufs()
1462 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1463 ps_dec->ps_col_mv_base = pv_buf; in ih264d_allocate_static_bufs()
1540 void (*pf_aligned_free)(void *pv_mem_ctxt, void *pv_buf); in ih264d_create()
2112 void *pv_buf; in ih264d_video_decode() local
2115 pv_buf = ps_dec->pf_aligned_alloc(pv_mem_ctxt, 128, in ih264d_video_decode()
2117 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_video_decode()
2118 memset(pv_buf, 0, size + EXTRA_BS_OFFSET); in ih264d_video_decode()
2119 ps_dec->pu1_bits_buf_dynamic = pv_buf; in ih264d_video_decode()