Lines Matching refs:pv_buf
1324 void (*pf_aligned_free)(void *pv_mem_ctxt, void *pv_buf); in ih264d_free_static_bufs()
1392 void *pv_buf; in ih264d_allocate_static_bufs() local
1396 void (*pf_aligned_free)(void *pv_mem_ctxt, void *pv_buf); in ih264d_allocate_static_bufs()
1411 pv_buf = pf_aligned_alloc(pv_mem_ctxt, 128, sizeof(iv_obj_t)); in ih264d_allocate_static_bufs()
1412 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1413 memset(pv_buf, 0, sizeof(iv_obj_t)); in ih264d_allocate_static_bufs()
1414 *dec_hdl = (iv_obj_t *)pv_buf; in ih264d_allocate_static_bufs()
1418 pv_buf = pf_aligned_alloc(pv_mem_ctxt, 128, sizeof(dec_struct_t)); in ih264d_allocate_static_bufs()
1419 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1420 (*dec_hdl)->pv_codec_handle = (dec_struct_t *)pv_buf; in ih264d_allocate_static_bufs()
1421 ps_dec = (dec_struct_t *)pv_buf; in ih264d_allocate_static_bufs()
1449 pv_buf = pf_aligned_alloc(pv_mem_ctxt, 128, size); in ih264d_allocate_static_bufs()
1450 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1451 memset(pv_buf, 0, size); in ih264d_allocate_static_bufs()
1452 ps_dec->ps_sps = pv_buf; in ih264d_allocate_static_bufs()
1455 pv_buf = pf_aligned_alloc(pv_mem_ctxt, 128, size); in ih264d_allocate_static_bufs()
1456 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1457 memset(pv_buf, 0, size); in ih264d_allocate_static_bufs()
1458 ps_dec->ps_pps = 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 memset(pv_buf, 0, size); in ih264d_allocate_static_bufs()
1464 ps_dec->pv_dec_thread_handle = pv_buf; in ih264d_allocate_static_bufs()
1467 pv_buf = pf_aligned_alloc(pv_mem_ctxt, 128, size); in ih264d_allocate_static_bufs()
1468 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1469 memset(pv_buf, 0, size); in ih264d_allocate_static_bufs()
1470 ps_dec->pv_bs_deblk_thread_handle = pv_buf; in ih264d_allocate_static_bufs()
1473 pv_buf = pf_aligned_alloc(pv_mem_ctxt, 128, size); in ih264d_allocate_static_bufs()
1474 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1475 memset(pv_buf, 0, size); in ih264d_allocate_static_bufs()
1476 ps_dec->ps_dpb_mgr = pv_buf; in ih264d_allocate_static_bufs()
1479 pv_buf = pf_aligned_alloc(pv_mem_ctxt, 128, size); in ih264d_allocate_static_bufs()
1480 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1481 memset(pv_buf, 0, size); in ih264d_allocate_static_bufs()
1482 ps_dec->ps_pred = pv_buf; in ih264d_allocate_static_bufs()
1485 pv_buf = pf_aligned_alloc(pv_mem_ctxt, 128, size); in ih264d_allocate_static_bufs()
1486 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1487 memset(pv_buf, 0, size); in ih264d_allocate_static_bufs()
1488 ps_dec->pv_disp_buf_mgr = pv_buf; in ih264d_allocate_static_bufs()
1491 pv_buf = pf_aligned_alloc(pv_mem_ctxt, 128, size); in ih264d_allocate_static_bufs()
1492 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1493 memset(pv_buf, 0, size); in ih264d_allocate_static_bufs()
1494 ps_dec->pv_pic_buf_mgr = pv_buf; in ih264d_allocate_static_bufs()
1497 pv_buf = pf_aligned_alloc(pv_mem_ctxt, 128, size); in ih264d_allocate_static_bufs()
1498 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1499 memset(pv_buf, 0, size); in ih264d_allocate_static_bufs()
1500 ps_dec->ps_pic_buf_base = pv_buf; in ih264d_allocate_static_bufs()
1503 pv_buf = pf_aligned_alloc(pv_mem_ctxt, 128, size); in ih264d_allocate_static_bufs()
1504 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1505 memset(pv_buf, 0, size); in ih264d_allocate_static_bufs()
1506 ps_dec->ps_dec_err_status = (dec_err_status_t *)pv_buf; in ih264d_allocate_static_bufs()
1509 pv_buf = pf_aligned_alloc(pv_mem_ctxt, 128, size); in ih264d_allocate_static_bufs()
1510 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1511 memset(pv_buf, 0, size); in ih264d_allocate_static_bufs()
1512 ps_dec->ps_sei = (sei *)pv_buf; in ih264d_allocate_static_bufs()
1515 pv_buf = pf_aligned_alloc(pv_mem_ctxt, 128, size); in ih264d_allocate_static_bufs()
1516 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1517 memset(pv_buf, 0, size); in ih264d_allocate_static_bufs()
1518 ps_dec->ps_sei_parse = (sei *)pv_buf; in ih264d_allocate_static_bufs()
1521 pv_buf = pf_aligned_alloc(pv_mem_ctxt, 128, size); in ih264d_allocate_static_bufs()
1522 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1523 memset(pv_buf, 0, size); in ih264d_allocate_static_bufs()
1524 ps_dec->ps_dpb_cmds = (dpb_commands_t *)pv_buf; in ih264d_allocate_static_bufs()
1527 pv_buf = pf_aligned_alloc(pv_mem_ctxt, 128, size); in ih264d_allocate_static_bufs()
1528 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1529 memset(pv_buf, 0, size); in ih264d_allocate_static_bufs()
1530 ps_dec->ps_bitstrm = (dec_bit_stream_t *)pv_buf; in ih264d_allocate_static_bufs()
1533 pv_buf = pf_aligned_alloc(pv_mem_ctxt, 128, size); in ih264d_allocate_static_bufs()
1534 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1535 memset(pv_buf, 0, size); in ih264d_allocate_static_bufs()
1536 ps_dec->ps_cur_slice = (dec_slice_params_t *)pv_buf; in ih264d_allocate_static_bufs()
1539 pv_buf = pf_aligned_alloc(pv_mem_ctxt, 128, size); in ih264d_allocate_static_bufs()
1540 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1541 memset(pv_buf, 0, size); in ih264d_allocate_static_bufs()
1542 ps_dec->pv_scratch_sps_pps = pv_buf; in ih264d_allocate_static_bufs()
1546 pv_buf = pf_aligned_alloc(pv_mem_ctxt, 128, ps_dec->u4_static_bits_buf_size); in ih264d_allocate_static_bufs()
1547 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1548 memset(pv_buf, 0, ps_dec->u4_static_bits_buf_size); in ih264d_allocate_static_bufs()
1549 ps_dec->pu1_bits_buf_static = pv_buf; in ih264d_allocate_static_bufs()
1554 pv_buf = pf_aligned_alloc(pv_mem_ctxt, 128, size); in ih264d_allocate_static_bufs()
1555 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1556 ps_dec->ppv_map_ref_idx_to_poc_base = pv_buf; in ih264d_allocate_static_bufs()
1563 pv_buf = pf_aligned_alloc(pv_mem_ctxt, 128, size); in ih264d_allocate_static_bufs()
1564 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1565 memset(pv_buf, 0, size); in ih264d_allocate_static_bufs()
1566 ps_dec->p_cabac_ctxt_table_t = pv_buf; in ih264d_allocate_static_bufs()
1571 pv_buf = pf_aligned_alloc(pv_mem_ctxt, 128, size); in ih264d_allocate_static_bufs()
1572 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1573 memset(pv_buf, 0, size); in ih264d_allocate_static_bufs()
1574 ps_dec->ps_left_mb_ctxt_info = pv_buf; in ih264d_allocate_static_bufs()
1579 pv_buf = pf_aligned_alloc(pv_mem_ctxt, 128, size); in ih264d_allocate_static_bufs()
1580 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1581 memset(pv_buf, 0, size); in ih264d_allocate_static_bufs()
1582 ps_dec->pu1_ref_buff_base = pv_buf; in ih264d_allocate_static_bufs()
1588 pv_buf = pf_aligned_alloc(pv_mem_ctxt, 128, size); in ih264d_allocate_static_bufs()
1589 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1590 memset(pv_buf, 0, size); in ih264d_allocate_static_bufs()
1591 ps_dec->pi2_pred1 = pv_buf; in ih264d_allocate_static_bufs()
1595 pv_buf = pf_aligned_alloc(pv_mem_ctxt, 128, size); in ih264d_allocate_static_bufs()
1596 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1597 memset(pv_buf, 0, size); in ih264d_allocate_static_bufs()
1598 ps_dec->pu1_temp_mc_buffer = pv_buf; in ih264d_allocate_static_bufs()
1604 pv_buf = pf_aligned_alloc(pv_mem_ctxt, 128, size); in ih264d_allocate_static_bufs()
1605 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1606 memset(pv_buf, 0, size); in ih264d_allocate_static_bufs()
1608 ps_dec->pu1_init_dpb_base = pv_buf; in ih264d_allocate_static_bufs()
1609 pu1_buf = pv_buf; in ih264d_allocate_static_bufs()
1617 pv_buf = pf_aligned_alloc(pv_mem_ctxt, 128, size); in ih264d_allocate_static_bufs()
1618 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1619 memset(pv_buf, 0, size); in ih264d_allocate_static_bufs()
1620 ps_dec->pu4_mbaff_wt_mat = pv_buf; in ih264d_allocate_static_bufs()
1624 pv_buf = pf_aligned_alloc(pv_mem_ctxt, 128, size); in ih264d_allocate_static_bufs()
1625 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1626 memset(pv_buf, 0, size); in ih264d_allocate_static_bufs()
1627 ps_dec->pu4_wts_ofsts_mat = pv_buf; in ih264d_allocate_static_bufs()
1631 pv_buf = pf_aligned_alloc(pv_mem_ctxt, 128, size); in ih264d_allocate_static_bufs()
1632 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1633 memset(pv_buf, 0, size); in ih264d_allocate_static_bufs()
1634 ps_dec->ps_left_mvpred_addr = pv_buf; in ih264d_allocate_static_bufs()
1638 pv_buf = pf_aligned_alloc(pv_mem_ctxt, 128, size); in ih264d_allocate_static_bufs()
1639 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1640 memset(pv_buf, 0, size); in ih264d_allocate_static_bufs()
1641 ps_dec->pv_mv_buf_mgr = pv_buf; in ih264d_allocate_static_bufs()
1645 pv_buf = pf_aligned_alloc(pv_mem_ctxt, 128, size); in ih264d_allocate_static_bufs()
1646 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_allocate_static_bufs()
1647 ps_dec->ps_col_mv_base = pv_buf; in ih264d_allocate_static_bufs()
1701 void (*pf_aligned_free)(void *pv_mem_ctxt, void *pv_buf); in ih264d_create()
2286 void *pv_buf; in ih264d_video_decode() local
2289 pv_buf = ps_dec->pf_aligned_alloc(pv_mem_ctxt, 128, in ih264d_video_decode()
2291 RETURN_IF((NULL == pv_buf), IV_FAIL); in ih264d_video_decode()
2292 memset(pv_buf, 0, size + EXTRA_BS_OFFSET); in ih264d_video_decode()
2293 ps_dec->pu1_bits_buf_dynamic = pv_buf; in ih264d_video_decode()