/external/libavc/encoder/ |
D | ime_distortion_metrics.c | 463 WORD32 i4_sad = 0; in ime_compute_sad_16x16() local 472 USADA8(pu1_src, pu1_est, i4_sad); in ime_compute_sad_16x16() 476 USADA8(pu1_src, pu1_est, i4_sad); in ime_compute_sad_16x16() 480 USADA8(pu1_src, pu1_est, i4_sad); in ime_compute_sad_16x16() 484 USADA8(pu1_src, pu1_est, i4_sad); in ime_compute_sad_16x16() 489 if(i4_max_sad < i4_sad) in ime_compute_sad_16x16() 494 *pi4_mb_distortion = i4_sad; in ime_compute_sad_16x16() 501 *pi4_mb_distortion = i4_sad; in ime_compute_sad_16x16() 545 WORD32 i4_sad = 0; in ime_compute_sad_16x16_fast() local 554 USADA8(pu1_src, pu1_est, i4_sad); in ime_compute_sad_16x16_fast() [all …]
|
D | ih264e_intra_modes_eval.c | 1738 WORD32 i4_sad[MAX_I4x4] = {INT_MAX, INT_MAX, INT_MAX, INT_MAX, INT_MAX, in ih264e_evaluate_intra_4x4_modes() local 1754 i4_sad[VERT_I4x4] = 0; in ih264e_evaluate_intra_4x4_modes() 1757 USADA8(pu1_src_temp, pu1_pred, i4_sad[VERT_I4x4]); in ih264e_evaluate_intra_4x4_modes() 1759 USADA8(pu1_src_temp, pu1_pred, i4_sad[VERT_I4x4]); in ih264e_evaluate_intra_4x4_modes() 1761 USADA8(pu1_src_temp, pu1_pred, i4_sad[VERT_I4x4]); in ih264e_evaluate_intra_4x4_modes() 1763 USADA8(pu1_src_temp, pu1_pred, i4_sad[VERT_I4x4]); in ih264e_evaluate_intra_4x4_modes() 1765 i4_cost[VERT_I4x4] = i4_sad[VERT_I4x4] + ((u4_predictd_mode == VERT_I4x4) ? in ih264e_evaluate_intra_4x4_modes() 1772 i4_sad[HORZ_I4x4] = 0; in ih264e_evaluate_intra_4x4_modes() 1778 i4_sad[HORZ_I4x4] += ABS(pu1_src_temp[0] - u1_pred_val) in ih264e_evaluate_intra_4x4_modes() 1786 i4_sad[HORZ_I4x4] += ABS(pu1_src_temp[0] - u1_pred_val) in ih264e_evaluate_intra_4x4_modes() [all …]
|
D | ime.c | 129 WORD32 i4_sad[4]; in ime_diamond_search_16x16() local 170 i4_sad); in ime_diamond_search_16x16() 172 DEBUG_SAD_HISTOGRAM_ADD(i4_sad[0], 2); in ime_diamond_search_16x16() 173 DEBUG_SAD_HISTOGRAM_ADD(i4_sad[1], 2); in ime_diamond_search_16x16() 174 DEBUG_SAD_HISTOGRAM_ADD(i4_sad[2], 2); in ime_diamond_search_16x16() 175 DEBUG_SAD_HISTOGRAM_ADD(i4_sad[3], 2); in ime_diamond_search_16x16() 178 …i4_cost[0] = i4_sad[0] + u4_lambda_motion * ( pu1_mv_bits[ ((i2_mvx - 1) << 2) - ps_mb_part->s_mv_… in ime_diamond_search_16x16() 180 …i4_cost[1] = i4_sad[1] + u4_lambda_motion * ( pu1_mv_bits[ ((i2_mvx + 1) << 2) - ps_mb_part->s_mv_… in ime_diamond_search_16x16() 182 …i4_cost[2] = i4_sad[2] + u4_lambda_motion * ( pu1_mv_bits[ (i2_mvx << 2) - ps_mb_part->s_mv_pred.i… in ime_diamond_search_16x16() 184 …i4_cost[3] = i4_sad[3] + u4_lambda_motion * ( pu1_mv_bits[ (i2_mvx << 2) - ps_mb_part->s_mv_pred.i… in ime_diamond_search_16x16() [all …]
|
/external/libhevc/encoder/ |
D | hme_err_compute.c | 1454 S32 i4_tot_cost, i4_mv_cost, i4_sad, id; in hme_update_results_grid_pu_bestn_xtreme_speed() local 1530 i4_sad = pi4_sad_grid[grid_count * id]; in hme_update_results_grid_pu_bestn_xtreme_speed() 1531 i4_tot_cost = i4_sad + i4_mv_cost; in hme_update_results_grid_pu_bestn_xtreme_speed() 1546 ps_best_node[0].i4_sad = i4_sad; in hme_update_results_grid_pu_bestn_xtreme_speed() 1567 S32 i4_tot_cost, i4_mv_cost, i4_sad, id; in hme_update_results_grid_pu_bestn() local 1629 i4_sad = pi4_sad_grid[grid_count * id]; in hme_update_results_grid_pu_bestn() 1630 i4_tot_cost = i4_sad + i4_mv_cost; in hme_update_results_grid_pu_bestn() 1660 ps_best_node[i].i4_sad = i4_sad; in hme_update_results_grid_pu_bestn() 1698 S32 i4_tot_cost, i4_mv_cost, i4_sad, id; in hme_update_results_grid_pu_bestn_no_encode() local 1775 i4_sad = pi4_sad_grid[grid_count * id]; in hme_update_results_grid_pu_bestn_no_encode() [all …]
|
D | hme_subpel.c | 1058 S32 i4_sad = ps_pu_node1->i4_tot_cost - ps_pu_node1->i4_mv_cost; in hme_compute_pred_and_evaluate_bi() local 1119 u8_temp_var = i4_sad; in hme_compute_pred_and_evaluate_bi() 1122 i4_sad = (UWORD32)(u8_temp_var >> (i4_q_level)); in hme_compute_pred_and_evaluate_bi() 1124 uni_cost = i4_sad + ps_pu_node1->i4_mv_cost; in hme_compute_pred_and_evaluate_bi() 1407 S32 i4_count = 0, i4_sad, i4_mv_cost, i4_tot_cost; in hme_evalsatd_update_2_best_results_pt_pu_16x16() local 1426 i4_sad = CLIP3(pi4_sad_grid[part_id], 0, 0x7fff); in hme_evalsatd_update_2_best_results_pt_pu_16x16() 1427 i4_tot_cost = CLIP_S16(i4_sad + i4_mv_cost); in hme_evalsatd_update_2_best_results_pt_pu_16x16() 1570 S32 i4_count = 0, i4_sad, i4_mv_cost, i4_tot_cost; in hme_evalsatd_update_1_best_result_pt_pu_16x16() local 1589 i4_sad = CLIP3(pi4_sad_grid[part_id], 0, 0x7fff); in hme_evalsatd_update_1_best_result_pt_pu_16x16() 1590 i4_tot_cost = CLIP_S16(i4_sad + i4_mv_cost); in hme_evalsatd_update_1_best_result_pt_pu_16x16() [all …]
|
D | ihevce_defs.h | 891 ps_part_results->i4_sad = ps_search_node->i4_sad; \
|
D | ihevce_me_common_defs.h | 586 WORD32 i4_sad; member
|
D | hme_defs.h | 1134 S32 i4_sad; member 1166 (x)->i4_sad = MAX_32BIT_VAL; \ 1277 S32 i4_sad; member
|
D | ihevce_enc_loop_structs.h | 1313 WORD32 i4_sad; member
|
D | hme_utils.c | 1047 ps_search_node[j].i4_sad = MAX_32BIT_VAL; in hme_reset_search_results() 3173 ((ps_search_node->i4_sad * in hme_populate_pus() 3362 ((ps_search_node->i4_sad * in hme_populate_pus_8x8_cu()
|
D | hme_refine.c | 950 ps_search_node->i4_tot_cost = i4_mv_cost + ps_search_node->i4_sad; in hme_pick_eval_merge_candts() 10462 i4_local_weighted_sad = ((ps_search_node->i4_sad * wt_pred_val) + in hme_refine_no_encode() 10468 (ps_search_node->i4_tot_cost - ps_search_node->i4_sad); in hme_refine_no_encode() 10529 ->i4_sad * in hme_refine_no_encode() 10540 ->i4_sad); in hme_refine_no_encode()
|
/external/libhevc/encoder/arm/ |
D | ihevce_me_neon.c | 554 S32 i4_sad, i4_tot_cost; in hme_calc_sad_and_1_best_result_neon() local 565 i4_sad = CLIP3(pi4_sad_grid[part_id], 0, 0x7fff); in hme_calc_sad_and_1_best_result_neon() 566 i4_tot_cost = CLIP_S16(i4_sad + i4_mv_cost); in hme_calc_sad_and_1_best_result_neon() 645 S32 i4_sad = CLIP3(pi4_sad_grid[part_id], 0, 0x7fff); in hme_calc_sad_and_1_best_result_subpel_neon() local 646 S32 i4_tot_cost = CLIP_S16(i4_sad + i4_mv_cost); in hme_calc_sad_and_1_best_result_subpel_neon()
|
D | ihevce_subpel_neon.c | 431 S32 i4_sad = CLIP3(pi4_sad_grid[part_id], 0, 0x7fff); in hme_evalsatd_update_1_best_result_pt_pu_16x16_neon() local 432 S32 i4_tot_cost = CLIP_S16(i4_sad + i4_mv_cost); in hme_evalsatd_update_1_best_result_pt_pu_16x16_neon()
|
/external/libavc/encoder/x86/ |
D | ime_distortion_metrics_sse42.c | 353 WORD32 i4_sad; in ime_compute_sad_16x16_ea8_sse42() local 407 i4_sad = val1 + val2; in ime_compute_sad_16x16_ea8_sse42() 408 if (i4_max_sad < i4_sad) in ime_compute_sad_16x16_ea8_sse42() 410 *pi4_mb_distortion = i4_sad; in ime_compute_sad_16x16_ea8_sse42() 508 WORD32 i4_sad; in ime_compute_sad_16x16_fast_sse42() local 563 i4_sad = val1 + val2; in ime_compute_sad_16x16_fast_sse42() 564 *pi4_mb_distortion = (i4_sad<<1); in ime_compute_sad_16x16_fast_sse42()
|