Home
last modified time | relevance | path

Searched refs:refine_ctxt (Results 1 – 2 of 2) sorted by relevance

/external/libhevc/encoder/arm/
Dihevce_me_neon.c469 mv_refine_ctxt_t *refine_ctxt = ps_search_prms->ps_fullpel_refine_ctxt; in hme_calc_sad_and_1_best_result_neon() local
555 S32 *pi4_valid_part_ids = &refine_ctxt->ai4_part_id[0]; in hme_calc_sad_and_1_best_result_neon()
560 for(j = 0; j < refine_ctxt->i4_num_valid_parts; j++) in hme_calc_sad_and_1_best_result_neon()
563 S32 id = (refine_ctxt->i4_num_valid_parts > 8) ? part_id : j; in hme_calc_sad_and_1_best_result_neon()
568 best_node_cost = CLIP_S16(refine_ctxt->i2_tot_cost[0][id]); in hme_calc_sad_and_1_best_result_neon()
572 refine_ctxt->i2_tot_cost[0][id] = i4_tot_cost; in hme_calc_sad_and_1_best_result_neon()
573 refine_ctxt->i2_mv_cost[0][id] = i4_mv_cost; 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()
576 refine_ctxt->i2_ref_idx[0][id] = ps_search_node->i1_ref_idx; in hme_calc_sad_and_1_best_result_neon()
[all …]
Dihevce_subpel_neon.c368 mv_refine_ctxt_t *refine_ctxt = ps_result_prms->ps_subpel_refine_ctxt; in hme_evalsatd_update_1_best_result_pt_pu_16x16_neon() local
370 S32 *pi4_valid_part_ids = &refine_ctxt->ai4_part_id[0]; in hme_evalsatd_update_1_best_result_pt_pu_16x16_neon()
426 for(i = 0; i < refine_ctxt->i4_num_valid_parts; i++) in hme_evalsatd_update_1_best_result_pt_pu_16x16_neon()
429 S32 id = (refine_ctxt->i4_num_valid_parts > 8) ? part_id : i; in hme_evalsatd_update_1_best_result_pt_pu_16x16_neon()
430 S32 i4_mv_cost = refine_ctxt->i2_mv_cost[0][id]; in hme_evalsatd_update_1_best_result_pt_pu_16x16_neon()
433 S32 best_node_cost = CLIP_S16(refine_ctxt->i2_tot_cost[0][id]); in hme_evalsatd_update_1_best_result_pt_pu_16x16_neon()
437 refine_ctxt->i2_tot_cost[0][id] = i4_tot_cost; in hme_evalsatd_update_1_best_result_pt_pu_16x16_neon()
438 refine_ctxt->i2_mv_cost[0][id] = i4_mv_cost; in hme_evalsatd_update_1_best_result_pt_pu_16x16_neon()
439 refine_ctxt->i2_mv_x[0][id] = ps_result_prms->i2_mv_x; in hme_evalsatd_update_1_best_result_pt_pu_16x16_neon()
440 refine_ctxt->i2_mv_y[0][id] = ps_result_prms->i2_mv_y; in hme_evalsatd_update_1_best_result_pt_pu_16x16_neon()
[all …]