• Home
  • Raw
  • Download

Lines Matching refs:part_id

786     S32 part_id;  in hme_init_pred_ctxt_encode()  local
860 for(part_id = 0; part_id < TOT_NUM_PARTS; part_id++) in hme_init_pred_ctxt_encode()
862 part_attr_t *ps_part_attr = &gas_part_attr_in_cu[part_id]; in hme_init_pred_ctxt_encode()
869 e_part_type = ge_part_id_to_part_type[part_id]; in hme_init_pred_ctxt_encode()
872 part_num = gau1_part_id_to_part_num[part_id]; in hme_init_pred_ctxt_encode()
873 tr_valid = gau1_partid_tr_valid[part_id] & cu_tr_valid; in hme_init_pred_ctxt_encode()
874 bl_valid = gau1_partid_bl_valid[part_id] & cu_bl_valid; in hme_init_pred_ctxt_encode()
933 (PART_ID_T)part_id); in hme_init_pred_ctxt_encode()
2235 S32 part_id = pi4_valid_part_ids[i4_count]; in hme_calc_sad_and_2_best_results() local
2236 S32 index = (ps_mv_refine_ctxt->i4_num_valid_parts > 8) ? part_id : i4_count; in hme_calc_sad_and_2_best_results()
2239 i4_sad = CLIP3(pi4_sad_grid[part_id], 0, 0x7fff); in hme_calc_sad_and_2_best_results()
2299 WORD32 part_id; in hme_calc_sad_and_2_best_results() local
2303 part_id = ps_mv_refine_ctxt->ai4_part_id[i4_i]; in hme_calc_sad_and_2_best_results()
2304 if(ps_mv_refine_ctxt->i2_tot_cost[0][part_id] >= MAX_SIGNED_16BIT_VAL) in hme_calc_sad_and_2_best_results()
2306 ASSERT(ps_mv_refine_ctxt->i2_mv_cost[0][part_id] == MAX_SIGNED_16BIT_VAL); in hme_calc_sad_and_2_best_results()
2307 ASSERT(ps_mv_refine_ctxt->i2_mv_x[0][part_id] == 0); in hme_calc_sad_and_2_best_results()
2308 ASSERT(ps_mv_refine_ctxt->i2_mv_y[0][part_id] == 0); in hme_calc_sad_and_2_best_results()
2310 ps_mv_refine_ctxt->i2_ref_idx[0][part_id] = ps_search_node->i1_ref_idx; in hme_calc_sad_and_2_best_results()
2312 if(ps_mv_refine_ctxt->i2_tot_cost[1][part_id] >= MAX_SIGNED_16BIT_VAL) in hme_calc_sad_and_2_best_results()
2314 ASSERT(ps_mv_refine_ctxt->i2_mv_cost[1][part_id] == MAX_SIGNED_16BIT_VAL); in hme_calc_sad_and_2_best_results()
2315 ASSERT(ps_mv_refine_ctxt->i2_mv_x[1][part_id] == 0); in hme_calc_sad_and_2_best_results()
2316 ASSERT(ps_mv_refine_ctxt->i2_mv_y[1][part_id] == 0); in hme_calc_sad_and_2_best_results()
2318 ps_mv_refine_ctxt->i2_ref_idx[1][part_id] = ps_search_node->i1_ref_idx; in hme_calc_sad_and_2_best_results()
2426 S32 part_id = pi4_valid_part_ids[i4_count]; in hme_calc_sad_and_2_best_results_subpel() local
2427 S32 index = (ps_subpel_refine_ctxt->i4_num_valid_parts > 8) ? part_id : i4_count; in hme_calc_sad_and_2_best_results_subpel()
2433 i4_sad = CLIP3(pi4_sad_grid[part_id], 0, 0x7fff); in hme_calc_sad_and_2_best_results_subpel()
2691 S32 part_id = pi4_valid_part_ids[i4_count]; in hme_calc_stim_injected_sad_and_2_best_results() local
2692 S32 index = (ps_mv_refine_ctxt->i4_num_valid_parts > 8) ? part_id : i4_count; in hme_calc_stim_injected_sad_and_2_best_results()
2708 part_id, in hme_calc_stim_injected_sad_and_2_best_results()
2712 (au8_final_ref_sigmaX[part_id] * au8_final_ref_sigmaX[part_id]); in hme_calc_stim_injected_sad_and_2_best_results()
2713 u8_ref_var = (au8_final_ref_sigmaXSquared[part_id] - u8_ref_X_Square); in hme_calc_stim_injected_sad_and_2_best_results()
2725 part_id); in hme_calc_stim_injected_sad_and_2_best_results()
2761 u8_pure_dist = pi4_sad_grid[part_id]; in hme_calc_stim_injected_sad_and_2_best_results()
2766 i4_sad = CLIP3(pi4_sad_grid[part_id], 0, 0x7fff); in hme_calc_stim_injected_sad_and_2_best_results()
2826 WORD32 part_id; in hme_calc_stim_injected_sad_and_2_best_results() local
2830 part_id = ps_mv_refine_ctxt->ai4_part_id[i4_i]; in hme_calc_stim_injected_sad_and_2_best_results()
2831 if(ps_mv_refine_ctxt->i2_stim_injected_cost[0][part_id] >= MAX_SIGNED_16BIT_VAL) in hme_calc_stim_injected_sad_and_2_best_results()
2833 ASSERT(ps_mv_refine_ctxt->i2_mv_cost[0][part_id] == MAX_SIGNED_16BIT_VAL); in hme_calc_stim_injected_sad_and_2_best_results()
2834 ASSERT(ps_mv_refine_ctxt->i2_mv_x[0][part_id] == 0); in hme_calc_stim_injected_sad_and_2_best_results()
2835 ASSERT(ps_mv_refine_ctxt->i2_mv_y[0][part_id] == 0); in hme_calc_stim_injected_sad_and_2_best_results()
2837 ps_mv_refine_ctxt->i2_ref_idx[0][part_id] = ps_search_node->i1_ref_idx; in hme_calc_stim_injected_sad_and_2_best_results()
2839 if(ps_mv_refine_ctxt->i2_stim_injected_cost[1][part_id] >= MAX_SIGNED_16BIT_VAL) in hme_calc_stim_injected_sad_and_2_best_results()
2841 ASSERT(ps_mv_refine_ctxt->i2_mv_cost[1][part_id] == MAX_SIGNED_16BIT_VAL); in hme_calc_stim_injected_sad_and_2_best_results()
2842 ASSERT(ps_mv_refine_ctxt->i2_mv_x[1][part_id] == 0); in hme_calc_stim_injected_sad_and_2_best_results()
2843 ASSERT(ps_mv_refine_ctxt->i2_mv_y[1][part_id] == 0); in hme_calc_stim_injected_sad_and_2_best_results()
2845 ps_mv_refine_ctxt->i2_ref_idx[1][part_id] = ps_search_node->i1_ref_idx; in hme_calc_stim_injected_sad_and_2_best_results()
3011 S32 part_id = pi4_valid_part_ids[i4_count]; in hme_calc_sad_and_1_best_result() local
3012 S32 index = (ps_mv_refine_ctxt->i4_num_valid_parts > 8) ? part_id : i4_count; in hme_calc_sad_and_1_best_result()
3015 i4_sad = CLIP3(pi4_sad_grid[part_id], 0, 0x7fff); in hme_calc_sad_and_1_best_result()
3066 WORD32 part_id; in hme_calc_sad_and_1_best_result() local
3070 part_id = ps_mv_refine_ctxt->ai4_part_id[i4_i]; in hme_calc_sad_and_1_best_result()
3071 if(ps_mv_refine_ctxt->i2_tot_cost[0][part_id] >= MAX_SIGNED_16BIT_VAL) in hme_calc_sad_and_1_best_result()
3073 ASSERT(ps_mv_refine_ctxt->i2_mv_cost[0][part_id] == MAX_SIGNED_16BIT_VAL); in hme_calc_sad_and_1_best_result()
3074 ASSERT(ps_mv_refine_ctxt->i2_mv_x[0][part_id] == 0); in hme_calc_sad_and_1_best_result()
3075 ASSERT(ps_mv_refine_ctxt->i2_mv_y[0][part_id] == 0); in hme_calc_sad_and_1_best_result()
3077 ps_mv_refine_ctxt->i2_ref_idx[0][part_id] = ps_search_node->i1_ref_idx; in hme_calc_sad_and_1_best_result()
3267 S32 part_id = pi4_valid_part_ids[i4_count]; in hme_calc_stim_injected_sad_and_1_best_result() local
3268 S32 index = (ps_mv_refine_ctxt->i4_num_valid_parts > 8) ? part_id : i4_count; in hme_calc_stim_injected_sad_and_1_best_result()
3284 part_id, in hme_calc_stim_injected_sad_and_1_best_result()
3288 (au8_final_ref_sigmaX[part_id] * au8_final_ref_sigmaX[part_id]); in hme_calc_stim_injected_sad_and_1_best_result()
3289 u8_ref_var = (au8_final_ref_sigmaXSquared[part_id] - u8_ref_X_Square); in hme_calc_stim_injected_sad_and_1_best_result()
3301 part_id); in hme_calc_stim_injected_sad_and_1_best_result()
3337 u8_pure_dist = pi4_sad_grid[part_id]; in hme_calc_stim_injected_sad_and_1_best_result()
3342 i4_sad = CLIP3(pi4_sad_grid[part_id], 0, 0x7fff); in hme_calc_stim_injected_sad_and_1_best_result()
3390 WORD32 part_id; in hme_calc_stim_injected_sad_and_1_best_result() local
3394 part_id = ps_mv_refine_ctxt->ai4_part_id[i4_i]; in hme_calc_stim_injected_sad_and_1_best_result()
3395 if(ps_mv_refine_ctxt->i2_stim_injected_cost[0][part_id] >= MAX_SIGNED_16BIT_VAL) in hme_calc_stim_injected_sad_and_1_best_result()
3397 ASSERT(ps_mv_refine_ctxt->i2_mv_cost[0][part_id] == MAX_SIGNED_16BIT_VAL); in hme_calc_stim_injected_sad_and_1_best_result()
3398 ASSERT(ps_mv_refine_ctxt->i2_mv_x[0][part_id] == 0); in hme_calc_stim_injected_sad_and_1_best_result()
3399 ASSERT(ps_mv_refine_ctxt->i2_mv_y[0][part_id] == 0); in hme_calc_stim_injected_sad_and_1_best_result()
3401 ps_mv_refine_ctxt->i2_ref_idx[0][part_id] = ps_search_node->i1_ref_idx; in hme_calc_stim_injected_sad_and_1_best_result()
3510 S32 part_id = pi4_valid_part_ids[i4_count]; in hme_calc_sad_and_1_best_result_subpel() local
3511 S32 index = (ps_subpel_refine_ctxt->i4_num_valid_parts > 8) ? part_id : i4_count; in hme_calc_sad_and_1_best_result_subpel()
3517 i4_sad = CLIP3(pi4_sad_grid[part_id], 0, 0x7fff); in hme_calc_sad_and_1_best_result_subpel()