Home
last modified time | relevance | path

Searched refs:ps_search_node (Results 1 – 13 of 13) sorted by relevance

/external/libhevc/encoder/
Dhme_utils.c464 search_node_t *ps_search_node; in hme_map_mvs_to_grid() local
497 ps_search_node = in hme_map_mvs_to_grid()
500 i2_mv_x = ps_search_node->s_mv.i2_mvx; in hme_map_mvs_to_grid()
501 i2_mv_y = ps_search_node->s_mv.i2_mvy; in hme_map_mvs_to_grid()
502 i1_ref_idx = ps_search_node->i1_ref_idx; in hme_map_mvs_to_grid()
712 search_node_t *ps_search_node; in hme_pick_back_search_node() local
739 ps_search_node = ps_search_results->aps_part_results[id][i4_part_idx]; in hme_pick_back_search_node()
743 S08 i1_ref_test = ps_search_node[i].i1_ref_idx; in hme_pick_back_search_node()
753 return (ps_search_node + i); in hme_pick_back_search_node()
761 if((ps_search_node->i1_ref_idx != i1_ref_idx_fwd) || in hme_pick_back_search_node()
[all …]
Dhme_subpel.c2285 search_node_t *ps_search_node, in hme_subpel_refine_search_node_high_speed() argument
2390 i1_ref_idx = ps_search_node->i1_ref_idx; in hme_subpel_refine_search_node_high_speed()
2401 s_result_prms.i1_ref_idx = ps_search_node->i1_ref_idx; in hme_subpel_refine_search_node_high_speed()
2404 s_result_prms.ps_search_node_base = ps_search_node; in hme_subpel_refine_search_node_high_speed()
2407 s_result_prms.ps_search_node = &s_temp_search_node; in hme_subpel_refine_search_node_high_speed()
2408 s_temp_search_node.i1_ref_idx = ps_search_node->i1_ref_idx; in hme_subpel_refine_search_node_high_speed()
2411 i4_mv_x = ps_search_node->s_mv.i2_mvx >> 1; in hme_subpel_refine_search_node_high_speed()
2412 i4_mv_y = ps_search_node->s_mv.i2_mvy >> 1; in hme_subpel_refine_search_node_high_speed()
2417 i4_grid_mask &= hme_clamp_grid_by_mvrange(ps_search_node, 2, ps_range_prms); in hme_subpel_refine_search_node_high_speed()
2439 part_id = ps_search_node->u1_part_id; in hme_subpel_refine_search_node_high_speed()
[all …]
Dhme_err_compute.c2095 search_node_t *ps_search_node; in hme_calc_sad_and_2_best_results() local
2102 ps_search_node = ps_search_prms->ps_search_nodes; in hme_calc_sad_and_2_best_results()
2115 if(ps_search_node->s_mv.i2_mvx == INTRA_MV) in hme_calc_sad_and_2_best_results()
2121 ps_wt_inp_prms->apu1_wt_inp[ps_search_node->i1_ref_idx] + i4_inp_off; in hme_calc_sad_and_2_best_results()
2122 ps_err_prms->pu1_ref = ppu1_ref[ps_search_node->i1_ref_idx] + i4_ref_offset; in hme_calc_sad_and_2_best_results()
2123 ps_err_prms->pu1_ref += ps_search_node->s_mv.i2_mvx; in hme_calc_sad_and_2_best_results()
2124 ps_err_prms->pu1_ref += (ps_search_node->s_mv.i2_mvy * i4_ref_stride); in hme_calc_sad_and_2_best_results()
2211 ->ppu1_ref_bits_tlu[ps_pred_ctxt->pred_lx][ps_search_node->i1_ref_idx]; in hme_calc_sad_and_2_best_results()
2214 mvdx1, mvdy1, ps_search_node, mv_p_x, mv_p_y, inp_shift, pred_shift); in hme_calc_sad_and_2_best_results()
2270 ps_mv_refine_ctxt->i2_mv_x[1][index] = ps_search_node->s_mv.i2_mvx; in hme_calc_sad_and_2_best_results()
[all …]
Dhme_coarse.c110 #define COPY_SEARCH_RESULT(ps_mv, pi1_ref_idx, ps_search_node, shift) \ argument
112 ps_mv->i2_mv_x = ps_search_node->s_mv.i2_mvx >> (shift); \
113 ps_mv->i2_mv_y = ps_search_node->s_mv.i2_mvy >> (shift); \
114 *pi1_ref_idx = ps_search_node->i1_ref_idx; \
975 search_node_t *ps_search_node; in hme_coarsest() local
976 ps_search_node = &ps_ctxt->s_init_search_node[i]; in hme_coarsest()
977 INIT_SEARCH_NODE(ps_search_node, 0); in hme_coarsest()
981 search_node_t *ps_search_node; in hme_coarsest() local
982 ps_search_node = &as_left_neighbours[i]; in hme_coarsest()
983 INIT_SEARCH_NODE(ps_search_node, 0); in hme_coarsest()
[all …]
Dhme_refine.c127 search_node_t *ps_search_node,
136 search_node_t *ps_search_node,
593 search_node_t *ps_search_node; in hme_pick_eval_merge_candts() local
858 ps_search_node = &as_merge_unique_node[i]; in hme_pick_eval_merge_candts()
866 i1_ref_idx = ps_search_node->i1_ref_idx; in hme_pick_eval_merge_candts()
876 ps_search_node->s_mv.i2_mvx, in hme_pick_eval_merge_candts()
877 ps_search_node->s_mv.i2_mvy, in hme_pick_eval_merge_candts()
884 s_result_prms.ps_search_node_base = ps_search_node; in hme_pick_eval_merge_candts()
913 s_result_prms.i2_mv_x = ps_search_node->s_mv.i2_mvx; in hme_pick_eval_merge_candts()
914 s_result_prms.i2_mv_y = ps_search_node->s_mv.i2_mvy; in hme_pick_eval_merge_candts()
[all …]
Dihevce_defs.h886 #define POPULATE_PART_RESULTS(ps_part_results, ps_search_node) \ argument
888 ps_part_results->i1_ref_idx = ps_search_node->i1_ref_idx; \
889 ps_part_results->i2_mv_x = ps_search_node->i2_mv_x; \
890 ps_part_results->i2_mv_y = ps_search_node->i2_mv_y; \
891 ps_part_results->i4_sad = ps_search_node->i4_sad; \
Dhme_search_algo.c299 s_search_node = *(ps_search_candts->ps_search_node); in hme_pred_search_square_stepn()
488 search_node_t *ps_search_node; in hme_pred_search() local
557 ps_search_node = ps_search_prms->ps_search_nodes; in hme_pred_search()
690 search_node_t *ps_search_node; in hme_pred_search_no_encode() local
756 ps_search_node = ps_search_prms->ps_search_nodes; in hme_pred_search_no_encode()
Dhme_err_compute.h127 S32 compute_mv_cost(search_node_t *ps_search_node, pred_ctxt_t *ps_pred_ctxt, BLK_SIZE_T e_blk_size…
Dhme_fullpel.c451 search_node_t *ps_cur_cand = ps_search_candts[i].ps_search_node; in hme_remove_duplicate_fpel_search_candidates()
Dhme_utils.h375 S32 hme_clamp_grid_by_mvrange(search_node_t *ps_search_node, S32 i4_step, range_prms_t *ps_mvrange);
Dhme_defs.h1200 search_node_t *ps_search_node; member
2185 search_node_t *ps_search_node; member
Dhme_interface.c1001 search_node_t *ps_search_node; in hme_alloc_init_search_nodes() local
1011 ps_search_node = (search_node_t *)ps_memtabs->pu1_mem; in hme_alloc_init_search_nodes()
1021 ps_search_results->aps_part_results[j][k] = ps_search_node; in hme_alloc_init_search_nodes()
1022 ps_search_node += max_num_results; in hme_alloc_init_search_nodes()
/external/libhevc/encoder/arm/
Dihevce_me_neon.c470 search_node_t *ps_search_node = ps_search_prms->ps_search_nodes; in hme_calc_sad_and_1_best_result_neon() local
492 if(ps_search_node->s_mv.i2_mvx == INTRA_MV) in hme_calc_sad_and_1_best_result_neon()
497 ps_err_prms->pu1_inp = ps_wt_inp_prms->apu1_wt_inp[ps_search_node->i1_ref_idx] + i4_inp_off; in hme_calc_sad_and_1_best_result_neon()
498 ps_err_prms->pu1_ref = ppu1_ref[ps_search_node->i1_ref_idx] + i4_ref_off; in hme_calc_sad_and_1_best_result_neon()
499 ps_err_prms->pu1_ref += ps_search_node->s_mv.i2_mvx; in hme_calc_sad_and_1_best_result_neon()
500 ps_err_prms->pu1_ref += (ps_search_node->s_mv.i2_mvy * i4_ref_stride); in hme_calc_sad_and_1_best_result_neon()
536 ps_pred_ctxt->ppu1_ref_bits_tlu[ps_pred_ctxt->pred_lx][ps_search_node->i1_ref_idx]; in hme_calc_sad_and_1_best_result_neon()
538 COMPUTE_DIFF_MV(mvdx1, mvdy1, ps_search_node, mv_p_x, mv_p_y, inp_shift, pred_shift); in hme_calc_sad_and_1_best_result_neon()
574 refine_ctxt->i2_mv_x[0][id] = ps_search_node->s_mv.i2_mvx; in hme_calc_sad_and_1_best_result_neon()
575 refine_ctxt->i2_mv_y[0][id] = ps_search_node->s_mv.i2_mvy; in hme_calc_sad_and_1_best_result_neon()
[all …]