• Home
  • Raw
  • Download

Lines Matching refs:ps_proc

986 void ih264e_init_quant_params(process_ctxt_t *ps_proc, int qp)  in ih264e_init_quant_params()  argument
1026 ps_qp_params = ps_proc->ps_qp_params[plane]; in ih264e_init_quant_params()
1057 if (ps_proc->i4_slice_type != ISLICE in ih264e_init_quant_params()
1058 && ps_proc->i4_slice_type != SISLICE) in ih264e_init_quant_params()
1064 if (ps_proc->ps_codec->s_cfg.u4_enable_satqd) in ih264e_init_quant_params()
1800 process_ctxt_t *ps_proc = NULL; in ih264e_pic_init() local
1807 ps_proc = &ps_codec->as_process[i]; in ih264e_pic_init()
1812 ps_proc->pu1_src_buf_luma_base = ps_codec->pu1_y_csc_buf_base; in ih264e_pic_init()
1816 ps_proc->pu1_src_buf_luma_base = in ih264e_pic_init()
1824 ps_proc->pu1_src_buf_chroma_base = in ih264e_pic_init()
1829 ps_proc->pu1_src_buf_chroma_base = in ih264e_pic_init()
1834 ps_proc->pu1_rec_buf_luma_base = pu1_cur_pic_luma; in ih264e_pic_init()
1837 ps_proc->pu1_rec_buf_chroma_base = pu1_cur_pic_chroma; in ih264e_pic_init()
1840 ps_proc->i4_rec_strd = ps_codec->i4_rec_strd; in ih264e_pic_init()
1843 ps_proc->i4_frame_num = ps_codec->i4_frame_num; in ih264e_pic_init()
1846 ps_proc->u4_is_idr = ps_codec->u4_is_idr; in ih264e_pic_init()
1849 ps_proc->u4_idr_pic_id = ps_codec->i4_idr_pic_id; in ih264e_pic_init()
1852 ps_proc->i4_slice_type = ps_codec->i4_slice_type; in ih264e_pic_init()
1855 ps_proc->i4_wd_mbs = ps_codec->s_cfg.i4_wd_mbs; in ih264e_pic_init()
1858 ps_proc->i4_ht_mbs = ps_codec->s_cfg.i4_ht_mbs; in ih264e_pic_init()
1861 ps_proc->u4_half_x_offset = 0; in ih264e_pic_init()
1864 ps_proc->u4_half_y_offset = 0; in ih264e_pic_init()
1867 ps_proc->u4_half_xy_offset = 0; in ih264e_pic_init()
1870 ps_proc->ps_top_row_mb_syntax_ele = in ih264e_pic_init()
1871 ps_proc->ps_top_row_mb_syntax_ele_base; in ih264e_pic_init()
1873 ps_proc->pu1_top_mb_intra_modes = in ih264e_pic_init()
1874 ps_proc->pu1_top_mb_intra_modes_base; in ih264e_pic_init()
1876 ps_proc->ps_top_row_pu = ps_proc->ps_top_row_pu_base; in ih264e_pic_init()
1879 ps_proc->u4_frame_qp = ps_codec->u4_frame_qp; in ih264e_pic_init()
1880 ps_proc->u4_mb_qp = ps_codec->u4_frame_qp; in ih264e_pic_init()
1881 ih264e_init_quant_params(ps_proc, ps_proc->u4_frame_qp); in ih264e_pic_init()
1884 ps_proc->u4_mb_qp_prev = ps_proc->u4_frame_qp; in ih264e_pic_init()
1887 memset(&ps_proc->s_frame_info, 0, sizeof(frame_info_t)); in ih264e_pic_init()
1893 memset(ps_proc->pu1_proc_map - ps_proc->i4_wd_mbs, 1, ps_proc->i4_wd_mbs); in ih264e_pic_init()
1895 memset(ps_proc->pu1_proc_map, 0, ps_proc->i4_wd_mbs * ps_proc->i4_ht_mbs); in ih264e_pic_init()
1898 memset(ps_proc->pu1_deblk_map - ps_proc->i4_wd_mbs, 1, ps_proc->i4_wd_mbs); in ih264e_pic_init()
1900 memset(ps_proc->pu1_deblk_map, 0, ps_proc->i4_wd_mbs * ps_proc->i4_ht_mbs); in ih264e_pic_init()
1903 memset(ps_proc->pu1_me_map - ps_proc->i4_wd_mbs, 1, ps_proc->i4_wd_mbs); in ih264e_pic_init()
1905 memset(ps_proc->pu1_me_map, 0, ps_proc->i4_wd_mbs * ps_proc->i4_ht_mbs); in ih264e_pic_init()
1915 … memset(ps_proc->pu1_is_intra_coded, 0, ps_proc->i4_wd_mbs * ps_proc->i4_ht_mbs); in ih264e_pic_init()
1921 ps_proc->u4_disable_deblock_level = ps_codec->i4_disable_deblk_pic; in ih264e_pic_init()
1927 memset(ps_proc->pu1_slice_idx, 0, ps_proc->i4_wd_mbs * ps_proc->i4_ht_mbs); in ih264e_pic_init()
1933 UWORD8 *pu1_slice_idx = ps_proc->pu1_slice_idx; in ih264e_pic_init()
1938 while (i4_mb_y < ps_proc->i4_ht_mbs) in ih264e_pic_init()
1940 if (i4_mb_y +(WORD32)ps_codec->s_cfg.u4_slice_param < ps_proc->i4_ht_mbs) in ih264e_pic_init()
1942 cnt = ps_codec->s_cfg.u4_slice_param * ps_proc->i4_wd_mbs; in ih264e_pic_init()
1947 cnt = (ps_proc->i4_ht_mbs - i4_mb_y) * ps_proc->i4_wd_mbs; in ih264e_pic_init()
1948 i4_mb_y += (ps_proc->i4_ht_mbs - i4_mb_y); in ih264e_pic_init()
1957 ps_proc->i4_cur_mv_bank_buf_id = cur_mv_bank_buf_id; in ih264e_pic_init()
1960 ps_proc->ps_cur_pic = ps_cur_pic; in ih264e_pic_init()
1963 ps_proc->ps_cur_mv_buf = ps_mv_buf; in ih264e_pic_init()
1970 ps_proc->aps_ref_pic[PRED_L0] = aps_ref_pic[PRED_L0]; in ih264e_pic_init()
1971 ps_proc->aps_ref_pic[PRED_L1] = aps_ref_pic[PRED_L1]; in ih264e_pic_init()
1974 ps_proc->aps_mv_buf[PRED_L0] = aps_mv_buf[PRED_L0]; in ih264e_pic_init()
1975 ps_proc->aps_mv_buf[PRED_L1] = aps_mv_buf[PRED_L1]; in ih264e_pic_init()
1984 ps_proc->aps_mv_buf[PRED_L0] = ps_mv_buf; in ih264e_pic_init()
1985 ps_proc->aps_mv_buf[PRED_L1] = ps_mv_buf; in ih264e_pic_init()
1991 ps_proc->apu1_ref_buf_luma_base[PRED_L0] = aps_ref_pic[PRED_L0]->pu1_luma; in ih264e_pic_init()
1992 ps_proc->apu1_ref_buf_chroma_base[PRED_L0] = aps_ref_pic[PRED_L0]->pu1_chroma; in ih264e_pic_init()
1994 ps_proc->apu1_ref_buf_luma_base[PRED_L1] = aps_ref_pic[PRED_L1]->pu1_luma; in ih264e_pic_init()
1995 ps_proc->apu1_ref_buf_chroma_base[PRED_L1] = aps_ref_pic[PRED_L1]->pu1_chroma; in ih264e_pic_init()
1999 ps_proc->s_inp_buf = *ps_inp_buf; in ih264e_pic_init()
2002 ps_proc->i4_encode_api_call_cnt = ps_codec->i4_encode_api_call_cnt; in ih264e_pic_init()
2005 ps_proc->i4_pic_cnt = ps_codec->i4_pic_cnt; in ih264e_pic_init()
2008 ps_proc->i4_error_code = 0; in ih264e_pic_init()
2014 entropy_ctxt_t *ps_entropy = &ps_proc->s_entropy; in ih264e_pic_init()
2038 ps_entropy->pu1_slice_idx = ps_proc->pu1_slice_idx; in ih264e_pic_init()
2041 ps_entropy->ps_slice_hdr_base = ps_proc->ps_slice_hdr_base; in ih264e_pic_init()
2044 ps_entropy->i4_abs_pic_order_cnt = ps_proc->ps_codec->i4_poc; in ih264e_pic_init()
2050 memset(ps_entropy->pu1_entropy_map - ps_proc->i4_wd_mbs, 1, ps_proc->i4_wd_mbs); in ih264e_pic_init()
2052 memset(ps_entropy->pu1_entropy_map, 0, ps_proc->i4_wd_mbs * ps_proc->i4_ht_mbs); in ih264e_pic_init()
2059 ps_entropy->i4_wd_mbs = ps_proc->i4_wd_mbs; in ih264e_pic_init()
2062 ps_entropy->i4_ht_mbs = ps_proc->i4_ht_mbs; in ih264e_pic_init()
2075 *(ps_proc->s_entropy.pi4_mb_skip_run) = 0; in ih264e_pic_init()
2078 ps_proc->s_entropy.u4_is_last = ps_inp_buf->u4_is_last; in ih264e_pic_init()
2081 ps_proc->s_entropy.i4_pic_cnt = ps_codec->i4_pic_cnt; in ih264e_pic_init()
2099 deblk_ctxt_t *ps_deblk = &ps_proc->s_deblk_ctxt; in ih264e_pic_init()
2102 ps_deblk->pu1_slice_idx = ps_proc->pu1_slice_idx; in ih264e_pic_init()
2110 me_ctxt_t *ps_me_ctxt = &ps_proc->s_me_ctxt; in ih264e_pic_init()
2124 ps_me_ctxt->u4_half_x_offset = ps_proc->u4_half_x_offset; in ih264e_pic_init()
2127 ps_me_ctxt->u4_half_y_offset = ps_proc->u4_half_y_offset; in ih264e_pic_init()
2130 ps_me_ctxt->u4_half_xy_offset = ps_proc->u4_half_xy_offset; in ih264e_pic_init()
2155 ps_proc->ps_ngbr_avbl = &(ps_proc->s_ngbr_avbl); in ih264e_pic_init()