Home
last modified time | relevance | path

Searched refs:b2_pred_mode (Results 1 – 23 of 23) sorted by relevance

/external/libhevc/decoder/
Dihevcd_inter_pred.c227 bi_pred = (ps_pu->b2_pred_mode == PRED_BI); in ihevcd_inter_pred_ctb()
229 if(ps_pu->b2_pred_mode != PRED_L1) in ihevcd_inter_pred_ctb()
247 if(ps_pu->b2_pred_mode != PRED_L0) in ihevcd_inter_pred_ctb()
272 if(ps_pu->b2_pred_mode != PRED_L1) in ihevcd_inter_pred_ctb()
290 if(ps_pu->b2_pred_mode != PRED_L0) in ihevcd_inter_pred_ctb()
319 if(ps_pu->b2_pred_mode != PRED_L1) in ihevcd_inter_pred_ctb()
337 if(ps_pu->b2_pred_mode != PRED_L0) in ihevcd_inter_pred_ctb()
360 if(ps_pu->b2_pred_mode != PRED_L1) in ihevcd_inter_pred_ctb()
377 if(ps_pu->b2_pred_mode != PRED_L0) in ihevcd_inter_pred_ctb()
572 if(ps_pu->b2_pred_mode == PRED_L0) in ihevcd_inter_pred_ctb()
[all …]
Dihevcd_mv_merge.c103 pred_mode_1 = ps_pu_1->b2_pred_mode; in ihevcd_compare_pu_t()
104 pred_mode_2 = ps_pu_2->b2_pred_mode; in ihevcd_compare_pu_t()
228 pred_flag_l0 = (ps_col_pu->b2_pred_mode != PRED_L1); in ihevcd_collocated_mvp()
229 pred_flag_l1 = (ps_col_pu->b2_pred_mode != PRED_L0); in ihevcd_collocated_mvp()
568 ps_pu[0].b2_pred_mode = as_pu_merge_list[candidate_cnt - 1].b2_pred_mode; in ihevcd_mv_merge()
621 ps_pu[0].b2_pred_mode = as_pu_merge_list[candidate_cnt - 1].b2_pred_mode; in ihevcd_mv_merge()
663 ps_pu[0].b2_pred_mode = as_pu_merge_list[candidate_cnt - 1].b2_pred_mode; in ihevcd_mv_merge()
704 ps_pu[0].b2_pred_mode = as_pu_merge_list[candidate_cnt - 1].b2_pred_mode; in ihevcd_mv_merge()
759 ps_pu[0].b2_pred_mode = as_pu_merge_list[candidate_cnt - 1].b2_pred_mode; in ihevcd_mv_merge()
811 …as_pu_merge_list[candidate_cnt].b2_pred_mode = avail_col_l0 ? (avail_col_l1 ? PRED_BI : PRED_L0) :… in ihevcd_mv_merge()
[all …]
Dihevcd_mv_pred.c235 nbr_pred_lx = (PRED_L1 != aps_nbr_pu[i]->b2_pred_mode); in GET_MV_NBR_ST()
239 nbr_pred_lx = (PRED_L0 != aps_nbr_pu[i]->b2_pred_mode); in GET_MV_NBR_ST()
241 nbr_pred_lx = (PRED_L0 != aps_nbr_pu[i]->b2_pred_mode); in GET_MV_NBR_ST()
252 nbr_pred_lx = (PRED_L0 != aps_nbr_pu[i]->b2_pred_mode); in GET_MV_NBR_ST()
257 nbr_pred_lx = (PRED_L1 != aps_nbr_pu[i]->b2_pred_mode); in GET_MV_NBR_ST()
275 nbr_pred_lx = (PRED_L1 != aps_nbr_pu[i]->b2_pred_mode); in GET_MV_NBR_LT()
282 nbr_pred_lx = (PRED_L0 != aps_nbr_pu[i]->b2_pred_mode); in GET_MV_NBR_LT()
295 nbr_pred_lx = (PRED_L0 != aps_nbr_pu[i]->b2_pred_mode); in GET_MV_NBR_LT()
302 nbr_pred_lx = (PRED_L1 != aps_nbr_pu[i]->b2_pred_mode); in GET_MV_NBR_LT()
472 if(PRED_L0 != ps_pu->b2_pred_mode) in ihevcd_mv_pred()
[all …]
Dihevcd_get_mv.c360 pred_flag_l0 = (ps_pu->b2_pred_mode != PRED_L1); in ihevcd_get_mv_ctb()
361 pred_flag_l1 = (ps_pu->b2_pred_mode != PRED_L0); in ihevcd_get_mv_ctb()
416 if(PRED_BI == ps_pu->b2_pred_mode) in ihevcd_get_mv_ctb()
422 ps_pu->b2_pred_mode = PRED_L0; in ihevcd_get_mv_ctb()
Dihevcd_boundary_strength.c97 num_mv = (PRED_BI == ps_pu->b2_pred_mode) ? 2 : 1; in ihevcd_pu_boundary_strength()
98 ngbr_num_mv = (PRED_BI == ps_ngbr_pu->b2_pred_mode) ? 2 : 1; in ihevcd_pu_boundary_strength()
167 if(PRED_L0 == ps_pu->b2_pred_mode) in ihevcd_pu_boundary_strength()
180 if(PRED_L0 == ps_ngbr_pu->b2_pred_mode) in ihevcd_pu_boundary_strength()
Dihevcd_parse_slice.c792 ps_pu->b2_pred_mode = inter_pred_idc; in ihevcd_parse_pu_mvp()
/external/libavc/encoder/
Dih264e_deblk.c248 if (ps_curr_pu->b2_pred_mode != ps_top_pu->b2_pred_mode) in ih264e_fill_bs_1mv_1ref_non_mbaff()
252 else if(ps_curr_pu->b2_pred_mode != 2) in ih264e_fill_bs_1mv_1ref_non_mbaff()
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()
295 if (ps_curr_pu->b2_pred_mode != ps_left_pu->b2_pred_mode) in ih264e_fill_bs_1mv_1ref_non_mbaff()
299 else if(ps_curr_pu->b2_pred_mode != 2)/* Not bipred */ in ih264e_fill_bs_1mv_1ref_non_mbaff()
301 i16_pMvl0_x = ps_left_pu->s_me_info[ps_left_pu->b2_pred_mode].s_mv.i2_mvx; in ih264e_fill_bs_1mv_1ref_non_mbaff()
302 i16_pMvl0_y = ps_left_pu->s_me_info[ps_left_pu->b2_pred_mode].s_mv.i2_mvy; in ih264e_fill_bs_1mv_1ref_non_mbaff()
[all …]
Dih264e_me.c252 i4_left_mode = ps_proc->s_left_mb_pu_ME.b2_pred_mode != i4_cmpl_predmode; in ih264e_get_search_candidates()
253 i4_top_mode = (ps_proc->ps_top_row_pu_ME + i4_mb_x)->b2_pred_mode != i4_cmpl_predmode; in ih264e_get_search_candidates()
254 i4_top_left_mode = ps_proc->s_top_left_mb_pu_ME.b2_pred_mode != i4_cmpl_predmode; in ih264e_get_search_candidates()
255 i4_top_right_mode = (ps_proc->ps_top_row_pu_ME + i4_mb_x + 1)->b2_pred_mode != i4_cmpl_predmode; in ih264e_get_search_candidates()
663 || (ps_left_mb_pu->b2_pred_mode == i4_cmpl_predmode)) in ih264e_mv_pred()
670 || (ps_top_row_pu[0].b2_pred_mode == i4_cmpl_predmode)) in ih264e_mv_pred()
684 || (ps_top_left_mb_pu->b2_pred_mode == i4_cmpl_predmode)) in ih264e_mv_pred()
696 || (ps_top_row_pu[1].b2_pred_mode == i4_cmpl_predmode)) in ih264e_mv_pred()
762 if (!ps_ngbr_avbl->u1_mb_a || (ps_left_mb_pu->b2_pred_mode == i4_cmpl_predmode)) in ih264e_mv_pred_me()
768 if (!ps_ngbr_avbl->u1_mb_b || (s_top_row_pu[0].b2_pred_mode == i4_cmpl_predmode)) in ih264e_mv_pred_me()
[all …]
Dih264e_mc.c174 switch (ps_curr_pu->b2_pred_mode) in ih264e_motion_comp_luma()
338 if (ps_curr_pu->b2_pred_mode != PRED_BI) in ih264e_motion_comp_chroma()
340 ps_curr_mv = &ps_curr_pu->s_me_info[ps_curr_pu->b2_pred_mode].s_mv; in ih264e_motion_comp_chroma()
341 pu1_ref = ps_proc->apu1_ref_buf_chroma[ps_curr_pu->b2_pred_mode]; in ih264e_motion_comp_chroma()
Dih264e_structs.h274 UWORD32 b2_pred_mode : 2; member
Dih264e_process.c783 UWORD32 u4_pred_mode = ps_proc->ps_pu->b2_pred_mode; in ih264e_pack_header_data()
839 UWORD32 u4_pred_mode = ps_proc->ps_pu->b2_pred_mode; in ih264e_pack_header_data()
/external/libhevc/encoder/
Dihevce_enc_loop_inter_mode_sifter.c293 ps_pu->b2_pred_mode = PRED_BI; in ihevce_determine_best_merge_pu()
297 ps_pu->b2_pred_mode = PRED_L0; in ihevce_determine_best_merge_pu()
301 ps_pu->b2_pred_mode = PRED_L1; in ihevce_determine_best_merge_pu()
311 if((PRED_BI == ps_pu->b2_pred_mode) && ((i4_part_wd + i4_part_ht) < 16)) in ihevce_determine_best_merge_pu()
319 &ps_pu->mv, &ps_pu_me->mv, ps_pu->b2_pred_mode, ps_pu_me->b2_pred_mode))) in ihevce_determine_best_merge_pu()
383 u1_best_pred_mode = ps_pu->b2_pred_mode; in ihevce_determine_best_merge_pu()
401 ps_pu->b2_pred_mode = u1_best_pred_mode; in ihevce_determine_best_merge_pu()
2488 ps_inter_cu_mode_info->aps_cu_data[i]->as_inter_pu->b2_pred_mode, in ihevce_redundant_candidate_pruner()
2489 ps_inter_cu_mode_info->aps_cu_data[j]->as_inter_pu->b2_pred_mode)) in ihevce_redundant_candidate_pruner()
2500 ps_inter_cu_mode_info->aps_cu_data[i]->as_inter_pu[1].b2_pred_mode, in ihevce_redundant_candidate_pruner()
[all …]
Dhme_utils.c125 s_pu.b2_pred_mode = PRED_L0; in ihevce_open_loop_pred_data()
141 s_pu.b2_pred_mode = PRED_L1; in ihevce_open_loop_pred_data()
159 s_pu.b2_pred_mode = PRED_BI; in ihevce_open_loop_pred_data()
165 s_pu.b2_pred_mode = PRED_L0; in ihevce_open_loop_pred_data()
169 s_pu.b2_pred_mode = PRED_L1; in ihevce_open_loop_pred_data()
2639 pred_dir = ps_pu_result->pu.b2_pred_mode; in hme_decide_part_types()
3138 ps_curr_pu->pu.b2_pred_mode = PRED_L0; in hme_populate_pus()
3159 ps_curr_pu->pu.b2_pred_mode = PRED_L1; in hme_populate_pus()
3335 ps_curr_pu->pu.b2_pred_mode = PRED_L0; in hme_populate_pus_8x8_cu()
3352 ps_curr_pu->pu.b2_pred_mode = PRED_L1; in hme_populate_pus_8x8_cu()
[all …]
Dihevce_inter_pred.c383 WORD32 inter_pred_idc = ps_pu->b2_pred_mode; in ihevce_luma_inter_pred_pu()
1014 WORD32 inter_pred_idc = ps_pu->b2_pred_mode; in ihevce_chroma_inter_pred_pu()
Dihevce_mv_pred_merge.c251 pred_flag_l0 = (ps_col_mv->b2_pred_mode != PRED_L1); in ihevce_collocated_mvp()
252 pred_flag_l1 = (ps_col_mv->b2_pred_mode != PRED_L0); in ihevce_collocated_mvp()
Dhme_subpel.c650 pred_dir = ps_part_type_result->as_pu_results[j].pu.b2_pred_mode; in hme_compute_pred_and_evaluate_bi()
789 pred_dir = ps_pu_node2[i].pu.b2_pred_mode; in hme_compute_pred_and_evaluate_bi()
1055 (PRED_L0 == ps_pu_node1->pu.b2_pred_mode) in hme_compute_pred_and_evaluate_bi()
1139 if(PRED_L0 == ps_pu_node1->pu.b2_pred_mode) in hme_compute_pred_and_evaluate_bi()
1141 ps_pu_node1->pu.b2_pred_mode = PRED_BI; in hme_compute_pred_and_evaluate_bi()
1143 if(PRED_L0 == ps_pu_node2[best_cand_in_opp_dir_idx].pu.b2_pred_mode) in hme_compute_pred_and_evaluate_bi()
1164 ps_pu_node1->pu.b2_pred_mode = PRED_BI; in hme_compute_pred_and_evaluate_bi()
1166 if(PRED_L0 == ps_pu_node2[best_cand_in_opp_dir_idx].pu.b2_pred_mode) in hme_compute_pred_and_evaluate_bi()
Dhme_refine.c163 ASSERT((ps_pu->b2_pred_mode == PRED_L0) || (ps_pu->b2_pred_mode == PRED_L1)); in ihevce_no_wt_copy()
165 if(ps_pu->b2_pred_mode == PRED_L0) in ihevce_no_wt_copy()
359 ((ps_pu->b2_pred_mode == 2) ? u1_pred_dir : ps_pu->b2_pred_mode)) in hme_add_me_best_as_merge_cands()
437 ((ps_pu->b2_pred_mode == 2) ? u1_pred_dir : ps_pu->b2_pred_mode)) in hme_add_me_best_as_merge_cands()
5499 ai4_pred_mode[j] = (aps_part_result[j]->pu.b2_pred_mode); in hme_analyse_mv_clustering()
5513 ai4_pred_mode[j] = (aps_part_result[j]->pu.b2_pred_mode); in hme_analyse_mv_clustering()
7878 ASSERT(PRED_L0 == ps_pu_results->pu.b2_pred_mode); in hme_refine()
7891 ASSERT(PRED_L1 != ps_pu_results->pu.b2_pred_mode); in hme_refine()
7893 ASSERT(PRED_BI != ps_pu_results->pu.b2_pred_mode); in hme_refine()
Dihevce_enc_loop_utils.c6035 if((PRED_BI == ps_pu->b2_pred_mode) || (PRED_L0 == ps_pu->b2_pred_mode)) in ihevce_inter_rdopt_cu_mc_mvp()
6078 if((PRED_BI == ps_pu->b2_pred_mode) || (PRED_L1 == ps_pu->b2_pred_mode)) in ihevce_inter_rdopt_cu_mc_mvp()
6132 if((PRED_BI == ps_pu->b2_pred_mode) || (PRED_L0 == ps_pu->b2_pred_mode)) in ihevce_inter_rdopt_cu_mc_mvp()
6139 if((PRED_BI == ps_pu->b2_pred_mode) || (PRED_L1 == ps_pu->b2_pred_mode)) in ihevce_inter_rdopt_cu_mc_mvp()
6154 ps_final_prms->as_col_pu_enc_loop[ctr].b2_pred_mode = ps_pu->b2_pred_mode; in ihevce_inter_rdopt_cu_mc_mvp()
10540 ps_nbr_4x4->b1_pred_l0_flag = !(ps_pu->b2_pred_mode & 1); in ihevce_populate_nbr_4x4_with_pu_data()
10541 ps_nbr_4x4->b1_pred_l1_flag = (ps_pu->b2_pred_mode > PRED_L0); in ihevce_populate_nbr_4x4_with_pu_data()
Dihevce_cabac_cu_pu.c881 WORD32 inter_pred_idc = ps_pu->b2_pred_mode; in ihevce_cabac_encode_inter_pu()
914 WORD32 inter_pred_idc = ps_pu->b2_pred_mode; in ihevce_cabac_encode_inter_pu()
Dihevce_enc_structs.h426 UWORD8 b2_pred_mode : 2; member
Dihevce_enc_loop_structs.h84 (ps_pu)->b2_pred_mode = pred_lx; \
/external/libavc/common/
Dih264_structs.h230 UWORD32 b2_pred_mode : 2; member
/external/libhevc/common/
Dihevc_structs.h1285 UWORD32 b2_pred_mode : 2; member