/external/libhevc/decoder/ |
D | ihevcd_mv_merge.c | 122 if(0 == memcmp(&ps_mv_1->s_l1_mv, &ps_mv_2->s_l1_mv, sizeof(mv_t))) in ihevcd_compare_pu_t() 233 as_mv_col[0] = ps_col_pu->mv.s_l1_mv; in ihevcd_collocated_mvp() 237 as_mv_col[1] = ps_col_pu->mv.s_l1_mv; in ihevcd_collocated_mvp() 261 as_mv_col[1] = ps_col_pu->mv.s_l1_mv; in ihevcd_collocated_mvp() 277 as_mv_col[0] = ps_col_pu->mv.s_l1_mv; in ihevcd_collocated_mvp() 280 as_mv_col[1] = ps_col_pu->mv.s_l1_mv; in ihevcd_collocated_mvp() 786 as_pu_merge_list[candidate_cnt].mv.s_l1_mv = as_mv_col[1]; in ihevcd_mv_merge() 802 as_pu_merge_list[candidate_cnt].mv.s_l1_mv = as_mv_col[1]; in ihevcd_mv_merge() 855 mv_t s_l0_mv, s_l1_mv; in ihevcd_mv_merge() local 863 s_l1_mv = as_pu_merge_list[l1_cand].mv.s_l1_mv; in ihevcd_mv_merge() [all …]
|
D | ihevcd_mv_pred.c | 244 ps_nbr_pic_buf_lx->i4_abs_poc, ps_mv, &aps_nbr_pu[i]->mv.s_l1_mv); in GET_MV_NBR_ST() 255 ps_nbr_pic_buf_lx->i4_abs_poc, ps_mv, &aps_nbr_pu[i]->mv.s_l1_mv); in GET_MV_NBR_ST() 287 ps_mv, &aps_nbr_pu[i]->mv.s_l1_mv); in GET_MV_NBR_LT() 300 ps_mv, &aps_nbr_pu[i]->mv.s_l1_mv); in GET_MV_NBR_LT() 498 ps_pred_mv->s_l1_mv = as_mv_a[1]; in ihevcd_mv_pred() 608 ps_pred_mv->s_l1_mv = as_mv_b[1]; in ihevcd_mv_pred() 661 ps_pred_mv->s_l1_mv = as_mv_b[1]; in ihevcd_mv_pred() 730 ps_pred_mv->s_l1_mv = s_mv_col_l1; in ihevcd_mv_pred() 746 ps_pred_mv->s_l1_mv.i2_mvx = 0; in ihevcd_mv_pred() 747 ps_pred_mv->s_l1_mv.i2_mvy = 0; in ihevcd_mv_pred()
|
D | ihevcd_get_mv.c | 386 mvp_x = s_pred_mv.s_l1_mv.i2_mvx; in ihevcd_get_mv_ctb() 387 mvp_y = s_pred_mv.s_l1_mv.i2_mvy; in ihevcd_get_mv_ctb() 388 mvd_x = ps_pu->mv.s_l1_mv.i2_mvx; in ihevcd_get_mv_ctb() 389 mvd_y = ps_pu->mv.s_l1_mv.i2_mvy; in ihevcd_get_mv_ctb() 394 ps_pu->mv.s_l1_mv.i2_mvx = tmp_x; in ihevcd_get_mv_ctb() 398 ps_pu->mv.s_l1_mv.i2_mvy = tmp_y; in ihevcd_get_mv_ctb()
|
D | ihevcd_inter_pred.c | 293 …mv = CLIP3(ps_pu->mv.s_l1_mv.i2_mvx, (-((MAX_CTB_SIZE + pu_x + 7) << 2)), ((ps_sps->i2_pic_width_i… in ihevcd_inter_pred_ctb() 297 …mv = CLIP3(ps_pu->mv.s_l1_mv.i2_mvy, (-((MAX_CTB_SIZE + pu_y + 7) << 2)), ((ps_sps->i2_pic_height_… in ihevcd_inter_pred_ctb() 339 …mv = CLIP3(ps_pu->mv.s_l1_mv.i2_mvx, (-((MAX_CTB_SIZE + pu_x + 7) << 2)), ((ps_sps->i2_pic_width_i… in ihevcd_inter_pred_ctb() 343 …mv = CLIP3(ps_pu->mv.s_l1_mv.i2_mvy, (-((MAX_CTB_SIZE + pu_y + 7) << 2)), ((ps_sps->i2_pic_height_… in ihevcd_inter_pred_ctb()
|
D | ihevcd_boundary_strength.c | 108 i2_mv_x1 = ps_pu->mv.s_l1_mv.i2_mvx; in ihevcd_pu_boundary_strength() 109 i2_mv_y1 = ps_pu->mv.s_l1_mv.i2_mvy; in ihevcd_pu_boundary_strength() 113 i2_ngbr_mv_x1 = ps_ngbr_pu->mv.s_l1_mv.i2_mvx; in ihevcd_pu_boundary_strength() 114 i2_ngbr_mv_y1 = ps_ngbr_pu->mv.s_l1_mv.i2_mvy; in ihevcd_pu_boundary_strength()
|
D | ihevcd_parse_slice.c | 774 ps_pu->mv.s_l1_mv.i2_mvx = 0; in ihevcd_parse_pu_mvp() 775 ps_pu->mv.s_l1_mv.i2_mvy = 0; in ihevcd_parse_pu_mvp() 779 ihevcd_parse_mvd(ps_codec, &ps_pu->mv.s_l1_mv); in ihevcd_parse_pu_mvp()
|
/external/libhevc/encoder/ |
D | ihevce_mv_pred_merge.c | 256 as_mv_col[0] = ps_col_mv->s_l1_mv; in ihevce_collocated_mvp() 260 as_mv_col[1] = ps_col_mv->s_l1_mv; in ihevce_collocated_mvp() 284 as_mv_col[1] = ps_col_mv->s_l1_mv; in ihevce_collocated_mvp() 300 as_mv_col[0] = ps_col_mv->s_l1_mv; in ihevce_collocated_mvp() 303 as_mv_col[1] = ps_col_mv->s_l1_mv; in ihevce_collocated_mvp() 867 ps_merge_cand_list[num_merge_cand].mv.s_l1_mv = as_mv_col[1]; in ihevce_mv_pred_merge() 883 ps_merge_cand_list[num_merge_cand].mv.s_l1_mv = as_mv_col[1]; in ihevce_mv_pred_merge() 925 mv_t s_l0_mv, s_l1_mv; in ihevce_mv_pred_merge() local 932 s_l1_mv = ps_merge_cand_list[l1_cand].mv.s_l1_mv; in ihevce_mv_pred_merge() 934 if((l0_poc != l1_poc) || (s_l0_mv.i2_mvx != s_l1_mv.i2_mvx) || in ihevce_mv_pred_merge() [all …]
|
D | ihevce_bs_compute_ctb.c | 465 i2_mv_x1 = ps_curr_nbr_4x4_pu->mv.s_l1_mv.i2_mvx; in ihevce_bs_compute_cu() 466 i2_mv_y1 = ps_curr_nbr_4x4_pu->mv.s_l1_mv.i2_mvy; in ihevce_bs_compute_cu() 635 i2_nbr_mv_x = ps_nbr_4x4->mv.s_l1_mv.i2_mvx; in ihevce_bs_compute_cu() 636 i2_nbr_mv_y = ps_nbr_4x4->mv.s_l1_mv.i2_mvy; in ihevce_bs_compute_cu() 661 i2_nbr_mv_x1 = ps_nbr_4x4->mv.s_l1_mv.i2_mvx; in ihevce_bs_compute_cu() 662 i2_nbr_mv_y1 = ps_nbr_4x4->mv.s_l1_mv.i2_mvy; in ihevce_bs_compute_cu()
|
D | ihevce_mv_pred.c | 263 ps_nbr_mv[0][1] = &ps_a0->mv.s_l1_mv; in ihevce_mv_pred() 275 ps_nbr_mv[1][1] = &ps_a1->mv.s_l1_mv; in ihevce_mv_pred() 446 ps_nbr_mv[0][1] = &ps_b0->mv.s_l1_mv; in ihevce_mv_pred() 458 ps_nbr_mv[1][1] = &ps_b1->mv.s_l1_mv; in ihevce_mv_pred() 470 ps_nbr_mv[2][1] = &ps_b2->mv.s_l1_mv; in ihevce_mv_pred() 749 ps_pred_mv[i].s_l1_mv = as_mvp_list_l1[i]; in ihevce_mv_pred()
|
D | ihevce_inter_pred.c | 574 WORD32 mv_x = ps_pu->mv.s_l1_mv.i2_mvx; in ihevce_luma_inter_pred_pu() 575 WORD32 mv_y = ps_pu->mv.s_l1_mv.i2_mvy; in ihevce_luma_inter_pred_pu() 1159 WORD32 mv_x = ps_pu->mv.s_l1_mv.i2_mvx; in ihevce_chroma_inter_pred_pu() 1160 WORD32 mv_y = ps_pu->mv.s_l1_mv.i2_mvy; in ihevce_chroma_inter_pred_pu()
|
D | ihevce_enc_loop_utils.c | 3092 ps_nbr_4x4->mv.s_l1_mv.i2_mvx = 0; in ihevce_intra_rdopt_cu_ntu() 3093 ps_nbr_4x4->mv.s_l1_mv.i2_mvy = 0; in ihevce_intra_rdopt_cu_ntu() 6083 idx0_cost = abs(ps_pu->mv.s_l1_mv.i2_mvx - as_pred_mv[0].s_l1_mv.i2_mvx); in ihevce_inter_rdopt_cu_mc_mvp() 6084 idx0_cost += abs(ps_pu->mv.s_l1_mv.i2_mvy - as_pred_mv[0].s_l1_mv.i2_mvy); in ihevce_inter_rdopt_cu_mc_mvp() 6089 idx1_cost = abs(ps_pu->mv.s_l1_mv.i2_mvx - as_pred_mv[1].s_l1_mv.i2_mvx); in ihevce_inter_rdopt_cu_mc_mvp() 6090 idx1_cost += abs(ps_pu->mv.s_l1_mv.i2_mvy - as_pred_mv[1].s_l1_mv.i2_mvy); in ihevce_inter_rdopt_cu_mc_mvp() 6100 ps_final_prms->as_pu_enc_loop[ctr].mv.s_l1_mv.i2_mvx -= in ihevce_inter_rdopt_cu_mc_mvp() 6101 as_pred_mv[0].s_l1_mv.i2_mvx; in ihevce_inter_rdopt_cu_mc_mvp() 6102 ps_final_prms->as_pu_enc_loop[ctr].mv.s_l1_mv.i2_mvy -= in ihevce_inter_rdopt_cu_mc_mvp() 6103 as_pred_mv[0].s_l1_mv.i2_mvy; in ihevce_inter_rdopt_cu_mc_mvp() [all …]
|
D | hme_subpel.c | 688 aps_mv[0] = &(ps_pu_node1->pu.mv.s_l1_mv); in hme_compute_pred_and_evaluate_bi() 820 aps_mv[1] = &(ps_pu_node2[i].pu.mv.s_l1_mv); in hme_compute_pred_and_evaluate_bi() 1147 ps_pu_node1->pu.mv.s_l1_mv.i2_mvx = in hme_compute_pred_and_evaluate_bi() 1149 ps_pu_node1->pu.mv.s_l1_mv.i2_mvy = in hme_compute_pred_and_evaluate_bi() 1156 ps_pu_node1->pu.mv.s_l1_mv.i2_mvx = in hme_compute_pred_and_evaluate_bi() 1157 ps_pu_node2[best_cand_in_opp_dir_idx].pu.mv.s_l1_mv.i2_mvx; in hme_compute_pred_and_evaluate_bi() 1158 ps_pu_node1->pu.mv.s_l1_mv.i2_mvy = in hme_compute_pred_and_evaluate_bi() 1159 ps_pu_node2[best_cand_in_opp_dir_idx].pu.mv.s_l1_mv.i2_mvy; in hme_compute_pred_and_evaluate_bi() 1180 ps_pu_node2[best_cand_in_opp_dir_idx].pu.mv.s_l1_mv.i2_mvx; in hme_compute_pred_and_evaluate_bi() 1182 ps_pu_node2[best_cand_in_opp_dir_idx].pu.mv.s_l1_mv.i2_mvy; in hme_compute_pred_and_evaluate_bi()
|
D | ihevce_common_utils.c | 538 if(0 == memcmp(&ps_pu_mv_1->s_l1_mv, &ps_pu_mv_2->s_l1_mv, sizeof(mv_t))) in ihevce_compare_pu_mv_t()
|
D | ihevce_cabac_cu_pu.c | 989 ASSERT(ps_pu->mv.s_l1_mv.i2_mvx == 0); in ihevce_cabac_encode_inter_pu() 990 ASSERT(ps_pu->mv.s_l1_mv.i2_mvy == 0); in ihevce_cabac_encode_inter_pu() 999 ret |= ihevce_cabac_encode_mvd(ps_cabac, &ps_pu->mv.s_l1_mv); in ihevce_cabac_encode_inter_pu()
|
D | hme_utils.c | 147 s_pu.mv.s_l1_mv.i2_mvx = ps_best_l1_pu->pu.mv.s_l1_mv.i2_mvx; in ihevce_open_loop_pred_data() 148 s_pu.mv.s_l1_mv.i2_mvy = ps_best_l1_pu->pu.mv.s_l1_mv.i2_mvy; in ihevce_open_loop_pred_data() 3157 ps_curr_pu->pu.mv.s_l1_mv = ps_search_node->s_mv; in hme_populate_pus() 3350 ps_curr_pu->pu.mv.s_l1_mv = ps_search_node->s_mv; in hme_populate_pus_8x8_cu() 3580 ps_best_result[i].as_pu_results[0].pu.mv.s_l1_mv.i2_mvx = INTRA_MV; in hme_insert_intra_nodes_post_bipred() 3581 ps_best_result[i].as_pu_results[0].pu.mv.s_l1_mv.i2_mvy = INTRA_MV; in hme_insert_intra_nodes_post_bipred()
|
D | ihevce_enc_loop_structs.h | 89 (ps_pu)->mv.s_l1_mv.i2_mvx = mvx; \ 90 (ps_pu)->mv.s_l1_mv.i2_mvy = mvy; \
|
D | hme_refine.c | 200 ref_offset = ((blk_y << 3) + ps_pu->mv.s_l1_mv.i2_mvy) * ref_stride; in ihevce_no_wt_copy() 201 ref_offset += (blk_x << 3) + ps_pu->mv.s_l1_mv.i2_mvx; in ihevce_no_wt_copy() 366 ps_mv = &ps_pu->mv.s_l1_mv; in hme_add_me_best_as_merge_cands() 444 ps_mv = &ps_pu->mv.s_l1_mv; in hme_add_me_best_as_merge_cands() 1293 ps_pu->mv.s_l1_mv.i2_mvx = INTRA_MV; in hme_try_merge_high_speed() 1294 ps_pu->mv.s_l1_mv.i2_mvy = INTRA_MV; in hme_try_merge_high_speed() 5554 ps_mv = (is_l0_mv) ? (&ps_pu_mv->s_l0_mv) : (&ps_pu_mv->s_l1_mv); in hme_analyse_mv_clustering()
|
D | ihevce_enc_structs.h | 408 mv_t s_l1_mv; member
|
/external/libavc/encoder/ |
D | ih264e_me.c | 1678 mv_t *ps_l0_pred_mv, *ps_l1_pred_mv, s_l0_mv, s_l1_mv; in ih264e_evaluate_bipred() local 1697 s_l1_mv.i2_mvx = ps_me_ctxt->as_mv_init_search[PRED_BI][i + 1].i2_mvx >> 2; in ih264e_evaluate_bipred() 1698 s_l1_mv.i2_mvy = ps_me_ctxt->as_mv_init_search[PRED_BI][i + 1].i2_mvy >> 2; in ih264e_evaluate_bipred() 1724 …pu1_ref_mb_l1 = ps_me_ctxt->apu1_ref_buf_luma[PRED_L1] + (s_l1_mv.i2_mvx) + ((s_l1_mv.i2_mvy) * ps… in ih264e_evaluate_bipred()
|
/external/libavc/common/ |
D | ih264_structs.h | 167 mv_t s_l1_mv; member
|
/external/libhevc/common/ |
D | ihevc_structs.h | 1221 mv_t s_l1_mv; member
|