/external/libhevc/decoder/ |
D | ihevcd_mv_merge.c | 112 if(0 == memcmp(&ps_mv_1->s_l0_mv, &ps_mv_2->s_l0_mv, sizeof(mv_t))) in ihevcd_compare_pu_t() 245 as_mv_col[0] = ps_col_pu->mv.s_l0_mv; in ihevcd_collocated_mvp() 249 as_mv_col[1] = ps_col_pu->mv.s_l0_mv; in ihevcd_collocated_mvp() 257 as_mv_col[0] = ps_col_pu->mv.s_l0_mv; in ihevcd_collocated_mvp() 269 as_mv_col[0] = ps_col_pu->mv.s_l0_mv; in ihevcd_collocated_mvp() 272 as_mv_col[1] = ps_col_pu->mv.s_l0_mv; in ihevcd_collocated_mvp() 785 as_pu_merge_list[candidate_cnt].mv.s_l0_mv = as_mv_col[0]; in ihevcd_mv_merge() 798 as_pu_merge_list[candidate_cnt].mv.s_l0_mv = as_mv_col[0]; in ihevcd_mv_merge() 855 mv_t s_l0_mv, s_l1_mv; in ihevcd_mv_merge() local 862 s_l0_mv = as_pu_merge_list[l0_cand].mv.s_l0_mv; in ihevcd_mv_merge() [all …]
|
D | ihevcd_mv_pred.c | 238 ps_nbr_pic_buf_lx->i4_abs_poc, ps_mv, &aps_nbr_pu[i]->mv.s_l0_mv); in GET_MV_NBR_ST() 260 ps_nbr_pic_buf_lx->i4_abs_poc, ps_mv, &aps_nbr_pu[i]->mv.s_l0_mv); in GET_MV_NBR_ST() 280 ps_mv, &aps_nbr_pu[i]->mv.s_l0_mv); in GET_MV_NBR_LT() 307 ps_mv, &aps_nbr_pu[i]->mv.s_l0_mv); in GET_MV_NBR_LT() 489 ps_pred_mv->s_l0_mv = as_mv_a[0]; in ihevcd_mv_pred() 594 ps_pred_mv->s_l0_mv = as_mv_b[0]; in ihevcd_mv_pred() 647 ps_pred_mv->s_l0_mv = as_mv_b[0]; in ihevcd_mv_pred() 718 ps_pred_mv->s_l0_mv = s_mv_col_l0; in ihevcd_mv_pred() 741 ps_pred_mv->s_l0_mv.i2_mvx = 0; in ihevcd_mv_pred() 742 ps_pred_mv->s_l0_mv.i2_mvy = 0; in ihevcd_mv_pred()
|
D | ihevcd_get_mv.c | 369 mvp_x = s_pred_mv.s_l0_mv.i2_mvx; in ihevcd_get_mv_ctb() 370 mvp_y = s_pred_mv.s_l0_mv.i2_mvy; in ihevcd_get_mv_ctb() 371 mvd_x = ps_pu->mv.s_l0_mv.i2_mvx; in ihevcd_get_mv_ctb() 372 mvd_y = ps_pu->mv.s_l0_mv.i2_mvy; in ihevcd_get_mv_ctb() 377 ps_pu->mv.s_l0_mv.i2_mvx = tmp_x; in ihevcd_get_mv_ctb() 381 ps_pu->mv.s_l0_mv.i2_mvy = tmp_y; in ihevcd_get_mv_ctb()
|
D | ihevcd_inter_pred.c | 274 …mv = CLIP3(ps_pu->mv.s_l0_mv.i2_mvx, (-((MAX_CTB_SIZE + pu_x + 7) << 2)), ((ps_sps->i2_pic_width_i… in ihevcd_inter_pred_ctb() 278 …mv = CLIP3(ps_pu->mv.s_l0_mv.i2_mvy, (-((MAX_CTB_SIZE + pu_y + 7) << 2)), ((ps_sps->i2_pic_height_… in ihevcd_inter_pred_ctb() 321 …mv = CLIP3(ps_pu->mv.s_l0_mv.i2_mvx, (-((MAX_CTB_SIZE + pu_x + 7) << 2)), ((ps_sps->i2_pic_width_i… in ihevcd_inter_pred_ctb() 325 …mv = CLIP3(ps_pu->mv.s_l0_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 | 106 i2_mv_x0 = ps_pu->mv.s_l0_mv.i2_mvx; in ihevcd_pu_boundary_strength() 107 i2_mv_y0 = ps_pu->mv.s_l0_mv.i2_mvy; in ihevcd_pu_boundary_strength() 111 i2_ngbr_mv_x0 = ps_ngbr_pu->mv.s_l0_mv.i2_mvx; in ihevcd_pu_boundary_strength() 112 i2_ngbr_mv_y0 = ps_ngbr_pu->mv.s_l0_mv.i2_mvy; in ihevcd_pu_boundary_strength()
|
D | ihevcd_parse_slice.c | 721 ihevcd_parse_mvd(ps_codec, &ps_pu->mv.s_l0_mv); in ihevcd_parse_pu_mvp()
|
/external/libhevc/encoder/ |
D | ihevce_mv_pred_merge.c | 268 as_mv_col[0] = ps_col_mv->s_l0_mv; in ihevce_collocated_mvp() 272 as_mv_col[1] = ps_col_mv->s_l0_mv; in ihevce_collocated_mvp() 280 as_mv_col[0] = ps_col_mv->s_l0_mv; in ihevce_collocated_mvp() 292 as_mv_col[0] = ps_col_mv->s_l0_mv; in ihevce_collocated_mvp() 295 as_mv_col[1] = ps_col_mv->s_l0_mv; in ihevce_collocated_mvp() 866 ps_merge_cand_list[num_merge_cand].mv.s_l0_mv = as_mv_col[0]; in ihevce_mv_pred_merge() 879 ps_merge_cand_list[num_merge_cand].mv.s_l0_mv = as_mv_col[0]; in ihevce_mv_pred_merge() 925 mv_t s_l0_mv, s_l1_mv; in ihevce_mv_pred_merge() local 931 s_l0_mv = ps_merge_cand_list[l0_cand].mv.s_l0_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 | 463 i2_mv_x0 = ps_curr_nbr_4x4_pu->mv.s_l0_mv.i2_mvx; in ihevce_bs_compute_cu() 464 i2_mv_y0 = ps_curr_nbr_4x4_pu->mv.s_l0_mv.i2_mvy; in ihevce_bs_compute_cu() 630 i2_nbr_mv_x = ps_nbr_4x4->mv.s_l0_mv.i2_mvx; in ihevce_bs_compute_cu() 631 i2_nbr_mv_y = ps_nbr_4x4->mv.s_l0_mv.i2_mvy; in ihevce_bs_compute_cu() 659 i2_nbr_mv_x0 = ps_nbr_4x4->mv.s_l0_mv.i2_mvx; in ihevce_bs_compute_cu() 660 i2_nbr_mv_y0 = ps_nbr_4x4->mv.s_l0_mv.i2_mvy; in ihevce_bs_compute_cu()
|
D | ihevce_mv_pred.c | 262 ps_nbr_mv[0][0] = &ps_a0->mv.s_l0_mv; in ihevce_mv_pred() 274 ps_nbr_mv[1][0] = &ps_a1->mv.s_l0_mv; in ihevce_mv_pred() 445 ps_nbr_mv[0][0] = &ps_b0->mv.s_l0_mv; in ihevce_mv_pred() 457 ps_nbr_mv[1][0] = &ps_b1->mv.s_l0_mv; in ihevce_mv_pred() 469 ps_nbr_mv[2][0] = &ps_b2->mv.s_l0_mv; in ihevce_mv_pred() 743 ps_pred_mv[i].s_l0_mv = as_mvp_list_l0[i]; in ihevce_mv_pred()
|
D | ihevce_inter_pred.c | 464 WORD32 mv_x = ps_pu->mv.s_l0_mv.i2_mvx; in ihevce_luma_inter_pred_pu() 465 WORD32 mv_y = ps_pu->mv.s_l0_mv.i2_mvy; in ihevce_luma_inter_pred_pu() 1092 WORD32 mv_x = ps_pu->mv.s_l0_mv.i2_mvx; in ihevce_chroma_inter_pred_pu() 1093 WORD32 mv_y = ps_pu->mv.s_l0_mv.i2_mvy; in ihevce_chroma_inter_pred_pu()
|
D | ihevce_enc_loop_utils.c | 3098 ps_nbr_4x4->mv.s_l0_mv.i2_mvx = 0; in ihevce_intra_rdopt_cu_ntu() 3099 ps_nbr_4x4->mv.s_l0_mv.i2_mvy = 0; in ihevce_intra_rdopt_cu_ntu() 5948 idx0_cost = abs(ps_pu->mv.s_l0_mv.i2_mvx - as_pred_mv[0].s_l0_mv.i2_mvx); in ihevce_inter_rdopt_cu_mc_mvp() 5949 idx0_cost += abs(ps_pu->mv.s_l0_mv.i2_mvy - as_pred_mv[0].s_l0_mv.i2_mvy); in ihevce_inter_rdopt_cu_mc_mvp() 5954 idx1_cost = abs(ps_pu->mv.s_l0_mv.i2_mvx - as_pred_mv[1].s_l0_mv.i2_mvx); in ihevce_inter_rdopt_cu_mc_mvp() 5955 idx1_cost += abs(ps_pu->mv.s_l0_mv.i2_mvy - as_pred_mv[1].s_l0_mv.i2_mvy); in ihevce_inter_rdopt_cu_mc_mvp() 5965 ps_final_prms->as_pu_enc_loop[ctr].mv.s_l0_mv.i2_mvx -= in ihevce_inter_rdopt_cu_mc_mvp() 5966 as_pred_mv[0].s_l0_mv.i2_mvx; in ihevce_inter_rdopt_cu_mc_mvp() 5967 ps_final_prms->as_pu_enc_loop[ctr].mv.s_l0_mv.i2_mvy -= in ihevce_inter_rdopt_cu_mc_mvp() 5968 as_pred_mv[0].s_l0_mv.i2_mvy; in ihevce_inter_rdopt_cu_mc_mvp() [all …]
|
D | hme_subpel.c | 657 aps_mv[0] = &(ps_pu_node1->pu.mv.s_l0_mv); in hme_compute_pred_and_evaluate_bi() 794 aps_mv[1] = &(ps_pu_node2[i].pu.mv.s_l0_mv); in hme_compute_pred_and_evaluate_bi() 1148 ps_pu_node2[best_cand_in_opp_dir_idx].pu.mv.s_l0_mv.i2_mvx; in hme_compute_pred_and_evaluate_bi() 1150 ps_pu_node2[best_cand_in_opp_dir_idx].pu.mv.s_l0_mv.i2_mvy; in hme_compute_pred_and_evaluate_bi() 1170 ps_pu_node1->pu.mv.s_l0_mv.i2_mvx = in hme_compute_pred_and_evaluate_bi() 1171 ps_pu_node2[best_cand_in_opp_dir_idx].pu.mv.s_l0_mv.i2_mvx; in hme_compute_pred_and_evaluate_bi() 1172 ps_pu_node1->pu.mv.s_l0_mv.i2_mvy = in hme_compute_pred_and_evaluate_bi() 1173 ps_pu_node2[best_cand_in_opp_dir_idx].pu.mv.s_l0_mv.i2_mvy; in hme_compute_pred_and_evaluate_bi() 1179 ps_pu_node1->pu.mv.s_l0_mv.i2_mvx = in hme_compute_pred_and_evaluate_bi() 1181 ps_pu_node1->pu.mv.s_l0_mv.i2_mvy = in hme_compute_pred_and_evaluate_bi()
|
D | ihevce_common_utils.c | 530 if(0 == memcmp(&ps_pu_mv_1->s_l0_mv, &ps_pu_mv_2->s_l0_mv, sizeof(mv_t))) in ihevce_compare_pu_mv_t()
|
D | hme_utils.c | 131 s_pu.mv.s_l0_mv.i2_mvx = ps_best_l0_pu->pu.mv.s_l0_mv.i2_mvx; in ihevce_open_loop_pred_data() 132 s_pu.mv.s_l0_mv.i2_mvy = ps_best_l0_pu->pu.mv.s_l0_mv.i2_mvy; in ihevce_open_loop_pred_data() 3136 ps_curr_pu->pu.mv.s_l0_mv = ps_search_node->s_mv; in hme_populate_pus() 3333 ps_curr_pu->pu.mv.s_l0_mv = ps_search_node->s_mv; in hme_populate_pus_8x8_cu() 3578 ps_best_result[i].as_pu_results[0].pu.mv.s_l0_mv.i2_mvx = INTRA_MV; in hme_insert_intra_nodes_post_bipred() 3579 ps_best_result[i].as_pu_results[0].pu.mv.s_l0_mv.i2_mvy = INTRA_MV; in hme_insert_intra_nodes_post_bipred()
|
D | ihevce_enc_loop_structs.h | 96 (ps_pu)->mv.s_l0_mv.i2_mvx = mvx; \ 97 (ps_pu)->mv.s_l0_mv.i2_mvy = mvy; \
|
D | hme_refine.c | 174 ref_offset = ((blk_y << 3) + ps_pu->mv.s_l0_mv.i2_mvy) * ref_stride; in ihevce_no_wt_copy() 175 ref_offset += (blk_x << 3) + ps_pu->mv.s_l0_mv.i2_mvx; in ihevce_no_wt_copy() 371 ps_mv = &ps_pu->mv.s_l0_mv; in hme_add_me_best_as_merge_cands() 449 ps_mv = &ps_pu->mv.s_l0_mv; in hme_add_me_best_as_merge_cands() 1291 ps_pu->mv.s_l0_mv.i2_mvx = INTRA_MV; in hme_try_merge_high_speed() 1292 ps_pu->mv.s_l0_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() 7883 ps_pu_results->pu.mv.s_l0_mv.i2_mvy); in hme_refine()
|
D | ihevce_enc_structs.h | 396 mv_t s_l0_mv; member
|
D | ihevce_cabac_cu_pu.c | 950 ret |= ihevce_cabac_encode_mvd(ps_cabac, &ps_pu->mv.s_l0_mv); in ihevce_cabac_encode_inter_pu()
|
/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 1695 s_l0_mv.i2_mvx = ps_me_ctxt->as_mv_init_search[PRED_BI][i].i2_mvx >> 2; in ih264e_evaluate_bipred() 1696 s_l0_mv.i2_mvy = ps_me_ctxt->as_mv_init_search[PRED_BI][i].i2_mvy >> 2; in ih264e_evaluate_bipred() 1711 …pu1_ref_mb_l0 = ps_me_ctxt->apu1_ref_buf_luma[PRED_L0] + (s_l0_mv.i2_mvx) + ((s_l0_mv.i2_mvy) * ps… in ih264e_evaluate_bipred()
|
/external/libavc/common/ |
D | ih264_structs.h | 162 mv_t s_l0_mv; member
|
/external/libhevc/common/ |
D | ihevc_structs.h | 1216 mv_t s_l0_mv; member
|