• Home
  • Raw
  • Download

Lines Matching refs:ps_prms

121 void hme_qpel_interp_avg(interp_prms_t *ps_prms, S32 i4_mv_x, S32 i4_mv_y, S32 i4_buf_id)  in hme_qpel_interp_avg()  argument
156 i4_offset = (i4_mv_x >> 2) + (i4_mv_y >> 2) * ps_prms->i4_ref_stride; in hme_qpel_interp_avg()
164 ps_prms->pu1_final_out = ps_prms->ppu1_ref[ps_inp_cfg->i1_buf_id1]; in hme_qpel_interp_avg()
165 ps_prms->pu1_final_out += ps_inp_cfg->i1_buf_xoff1 + i4_offset; in hme_qpel_interp_avg()
166 ps_prms->pu1_final_out += (ps_inp_cfg->i1_buf_yoff1 * ps_prms->i4_ref_stride); in hme_qpel_interp_avg()
167 ps_prms->i4_final_out_stride = ps_prms->i4_ref_stride; in hme_qpel_interp_avg()
172 pu1_src1 = ps_prms->ppu1_ref[ps_inp_cfg->i1_buf_id1]; in hme_qpel_interp_avg()
174 pu1_src1 += (ps_inp_cfg->i1_buf_yoff1 * ps_prms->i4_ref_stride); in hme_qpel_interp_avg()
176 pu1_src2 = ps_prms->ppu1_ref[ps_inp_cfg->i1_buf_id2]; in hme_qpel_interp_avg()
178 pu1_src2 += (ps_inp_cfg->i1_buf_yoff2 * ps_prms->i4_ref_stride); in hme_qpel_interp_avg()
180 pu1_dst = ps_prms->apu1_interp_out[i4_buf_id]; in hme_qpel_interp_avg()
184 ps_prms->i4_ref_stride, in hme_qpel_interp_avg()
185 ps_prms->i4_ref_stride, in hme_qpel_interp_avg()
186 ps_prms->i4_blk_wd, in hme_qpel_interp_avg()
187 ps_prms->i4_blk_ht, in hme_qpel_interp_avg()
189 ps_prms->i4_out_stride); in hme_qpel_interp_avg()
190 ps_prms->pu1_final_out = pu1_dst; in hme_qpel_interp_avg()
191 ps_prms->i4_final_out_stride = ps_prms->i4_out_stride; in hme_qpel_interp_avg()
195 interp_prms_t *ps_prms, in hme_qpel_interp_avg_2pt_vert_no_reuse() argument
202 pf_qpel_interp_avg_1pt(ps_prms, i4_mv_x, i4_mv_y + 1, 3, ppu1_final, pi4_final_stride); in hme_qpel_interp_avg_2pt_vert_no_reuse()
204 pf_qpel_interp_avg_1pt(ps_prms, i4_mv_x, i4_mv_y - 1, 1, ppu1_final, pi4_final_stride); in hme_qpel_interp_avg_2pt_vert_no_reuse()
208 interp_prms_t *ps_prms, in hme_qpel_interp_avg_2pt_horz_no_reuse() argument
215 pf_qpel_interp_avg_1pt(ps_prms, i4_mv_x + 1, i4_mv_y, 2, ppu1_final, pi4_final_stride); in hme_qpel_interp_avg_2pt_horz_no_reuse()
217 pf_qpel_interp_avg_1pt(ps_prms, i4_mv_x - 1, i4_mv_y, 0, ppu1_final, pi4_final_stride); in hme_qpel_interp_avg_2pt_horz_no_reuse()
241 interp_prms_t *ps_prms, in hme_qpel_interp_comprehensive() argument
253 S32 i4_ref_stride = ps_prms->i4_ref_stride; in hme_qpel_interp_comprehensive()
301 ppu1_final[3] = ps_prms->ppu1_ref[ps_inp_cfg->i1_buf_id1]; in hme_qpel_interp_comprehensive()
322 ppu1_final[1] = ps_prms->ppu1_ref[ps_inp_cfg->i1_buf_id1]; in hme_qpel_interp_comprehensive()
332 ps_prms, i4_mv_x, i4_mv_y + 1, 3, ppu1_final, pi4_final_stride); in hme_qpel_interp_comprehensive()
339 ps_prms, i4_mv_x, i4_mv_y - 1, 1, ppu1_final, pi4_final_stride); in hme_qpel_interp_comprehensive()
346 ps_prms, i4_mv_x, i4_mv_y, ppu1_final, pi4_final_stride); in hme_qpel_interp_comprehensive()
352 ps_prms, in hme_qpel_interp_comprehensive()
376 ppu1_final[3] = ps_prms->ppu1_ref[ps_inp_cfg->i1_buf_id1]; in hme_qpel_interp_comprehensive()
388 ppu1_final[1] = ps_prms->ppu1_ref[ps_inp_cfg->i1_buf_id1]; in hme_qpel_interp_comprehensive()
430 ppu1_final[2] = ps_prms->ppu1_ref[ps_inp_cfg->i1_buf_id1]; in hme_qpel_interp_comprehensive()
451 ppu1_final[0] = ps_prms->ppu1_ref[ps_inp_cfg->i1_buf_id1]; in hme_qpel_interp_comprehensive()
461 ps_prms, i4_mv_x + 1, i4_mv_y, 2, ppu1_final, pi4_final_stride); in hme_qpel_interp_comprehensive()
468 ps_prms, i4_mv_x - 1, i4_mv_y, 0, ppu1_final, pi4_final_stride); in hme_qpel_interp_comprehensive()
475 ps_prms, i4_mv_x, i4_mv_y, ppu1_final, pi4_final_stride); in hme_qpel_interp_comprehensive()
481 ps_prms, in hme_qpel_interp_comprehensive()
505 ppu1_final[2] = ps_prms->ppu1_ref[ps_inp_cfg->i1_buf_id1]; in hme_qpel_interp_comprehensive()
517 ppu1_final[0] = ps_prms->ppu1_ref[ps_inp_cfg->i1_buf_id1]; in hme_qpel_interp_comprehensive()
1204 err_prms_t *ps_prms, in hme_evalsatd_pt_pu_8x8_tu_rec() argument
1226 S32 *pi4_sad_grid = ps_prms->pi4_sad_grid; in hme_evalsatd_pt_pu_8x8_tu_rec()
1227 S32 *pi4_tu_split = ps_prms->pi4_tu_split_flags; in hme_evalsatd_pt_pu_8x8_tu_rec()
1228 S32 *pi4_early_cbf = ps_prms->pi4_tu_early_cbf; in hme_evalsatd_pt_pu_8x8_tu_rec()
1230 U08 *pu1_inp = ps_prms->pu1_inp; in hme_evalsatd_pt_pu_8x8_tu_rec()
1231 U08 *pu1_ref = ps_prms->pu1_ref; in hme_evalsatd_pt_pu_8x8_tu_rec()
1233 S32 inp_stride = ps_prms->i4_inp_stride; in hme_evalsatd_pt_pu_8x8_tu_rec()
1234 S32 ref_stride = ps_prms->i4_ref_stride; in hme_evalsatd_pt_pu_8x8_tu_rec()
1237 ps_prms->i4_tu_split_cost = 0; in hme_evalsatd_pt_pu_8x8_tu_rec()
1238 pi2_had_out = (S16 *)ps_prms->pu1_wkg_mem; in hme_evalsatd_pt_pu_8x8_tu_rec()
1274 ps_prms->u1_max_tr_depth, in hme_evalsatd_pt_pu_8x8_tu_rec()
1275 ps_prms->u1_max_tr_size, in hme_evalsatd_pt_pu_8x8_tu_rec()
1276 &(ps_prms->i4_tu_split_cost), in hme_evalsatd_pt_pu_8x8_tu_rec()
1313 err_prms_t *ps_prms, result_upd_prms_t *ps_result_prms) in hme_evalsatd_update_2_best_results_pt_pu_16x16() argument
1327 S32 *pi4_sad_grid = ps_prms->pi4_sad_grid; in hme_evalsatd_update_2_best_results_pt_pu_16x16()
1329 U08 *pu1_inp = ps_prms->pu1_inp; in hme_evalsatd_update_2_best_results_pt_pu_16x16()
1330 U08 *pu1_ref = ps_prms->pu1_ref; in hme_evalsatd_update_2_best_results_pt_pu_16x16()
1332 S32 inp_stride = ps_prms->i4_inp_stride; in hme_evalsatd_update_2_best_results_pt_pu_16x16()
1333 S32 ref_stride = ps_prms->i4_ref_stride; in hme_evalsatd_update_2_best_results_pt_pu_16x16()
1486 err_prms_t *ps_prms, result_upd_prms_t *ps_result_prms) in hme_evalsatd_update_1_best_result_pt_pu_16x16() argument
1500 S32 *pi4_sad_grid = ps_prms->pi4_sad_grid; in hme_evalsatd_update_1_best_result_pt_pu_16x16()
1502 U08 *pu1_inp = ps_prms->pu1_inp; in hme_evalsatd_update_1_best_result_pt_pu_16x16()
1503 U08 *pu1_ref = ps_prms->pu1_ref; in hme_evalsatd_update_1_best_result_pt_pu_16x16()
1505 S32 inp_stride = ps_prms->i4_inp_stride; in hme_evalsatd_update_1_best_result_pt_pu_16x16()
1506 S32 ref_stride = ps_prms->i4_ref_stride; in hme_evalsatd_update_1_best_result_pt_pu_16x16()
1637 err_prms_t *ps_prms, in hme_evalsatd_pt_pu_16x16_tu_rec() argument
1661 U08 *pu1_inp = ps_prms->pu1_inp; in hme_evalsatd_pt_pu_16x16_tu_rec()
1662 U08 *pu1_ref = ps_prms->pu1_ref; in hme_evalsatd_pt_pu_16x16_tu_rec()
1664 S32 inp_stride = ps_prms->i4_inp_stride; in hme_evalsatd_pt_pu_16x16_tu_rec()
1665 S32 ref_stride = ps_prms->i4_ref_stride; in hme_evalsatd_pt_pu_16x16_tu_rec()
1668 ps_prms->i4_tu_split_cost = 0; in hme_evalsatd_pt_pu_16x16_tu_rec()
1670 pi2_had_out = (S16 *)ps_prms->pu1_wkg_mem; in hme_evalsatd_pt_pu_16x16_tu_rec()
1704 ps_prms->u1_max_tr_depth, in hme_evalsatd_pt_pu_16x16_tu_rec()
1705 ps_prms->u1_max_tr_size, in hme_evalsatd_pt_pu_16x16_tu_rec()
1706 &(ps_prms->i4_tu_split_cost), in hme_evalsatd_pt_pu_16x16_tu_rec()
1711 ps_prms->pi4_tu_split_flags[0] = tu_split_flag; in hme_evalsatd_pt_pu_16x16_tu_rec()
1713 ps_prms->pi4_tu_early_cbf[0] = early_cbf_flag; in hme_evalsatd_pt_pu_16x16_tu_rec()
1731 void hme_evalsatd_pt_pu_32x32(err_prms_t *ps_prms) in hme_evalsatd_pt_pu_32x32() argument
1744 S32 *pi4_sad_grid = ps_prms->pi4_sad_grid; in hme_evalsatd_pt_pu_32x32()
1746 U08 *pu1_inp = ps_prms->pu1_inp; in hme_evalsatd_pt_pu_32x32()
1747 U08 *pu1_ref = ps_prms->pu1_ref; in hme_evalsatd_pt_pu_32x32()
1749 S32 inp_stride = ps_prms->i4_inp_stride; in hme_evalsatd_pt_pu_32x32()
1750 S32 ref_stride = ps_prms->i4_ref_stride; in hme_evalsatd_pt_pu_32x32()
1764 ai4_satd_8x8[i] = ps_prms->ps_cmn_utils_optimised_function_list->pf_HAD_8x8_8bit( in hme_evalsatd_pt_pu_32x32()
1817 err_prms_t *ps_prms, in hme_evalsatd_pt_pu_32x32_tu_rec() argument
1841 S32 *pi4_sad_grid = ps_prms->pi4_sad_grid; in hme_evalsatd_pt_pu_32x32_tu_rec()
1842 S32 *pi4_tu_split_flag = ps_prms->pi4_tu_split_flags; in hme_evalsatd_pt_pu_32x32_tu_rec()
1843 S32 *pi4_tu_early_cbf = ps_prms->pi4_tu_early_cbf; in hme_evalsatd_pt_pu_32x32_tu_rec()
1848 U08 *pu1_inp = ps_prms->pu1_inp; in hme_evalsatd_pt_pu_32x32_tu_rec()
1849 U08 *pu1_ref = ps_prms->pu1_ref; in hme_evalsatd_pt_pu_32x32_tu_rec()
1851 S32 inp_stride = ps_prms->i4_inp_stride; in hme_evalsatd_pt_pu_32x32_tu_rec()
1852 S32 ref_stride = ps_prms->i4_ref_stride; in hme_evalsatd_pt_pu_32x32_tu_rec()
1855 ps_prms->i4_tu_split_cost = 0; in hme_evalsatd_pt_pu_32x32_tu_rec()
1857 pi2_had_out = (S16 *)ps_prms->pu1_wkg_mem; in hme_evalsatd_pt_pu_32x32_tu_rec()
1891 ps_prms->u1_max_tr_depth, in hme_evalsatd_pt_pu_32x32_tu_rec()
1892 ps_prms->u1_max_tr_size, in hme_evalsatd_pt_pu_32x32_tu_rec()
1893 &(ps_prms->i4_tu_split_cost), in hme_evalsatd_pt_pu_32x32_tu_rec()
1932 void hme_evalsatd_pt_pu_64x64(err_prms_t *ps_prms) in hme_evalsatd_pt_pu_64x64() argument
1949 S32 *pi4_sad_grid = ps_prms->pi4_sad_grid; in hme_evalsatd_pt_pu_64x64()
1951 U08 *pu1_inp = ps_prms->pu1_inp; in hme_evalsatd_pt_pu_64x64()
1952 U08 *pu1_ref = ps_prms->pu1_ref; in hme_evalsatd_pt_pu_64x64()
1956 S32 inp_stride = ps_prms->i4_inp_stride; in hme_evalsatd_pt_pu_64x64()
1957 S32 ref_stride = ps_prms->i4_ref_stride; in hme_evalsatd_pt_pu_64x64()
1980 ai4_satd_8x8[i][j] = ps_prms->ps_cmn_utils_optimised_function_list->pf_HAD_8x8_8bit( in hme_evalsatd_pt_pu_64x64()
2053 err_prms_t *ps_prms, in hme_evalsatd_pt_pu_64x64_tu_rec() argument
2078 S32 *pi4_sad_grid = ps_prms->pi4_sad_grid; in hme_evalsatd_pt_pu_64x64_tu_rec()
2083 U08 *pu1_inp = ps_prms->pu1_inp; in hme_evalsatd_pt_pu_64x64_tu_rec()
2084 U08 *pu1_ref = ps_prms->pu1_ref; in hme_evalsatd_pt_pu_64x64_tu_rec()
2086 S32 inp_stride = ps_prms->i4_inp_stride; in hme_evalsatd_pt_pu_64x64_tu_rec()
2087 S32 ref_stride = ps_prms->i4_ref_stride; in hme_evalsatd_pt_pu_64x64_tu_rec()
2090 ps_prms->i4_tu_split_cost = 0; in hme_evalsatd_pt_pu_64x64_tu_rec()
2092 pi2_had_out = (S16 *)ps_prms->pu1_wkg_mem; in hme_evalsatd_pt_pu_64x64_tu_rec()
2109 api4_tu_split[HAD_32x32] = &ps_prms->pi4_tu_split_flags[i]; in hme_evalsatd_pt_pu_64x64_tu_rec()
2114 api4_tu_early_cbf[HAD_32x32] = &ps_prms->pi4_tu_early_cbf[i]; in hme_evalsatd_pt_pu_64x64_tu_rec()
2136 ps_prms->u1_max_tr_depth, in hme_evalsatd_pt_pu_64x64_tu_rec()
2137 ps_prms->u1_max_tr_size, in hme_evalsatd_pt_pu_64x64_tu_rec()
2138 &(ps_prms->i4_tu_split_cost), in hme_evalsatd_pt_pu_64x64_tu_rec()
2286 hme_subpel_prms_t *ps_prms, in hme_subpel_refine_search_node_high_speed() argument
2358 subpel_refine_ctxt_t *ps_subpel_refine_ctxt = ps_prms->ps_subpel_refine_ctxt; in hme_subpel_refine_search_node_high_speed()
2367 ps_prms->i4_use_satd, in hme_subpel_refine_search_node_high_speed()
2371 i4_num_hpel_refine = ps_prms->i4_num_steps_hpel_refine; in hme_subpel_refine_search_node_high_speed()
2372 i4_num_qpel_refine = ps_prms->i4_num_steps_qpel_refine; in hme_subpel_refine_search_node_high_speed()
2415 ps_range_prms = ps_prms->aps_mv_range_qpel[i1_ref_idx]; in hme_subpel_refine_search_node_high_speed()
2428 s_err_prms.pu1_inp = (U08 *)ps_prms->pv_inp; in hme_subpel_refine_search_node_high_speed()
2429 s_err_prms.i4_inp_stride = ps_prms->i4_inp_stride; in hme_subpel_refine_search_node_high_speed()
2646 pf_qpel_interp = ps_prms->pf_qpel_interp; in hme_subpel_refine_search_node_high_speed()
2689 pu1_mem = ps_prms->pu1_wkg_mem; in hme_subpel_refine_search_node_high_speed()
2906 hme_subpel_prms_t *ps_prms, in hme_subpel_refine_search_node_high_speed() argument
2984 if(ps_prms->i4_use_satd) in hme_subpel_refine_search_node_high_speed()
2993 i4_num_hpel_refine = ps_prms->i4_num_steps_hpel_refine; in hme_subpel_refine_search_node_high_speed()
2994 i4_num_qpel_refine = ps_prms->i4_num_steps_qpel_refine; in hme_subpel_refine_search_node_high_speed()
3034 ps_range_prms = ps_prms->ps_mv_range_qpel; in hme_subpel_refine_search_node_high_speed()
3047 s_err_prms.pu1_inp = (U08 *)ps_prms->pv_inp; in hme_subpel_refine_search_node_high_speed()
3048 s_err_prms.i4_inp_stride = ps_prms->i4_inp_stride; in hme_subpel_refine_search_node_high_speed()
3458 pf_qpel_interp = ps_prms->pf_qpel_interp; in hme_subpel_refine_search_node_high_speed()
3501 pu1_mem = ps_prms->pu1_wkg_mem; in hme_subpel_refine_search_node_high_speed()
4037 hme_subpel_prms_t *ps_prms, in hme_subpel_refine_cu_hs() argument
4064 subpel_refine_ctxt_t *ps_subpel_refine_ctxt = ps_prms->ps_subpel_refine_ctxt; in hme_subpel_refine_cu_hs()
4066 S32 i4_use_satd = ps_prms->i4_use_satd; in hme_subpel_refine_cu_hs()
4067 S32 i4_num_act_refs = ps_prms->i4_num_act_ref_l0 + ps_prms->i4_num_act_ref_l1; in hme_subpel_refine_cu_hs()
4071 if(!DISABLE_SUBPEL_REFINEMENT_WHEN_SRC_IS_NOISY || !ps_prms->u1_is_cu_noisy) in hme_subpel_refine_cu_hs()
4076 ps_prms->i4_inp_type = sizeof(U08); in hme_subpel_refine_cu_hs()
4116 i4_inp_off = x_off + y_off * ps_prms->i4_inp_stride; in hme_subpel_refine_cu_hs()
4119 x_off += ps_prms->i4_ctb_x_off; in hme_subpel_refine_cu_hs()
4120 y_off += ps_prms->i4_ctb_y_off; in hme_subpel_refine_cu_hs()
4128 MIN(ps_prms->u1_max_subpel_candts_2Nx2N, in hme_subpel_refine_cu_hs()
4134 ps_prms->u1_max_subpel_candts_NxN, ps_search_results->u1_num_results_per_part); in hme_subpel_refine_cu_hs()
4169 ps_prms->pv_inp = (void *)(ps_wt_inp_prms->apu1_wt_inp[i1_ref_idx] + i4_inp_off); in hme_subpel_refine_cu_hs()
4177 s_err_prms.pu1_inp = (U08 *)ps_prms->pv_inp; in hme_subpel_refine_cu_hs()
4178 s_err_prms.i4_inp_stride = ps_prms->i4_inp_stride; in hme_subpel_refine_cu_hs()
4253 i2_best_sad += (i2_best_sad >> ps_prms->u1_subpel_candt_threshold); in hme_subpel_refine_cu_hs()
4343 MIN(num_unique_nodes_2nx2n, ps_prms->u1_max_num_subpel_refine_centers); in hme_subpel_refine_cu_hs()
4350 i4_inp_off = x_off + y_off * ps_prms->i4_inp_stride; in hme_subpel_refine_cu_hs()
4381 ps_prms->pv_inp = in hme_subpel_refine_cu_hs()
4386 ps_prms, in hme_subpel_refine_cu_hs()
4389 x_off + ps_prms->i4_ctb_x_off, in hme_subpel_refine_cu_hs()
4390 y_off + ps_prms->i4_ctb_y_off, in hme_subpel_refine_cu_hs()
4428 ps_subpel_refine_ctxt, ps_search_results, search_idx, ps_prms->e_me_quality_presets); in hme_subpel_refine_cu_hs()