Lines Matching refs:pu1_buf
1154 UWORD8 *pu1_buf; in ihevcd_allocate_static_bufs() local
1299 pu1_buf = pf_aligned_alloc(pv_mem_ctxt, 128, size); in ihevcd_allocate_static_bufs()
1300 RETURN_IF((NULL == pu1_buf), IV_FAIL); in ihevcd_allocate_static_bufs()
1304 ps_codec->as_process[i].s_sao_ctxt.pu1_tmp_buf_luma = (UWORD8 *)pu1_buf; in ihevcd_allocate_static_bufs()
1305 pu1_buf += 4 * MAX_CTB_SIZE * MAX_CTB_SIZE * sizeof(UWORD8); in ihevcd_allocate_static_bufs()
1307 ps_codec->as_process[i].s_sao_ctxt.pu1_tmp_buf_chroma = (UWORD8 *)pu1_buf; in ihevcd_allocate_static_bufs()
1308 pu1_buf += 4 * MAX_CTB_SIZE * MAX_CTB_SIZE * sizeof(UWORD8); in ihevcd_allocate_static_bufs()
1315 pu1_buf = pf_aligned_alloc(pv_mem_ctxt, 128, size); in ihevcd_allocate_static_bufs()
1316 RETURN_IF((NULL == pu1_buf), IV_FAIL); in ihevcd_allocate_static_bufs()
1317 memset(pu1_buf, 0, size); in ihevcd_allocate_static_bufs()
1318 ps_codec->s_parse.pu1_luma_intra_pred_mode_left = pu1_buf; in ihevcd_allocate_static_bufs()
1319 ps_codec->s_parse.pu1_luma_intra_pred_mode_top = pu1_buf + 16; in ihevcd_allocate_static_bufs()
1339 pu1_buf = ps_codec->pf_aligned_alloc(pv_mem_ctxt, 128, size); in ihevcd_allocate_static_bufs()
1340 RETURN_IF((NULL == pu1_buf), IV_FAIL); in ihevcd_allocate_static_bufs()
1341 memset(pu1_buf, 0, size); in ihevcd_allocate_static_bufs()
1345 ps_codec->as_process[i].pi2_inter_pred_tmp_buf1 = (WORD16 *)pu1_buf; in ihevcd_allocate_static_bufs()
1346 pu1_buf += inter_pred_tmp_buf_size; in ihevcd_allocate_static_bufs()
1348 ps_codec->as_process[i].pi2_inter_pred_tmp_buf2 = (WORD16 *)pu1_buf; in ihevcd_allocate_static_bufs()
1349 pu1_buf += inter_pred_tmp_buf_size; in ihevcd_allocate_static_bufs()
1357 ps_codec->as_process[i].pu4_pic_pu_idx_map = (UWORD32 *)pu1_buf; in ihevcd_allocate_static_bufs()
1359 (UWORD32 *)pu1_buf; in ihevcd_allocate_static_bufs()
1360 pu1_buf += pic_pu_idx_map_size; in ihevcd_allocate_static_bufs()
1488 UWORD8 *pu1_buf; in ihevcd_allocate_dynamic_bufs() local
1682 pu1_buf = ps_codec->pf_aligned_alloc(pv_mem_ctxt, 128, size); in ihevcd_allocate_dynamic_bufs()
1683 RETURN_IF((NULL == pu1_buf), IV_FAIL); in ihevcd_allocate_dynamic_bufs()
1684 memset(pu1_buf, 0, size); in ihevcd_allocate_dynamic_bufs()
1688 ps_codec->as_process[i].s_sao_ctxt.pu1_sao_src_left_luma = (UWORD8 *)pu1_buf; in ihevcd_allocate_dynamic_bufs()
1690 ps_codec->s_parse.s_sao_ctxt.pu1_sao_src_left_luma = (UWORD8 *)pu1_buf; in ihevcd_allocate_dynamic_bufs()
1691 pu1_buf += MAX(ht, wd); in ihevcd_allocate_dynamic_bufs()
1695 ps_codec->as_process[i].s_sao_ctxt.pu1_sao_src_left_chroma = (UWORD8 *)pu1_buf; in ihevcd_allocate_dynamic_bufs()
1697 ps_codec->s_parse.s_sao_ctxt.pu1_sao_src_left_chroma = (UWORD8 *)pu1_buf; in ihevcd_allocate_dynamic_bufs()
1698 pu1_buf += MAX(ht, wd); in ihevcd_allocate_dynamic_bufs()
1701 ps_codec->as_process[i].s_sao_ctxt.pu1_sao_src_top_luma = (UWORD8 *)pu1_buf; in ihevcd_allocate_dynamic_bufs()
1703 ps_codec->s_parse.s_sao_ctxt.pu1_sao_src_top_luma = (UWORD8 *)pu1_buf; in ihevcd_allocate_dynamic_bufs()
1704 pu1_buf += wd; in ihevcd_allocate_dynamic_bufs()
1708 ps_codec->as_process[i].s_sao_ctxt.pu1_sao_src_top_chroma = (UWORD8 *)pu1_buf; in ihevcd_allocate_dynamic_bufs()
1710 ps_codec->s_parse.s_sao_ctxt.pu1_sao_src_top_chroma = (UWORD8 *)pu1_buf; in ihevcd_allocate_dynamic_bufs()
1711 pu1_buf += wd; in ihevcd_allocate_dynamic_bufs()
1714 ps_codec->as_process[i].s_sao_ctxt.pu1_sao_src_luma_top_left_ctb = (UWORD8 *)pu1_buf; in ihevcd_allocate_dynamic_bufs()
1716 ps_codec->s_parse.s_sao_ctxt.pu1_sao_src_luma_top_left_ctb = (UWORD8 *)pu1_buf; in ihevcd_allocate_dynamic_bufs()
1717 pu1_buf += ht / MIN_CTB_SIZE; in ihevcd_allocate_dynamic_bufs()
1721 ps_codec->as_process[i].s_sao_ctxt.pu1_sao_src_chroma_top_left_ctb = (UWORD8 *)pu1_buf; in ihevcd_allocate_dynamic_bufs()
1723 ps_codec->s_parse.s_sao_ctxt.pu1_sao_src_chroma_top_left_ctb = (UWORD8 *)pu1_buf; in ihevcd_allocate_dynamic_bufs()
1724 pu1_buf += (ht / MIN_CTB_SIZE) * 2; in ihevcd_allocate_dynamic_bufs()
1728 … ps_codec->as_process[i].s_sao_ctxt.pu1_sao_src_top_left_luma_curr_ctb = (UWORD8 *)pu1_buf; in ihevcd_allocate_dynamic_bufs()
1730 ps_codec->s_parse.s_sao_ctxt.pu1_sao_src_top_left_luma_curr_ctb = (UWORD8 *)pu1_buf; in ihevcd_allocate_dynamic_bufs()
1731 pu1_buf += ht / MIN_CTB_SIZE; in ihevcd_allocate_dynamic_bufs()
1735 … ps_codec->as_process[i].s_sao_ctxt.pu1_sao_src_top_left_chroma_curr_ctb = (UWORD8 *)pu1_buf; in ihevcd_allocate_dynamic_bufs()
1737 ps_codec->s_parse.s_sao_ctxt.pu1_sao_src_top_left_chroma_curr_ctb = (UWORD8 *)pu1_buf; in ihevcd_allocate_dynamic_bufs()
1739 pu1_buf += (ht / MIN_CTB_SIZE) * 2; in ihevcd_allocate_dynamic_bufs()
1742 … ps_codec->as_process[i].s_sao_ctxt.pu1_sao_src_top_left_luma_top_right = (UWORD8 *)pu1_buf; in ihevcd_allocate_dynamic_bufs()
1744 ps_codec->s_parse.s_sao_ctxt.pu1_sao_src_top_left_luma_top_right = (UWORD8 *)pu1_buf; in ihevcd_allocate_dynamic_bufs()
1746 pu1_buf += wd / MIN_CTB_SIZE; in ihevcd_allocate_dynamic_bufs()
1749 … ps_codec->as_process[i].s_sao_ctxt.pu1_sao_src_top_left_chroma_top_right = (UWORD8 *)pu1_buf; in ihevcd_allocate_dynamic_bufs()
1751 ps_codec->s_parse.s_sao_ctxt.pu1_sao_src_top_left_chroma_top_right = (UWORD8 *)pu1_buf; in ihevcd_allocate_dynamic_bufs()
1753 pu1_buf += (wd / MIN_CTB_SIZE) * 2; in ihevcd_allocate_dynamic_bufs()
1758 … ps_codec->as_process[i].s_sao_ctxt.pu1_sao_src_top_left_luma_bot_left = (UWORD8 *)pu1_buf; in ihevcd_allocate_dynamic_bufs()
1760 ps_codec->s_parse.s_sao_ctxt.pu1_sao_src_top_left_luma_bot_left = (UWORD8 *)pu1_buf; in ihevcd_allocate_dynamic_bufs()
1762 pu1_buf += (ht / MIN_CTB_SIZE); in ihevcd_allocate_dynamic_bufs()
1766 … ps_codec->as_process[i].s_sao_ctxt.pu1_sao_src_top_left_chroma_bot_left = (UWORD8 *)pu1_buf; in ihevcd_allocate_dynamic_bufs()
1768 ps_codec->s_parse.s_sao_ctxt.pu1_sao_src_top_left_chroma_bot_left = (UWORD8 *)pu1_buf; in ihevcd_allocate_dynamic_bufs()
1770 pu1_buf += (ht / MIN_CTB_SIZE) * 2; in ihevcd_allocate_dynamic_bufs()
1775 UWORD8 *pu1_buf = (UWORD8 *)pv_buf; in ihevcd_allocate_dynamic_bufs() local
1830 pu1_buf = ps_codec->pf_aligned_alloc(pv_mem_ctxt, 128, size); in ihevcd_allocate_dynamic_bufs()
1831 RETURN_IF((NULL == pu1_buf), IV_FAIL); in ihevcd_allocate_dynamic_bufs()
1833 memset(pu1_buf, 0, size); in ihevcd_allocate_dynamic_bufs()
1837 ps_codec->as_process[i].s_bs_ctxt.pu4_pic_vert_bs = (UWORD32 *)pu1_buf; in ihevcd_allocate_dynamic_bufs()
1838 ps_codec->as_process[i].s_deblk_ctxt.s_bs_ctxt.pu4_pic_vert_bs = (UWORD32 *)pu1_buf; in ihevcd_allocate_dynamic_bufs()
1839 ps_codec->s_parse.s_deblk_ctxt.s_bs_ctxt.pu4_pic_vert_bs = (UWORD32 *)pu1_buf; in ihevcd_allocate_dynamic_bufs()
1840 pu1_buf += vert_bs_size; in ihevcd_allocate_dynamic_bufs()
1842 ps_codec->as_process[i].s_bs_ctxt.pu4_pic_horz_bs = (UWORD32 *)pu1_buf; in ihevcd_allocate_dynamic_bufs()
1843 ps_codec->as_process[i].s_deblk_ctxt.s_bs_ctxt.pu4_pic_horz_bs = (UWORD32 *)pu1_buf; in ihevcd_allocate_dynamic_bufs()
1844 ps_codec->s_parse.s_deblk_ctxt.s_bs_ctxt.pu4_pic_horz_bs = (UWORD32 *)pu1_buf; in ihevcd_allocate_dynamic_bufs()
1845 pu1_buf += horz_bs_size; in ihevcd_allocate_dynamic_bufs()
1847 ps_codec->as_process[i].s_bs_ctxt.pu1_pic_qp = (UWORD8 *)pu1_buf; in ihevcd_allocate_dynamic_bufs()
1848 ps_codec->as_process[i].s_deblk_ctxt.s_bs_ctxt.pu1_pic_qp = (UWORD8 *)pu1_buf; in ihevcd_allocate_dynamic_bufs()
1849 ps_codec->s_parse.s_deblk_ctxt.s_bs_ctxt.pu1_pic_qp = (UWORD8 *)pu1_buf; in ihevcd_allocate_dynamic_bufs()
1850 pu1_buf += qp_size; in ihevcd_allocate_dynamic_bufs()
1852 ps_codec->as_process[i].s_bs_ctxt.pu1_pic_qp_const_in_ctb = (UWORD8 *)pu1_buf; in ihevcd_allocate_dynamic_bufs()
1853 … ps_codec->as_process[i].s_deblk_ctxt.s_bs_ctxt.pu1_pic_qp_const_in_ctb = (UWORD8 *)pu1_buf; in ihevcd_allocate_dynamic_bufs()
1854 ps_codec->s_parse.s_deblk_ctxt.s_bs_ctxt.pu1_pic_qp_const_in_ctb = (UWORD8 *)pu1_buf; in ihevcd_allocate_dynamic_bufs()
1855 pu1_buf += qp_const_flag_size; in ihevcd_allocate_dynamic_bufs()
1857 pu1_buf -= (vert_bs_size + horz_bs_size + qp_size + qp_const_flag_size); in ihevcd_allocate_dynamic_bufs()
1859 ps_codec->s_parse.s_bs_ctxt.pu4_pic_vert_bs = (UWORD32 *)pu1_buf; in ihevcd_allocate_dynamic_bufs()
1860 pu1_buf += vert_bs_size; in ihevcd_allocate_dynamic_bufs()
1862 ps_codec->s_parse.s_bs_ctxt.pu4_pic_horz_bs = (UWORD32 *)pu1_buf; in ihevcd_allocate_dynamic_bufs()
1863 pu1_buf += horz_bs_size; in ihevcd_allocate_dynamic_bufs()
1865 ps_codec->s_parse.s_bs_ctxt.pu1_pic_qp = (UWORD8 *)pu1_buf; in ihevcd_allocate_dynamic_bufs()
1866 pu1_buf += qp_size; in ihevcd_allocate_dynamic_bufs()
1868 ps_codec->s_parse.s_bs_ctxt.pu1_pic_qp_const_in_ctb = (UWORD8 *)pu1_buf; in ihevcd_allocate_dynamic_bufs()
1869 pu1_buf += qp_const_flag_size; in ihevcd_allocate_dynamic_bufs()
2197 UWORD8 *pu1_buf; in ihevcd_set_display_frame() local
2224 pu1_buf = ps_dec_disp_ip->s_disp_buffer[i].pu1_bufs[0]; in ihevcd_set_display_frame()
2225 ps_pic_buf->pu1_luma = pu1_buf; in ihevcd_set_display_frame()
2229 pu1_buf = pu1_chroma_buf; in ihevcd_set_display_frame()
2235 pu1_buf = ps_dec_disp_ip->s_disp_buffer[i].pu1_bufs[1]; in ihevcd_set_display_frame()
2238 ps_pic_buf->pu1_chroma = pu1_buf; in ihevcd_set_display_frame()