/external/libavc/encoder/ |
D | ih264e_me.c | 247 ps_left_mv = &ps_proc->s_left_mb_pu_ME.s_me_info[i4_reflist].s_mv; in ih264e_get_search_candidates() 248 ps_top_mv = &(ps_proc->ps_top_row_pu_ME + i4_mb_x)->s_me_info[i4_reflist].s_mv; in ih264e_get_search_candidates() 249 ps_top_left_mv = &ps_proc->s_top_left_mb_pu_ME.s_me_info[i4_reflist].s_mv; in ih264e_get_search_candidates() 250 ps_top_right_mv = &(ps_proc->ps_top_row_pu_ME + i4_mb_x + 1)->s_me_info[i4_reflist].s_mv; in ih264e_get_search_candidates() 328 ps_mb_part->s_mv_pred.i2_mvx = ps_proc->ps_pred_mv[i4_reflist].s_mv.i2_mvx; in ih264e_get_search_candidates() 329 ps_mb_part->s_mv_pred.i2_mvy = ps_proc->ps_pred_mv[i4_reflist].s_mv.i2_mvy; in ih264e_get_search_candidates() 337 mvx = (ps_proc->ps_skip_mv[i4_reflist].s_mv.i2_mvx + 2) >> 2; in ih264e_get_search_candidates() 338 mvy = (ps_proc->ps_skip_mv[i4_reflist].s_mv.i2_mvy + 2) >> 2; in ih264e_get_search_candidates() 350 mvx = (ps_proc->ps_skip_mv[i4_reflist + 2].s_mv.i2_mvx + 2) >> 2; in ih264e_get_search_candidates() 351 mvy = (ps_proc->ps_skip_mv[i4_reflist + 2].s_mv.i2_mvy + 2) >> 2; in ih264e_get_search_candidates() [all …]
|
D | ih264e_deblk.c | 254 i16_pMvl0_x = ps_top_pu->s_me_info[ps_top_pu->b2_pred_mode].s_mv.i2_mvx; in ih264e_fill_bs_1mv_1ref_non_mbaff() 255 i16_pMvl0_y = ps_top_pu->s_me_info[ps_top_pu->b2_pred_mode].s_mv.i2_mvy; in ih264e_fill_bs_1mv_1ref_non_mbaff() 257 i16_qMvl0_x = ps_curr_pu->s_me_info[ps_curr_pu->b2_pred_mode].s_mv.i2_mvx; in ih264e_fill_bs_1mv_1ref_non_mbaff() 258 i16_qMvl0_y = ps_curr_pu->s_me_info[ps_curr_pu->b2_pred_mode].s_mv.i2_mvy; in ih264e_fill_bs_1mv_1ref_non_mbaff() 267 i16_pMvl0_x = ps_top_pu->s_me_info[PRED_L0].s_mv.i2_mvx; in ih264e_fill_bs_1mv_1ref_non_mbaff() 268 i16_pMvl0_y = ps_top_pu->s_me_info[PRED_L0].s_mv.i2_mvy; in ih264e_fill_bs_1mv_1ref_non_mbaff() 269 i16_pMvl1_x = ps_top_pu->s_me_info[PRED_L1].s_mv.i2_mvx; in ih264e_fill_bs_1mv_1ref_non_mbaff() 270 i16_pMvl1_y = ps_top_pu->s_me_info[PRED_L1].s_mv.i2_mvy; in ih264e_fill_bs_1mv_1ref_non_mbaff() 272 i16_qMvl0_x = ps_curr_pu->s_me_info[PRED_L0].s_mv.i2_mvx; in ih264e_fill_bs_1mv_1ref_non_mbaff() 273 i16_qMvl0_y = ps_curr_pu->s_me_info[PRED_L0].s_mv.i2_mvy; in ih264e_fill_bs_1mv_1ref_non_mbaff() [all …]
|
D | ih264e_mc.c | 177 ps_curr_mv = &ps_curr_pu->s_me_info[0].s_mv; in ih264e_motion_comp_luma() 182 ps_curr_mv = &ps_curr_pu->s_me_info[1].s_mv; in ih264e_motion_comp_luma() 194 ps_curr_mv = &ps_curr_pu->s_me_info[0].s_mv; in ih264e_motion_comp_luma() 201 ps_curr_mv = &ps_curr_pu->s_me_info[0].s_mv; in ih264e_motion_comp_luma() 340 ps_curr_mv = &ps_curr_pu->s_me_info[ps_curr_pu->b2_pred_mode].s_mv; in ih264e_motion_comp_chroma() 399 ps_curr_mv = &ps_curr_pu->s_me_info[i4_predmode].s_mv; in ih264e_motion_comp_chroma()
|
D | ih264e_process.c | 815 …ps_mb_hdr->ai2_mv[0] = ps_proc->ps_pu->s_me_info[0].s_mv.i2_mvx - ps_proc->ps_pred_mv[0].s_mv.i2_m… in ih264e_pack_header_data() 817 …ps_mb_hdr->ai2_mv[1] = ps_proc->ps_pu->s_me_info[0].s_mv.i2_mvy - ps_proc->ps_pred_mv[0].s_mv.i2_m… in ih264e_pack_header_data() 857 ps_mb_hdr->ai2_mv[0][0] = ps_proc->ps_pu->s_me_info[0].s_mv.i2_mvx in ih264e_pack_header_data() 858 - ps_proc->ps_pred_mv[0].s_mv.i2_mvx; in ih264e_pack_header_data() 860 ps_mb_hdr->ai2_mv[0][1] = ps_proc->ps_pu->s_me_info[0].s_mv.i2_mvy in ih264e_pack_header_data() 861 - ps_proc->ps_pred_mv[0].s_mv.i2_mvy; in ih264e_pack_header_data() 865 ps_mb_hdr->ai2_mv[1][0] = ps_proc->ps_pu->s_me_info[1].s_mv.i2_mvx in ih264e_pack_header_data() 866 - ps_proc->ps_pred_mv[1].s_mv.i2_mvx; in ih264e_pack_header_data() 868 ps_mb_hdr->ai2_mv[1][1] = ps_proc->ps_pu->s_me_info[1].s_mv.i2_mvy in ih264e_pack_header_data() 869 - ps_proc->ps_pred_mv[1].s_mv.i2_mvy; in ih264e_pack_header_data()
|
D | ih264e_structs.h | 227 mv_t s_mv; member
|
/external/libhevc/encoder/ |
D | hme_subpel.c | 2411 i4_mv_x = ps_search_node->s_mv.i2_mvx >> 1; in hme_subpel_refine_search_node_high_speed() 2412 i4_mv_y = ps_search_node->s_mv.i2_mvy >> 1; in hme_subpel_refine_search_node_high_speed() 2464 s_temp_search_node.s_mv.i2_mvx = mvx_qpel; in hme_subpel_refine_search_node_high_speed() 2465 s_temp_search_node.s_mv.i2_mvy = mvy_qpel; in hme_subpel_refine_search_node_high_speed() 2488 ps_search_node->s_mv.i2_mvx = (S16)((i4_mv_x - 1) << 1); in hme_subpel_refine_search_node_high_speed() 2489 ps_search_node->s_mv.i2_mvy = (S16)(i4_mv_y << 1); in hme_subpel_refine_search_node_high_speed() 2500 s_temp_search_node.s_mv.i2_mvx = mvx_qpel - 2; in hme_subpel_refine_search_node_high_speed() 2501 s_temp_search_node.s_mv.i2_mvy = mvy_qpel; in hme_subpel_refine_search_node_high_speed() 2524 ps_search_node->s_mv.i2_mvx = (S16)(i4_mv_x << 1); in hme_subpel_refine_search_node_high_speed() 2525 ps_search_node->s_mv.i2_mvy = (S16)((i4_mv_y - 1) << 1); in hme_subpel_refine_search_node_high_speed() [all …]
|
D | hme_fullpel.c | 221 s_refine_grid_center.s_mv.i2_mvx = i2_mvx; in hme_add_fpel_refine_candidates_to_search_cand_array() 222 s_refine_grid_center.s_mv.i2_mvy = i2_mvy; in hme_add_fpel_refine_candidates_to_search_cand_array() 234 s_refine_grid_center.s_mv.i2_mvx = i2_mvx + i1_offset_x; in hme_add_fpel_refine_candidates_to_search_cand_array() 235 s_refine_grid_center.s_mv.i2_mvy = i2_mvy + i1_offset_y; in hme_add_fpel_refine_candidates_to_search_cand_array() 249 s_refine_grid_center.s_mv.i2_mvx = i2_mvx; in hme_add_fpel_refine_candidates_to_search_cand_array() 250 s_refine_grid_center.s_mv.i2_mvy = i2_mvy; in hme_add_fpel_refine_candidates_to_search_cand_array() 273 ps_unique_search_nodes[pi4_num_unique_nodes[0]].s_mv.i2_mvx = i2_mvx + i1_offset_x; in hme_add_fpel_refine_candidates_to_search_cand_array() 274 ps_unique_search_nodes[pi4_num_unique_nodes[0]].s_mv.i2_mvy = i2_mvy + i1_offset_y; in hme_add_fpel_refine_candidates_to_search_cand_array() 279 ps_unique_search_nodes[pi4_num_unique_nodes[0]].s_mv.i2_mvx = i2_mvx; in hme_add_fpel_refine_candidates_to_search_cand_array() 280 ps_unique_search_nodes[pi4_num_unique_nodes[0]].s_mv.i2_mvy = i2_mvy; in hme_add_fpel_refine_candidates_to_search_cand_array() [all …]
|
D | hme_defs.h | 237 (node)->s_mv.i2_mvx = (mv)->i2_mv_x; \ 238 (node)->s_mv.i2_mvy = (mv)->i2_mv_y; \ 243 if(((node)->i1_ref_idx < 0) || ((node)->s_mv.i2_mvx == INTRA_MV)) \ 247 (node)->s_mv.i2_mvx = 0; \ 248 (node)->s_mv.i2_mvy = 0; \ 250 (node)->s_mv.i2_mvx >>= (shift); \ 251 (node)->s_mv.i2_mvy >>= (shift); \ 282 if(((ps_mv_store)[i4_j].s_mv.i2_mvx == (mvx_cur)) && \ 283 ((ps_mv_store)[i4_j].s_mv.i2_mvy == (mvy_cur)) && \ 294 (ps_mv_store)[i4_j].s_mv.i2_mvx = (mvx_cur); \ [all …]
|
D | hme_err_compute.c | 145 if((ps_best_node1->s_mv.i2_mvx == ps_best_node2->s_mv.i2_mvx) && in hme_cmp_nodes() 146 (ps_best_node1->s_mv.i2_mvy == ps_best_node2->s_mv.i2_mvy) && in hme_cmp_nodes() 412 hme_mv_t s_mv = { 0, 0 }; in hme_evalsad_grid_pu_16x16() local 420 s_grid.p_mv = &s_mv; in hme_evalsad_grid_pu_16x16() 1011 mv_p_x = ps_pred_node_a->s_mv.i2_mvx; in compute_mv_cost_explicit() 1012 mv_p_y = ps_pred_node_a->s_mv.i2_mvy; in compute_mv_cost_explicit() 1017 mv_p_x = ps_pred_node_b->s_mv.i2_mvx; in compute_mv_cost_explicit() 1018 mv_p_y = ps_pred_node_b->s_mv.i2_mvy; in compute_mv_cost_explicit() 1088 mvx = ps_node->s_mv.i2_mvx; in compute_mv_cost_coarse_high_speed() 1089 mvy = ps_node->s_mv.i2_mvy; in compute_mv_cost_coarse_high_speed() [all …]
|
D | hme_coarse.c | 112 ps_mv->i2_mv_x = ps_search_node->s_mv.i2_mvx >> (shift); \ 113 ps_mv->i2_mv_y = ps_search_node->s_mv.i2_mvy >> (shift); \ 416 s_search_node.s_mv.i2_mvx = mvx; in hme_combine_4x4_sads_and_compute_cost_high_quality() 417 s_search_node.s_mv.i2_mvy = mvy; in hme_combine_4x4_sads_and_compute_cost_high_quality() 1063 ps_candt_zeromv_8x4->s_mv.i2_mvx = 0; in hme_coarsest() 1064 ps_candt_zeromv_8x4->s_mv.i2_mvy = 0; in hme_coarsest() 1065 ps_candt_zeromv_4x8->s_mv.i2_mvx = 0; in hme_coarsest() 1066 ps_candt_zeromv_4x8->s_mv.i2_mvy = 0; in hme_coarsest() 1164 hme_mv_t s_mv; in hme_coarsest() local 1167 hme_get_global_mv(ps_prev_layer, &s_mv, i4_delta_poc); in hme_coarsest() [all …]
|
D | hme_search_algo.c | 312 s_search_node.s_mv.i2_mvx, s_search_node.s_mv.i2_mvy, ps_range_prms, 0, 0, 0); in hme_pred_search_square_stepn() 325 (s_search_node.s_mv.i2_mvx + in hme_pred_search_square_stepn() 326 (s_search_node.s_mv.i2_mvy * s_err_prms.i4_ref_stride)); in hme_pred_search_square_stepn() 387 s_search_node.s_mv.i2_mvx += (i4_step * gai1_grid_id_to_x[i4_min_id]); in hme_pred_search_square_stepn() 388 s_search_node.s_mv.i2_mvy += (i4_step * gai1_grid_id_to_y[i4_min_id]); in hme_pred_search_square_stepn() 407 (s_search_node.s_mv.i2_mvx + in hme_pred_search_square_stepn() 408 (s_search_node.s_mv.i2_mvy * s_err_prms.i4_ref_stride)); in hme_pred_search_square_stepn() 431 s_search_node.s_mv.i2_mvx += (i4_step * gai1_grid_id_to_x[i4_min_id]); in hme_pred_search_square_stepn() 432 s_search_node.s_mv.i2_mvy += (i4_step * gai1_grid_id_to_y[i4_min_id]); in hme_pred_search_square_stepn()
|
D | hme_refine.c | 241 ps_merge_cand[i4_num_cands_added].s_mv.i2_mvx = ps_data->as_mv[j].mvx; in hme_add_clustered_mvs_as_merge_cands() 242 ps_merge_cand[i4_num_cands_added].s_mv.i2_mvy = ps_data->as_mv[j].mvy; in hme_add_clustered_mvs_as_merge_cands() 246 ps_merge_cand[i4_num_cands_added].s_mv.i2_mvx, in hme_add_clustered_mvs_as_merge_cands() 247 ps_merge_cand[i4_num_cands_added].s_mv.i2_mvy, in hme_add_clustered_mvs_as_merge_cands() 255 if((ps_merge_cand[k].s_mv.i2_mvx == ps_data->as_mv[j].mvx) && in hme_add_clustered_mvs_as_merge_cands() 256 (ps_merge_cand[k].s_mv.i2_mvy == ps_data->as_mv[j].mvy) && in hme_add_clustered_mvs_as_merge_cands() 380 ps_merge_cand[i4_num_cands_added].s_mv.i2_mvx = ps_mv->i2_mvx; in hme_add_me_best_as_merge_cands() 381 ps_merge_cand[i4_num_cands_added].s_mv.i2_mvy = ps_mv->i2_mvy; in hme_add_me_best_as_merge_cands() 385 ps_merge_cand[i4_num_cands_added].s_mv.i2_mvx, in hme_add_me_best_as_merge_cands() 386 ps_merge_cand[i4_num_cands_added].s_mv.i2_mvy, in hme_add_me_best_as_merge_cands() [all …]
|
D | hme_utils.c | 500 i2_mv_x = ps_search_node->s_mv.i2_mvx; in hme_map_mvs_to_grid() 501 i2_mv_y = ps_search_node->s_mv.i2_mvy; in hme_map_mvs_to_grid() 525 ps_grid_node_tmp[i4_x].s_mv.i2_mvx = i2_mv_x; in hme_map_mvs_to_grid() 526 ps_grid_node_tmp[i4_x].s_mv.i2_mvy = i2_mv_y; in hme_map_mvs_to_grid() 715 i2_mv_x = ps_search_node_fwd->s_mv.i2_mvx; in hme_pick_back_search_node() 716 i2_mv_y = ps_search_node_fwd->s_mv.i2_mvy; in hme_pick_back_search_node() 762 (ps_search_node->s_mv.i2_mvx != i2_mv_x) || (ps_search_node->s_mv.i2_mvy != i2_mv_y)) in hme_pick_back_search_node() 1044 ps_search_node[j].s_mv.i2_mvx = 0; in hme_reset_search_results() 1045 ps_search_node[j].s_mv.i2_mvy = 0; in hme_reset_search_results() 1078 if(ps_search_node->s_mv.i2_mvx + i4_step >= ps_mvrange->i2_max_x) in hme_clamp_grid_by_mvrange() [all …]
|
D | hme_common_defs.h | 72 x = node->s_mv.i2_mvx; \ 73 y = node->s_mv.i2_mvy; \
|
D | ihevce_me_instr_set_router.c | 342 hme_mv_t s_mv = { 0, 0 }; in hme_evalsad_grid_pu_MxM() local 354 s_grid.p_mv = &s_mv; in hme_evalsad_grid_pu_MxM()
|
D | ihevce_enc_loop_structs.h | 1321 mv_t s_mv; member
|
/external/libhevc/encoder/arm/ |
D | ihevce_me_neon.c | 492 if(ps_search_node->s_mv.i2_mvx == INTRA_MV) in hme_calc_sad_and_1_best_result_neon() 499 ps_err_prms->pu1_ref += ps_search_node->s_mv.i2_mvx; in hme_calc_sad_and_1_best_result_neon() 500 ps_err_prms->pu1_ref += (ps_search_node->s_mv.i2_mvy * i4_ref_stride); in hme_calc_sad_and_1_best_result_neon() 533 S32 mv_p_x = ps_mvp_node->s_mv.i2_mvx; in hme_calc_sad_and_1_best_result_neon() 534 S32 mv_p_y = ps_mvp_node->s_mv.i2_mvy; 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()
|
/external/libavc/common/ |
D | ih264_structs.h | 200 pu_mv_t s_mv; member
|