Home
last modified time | relevance | path

Searched refs:PRED_L0 (Results 1 – 25 of 29) sorted by relevance

12

/external/libavc/decoder/
Dih264d_tables.c519 PRED_L0,
520 PRED_L0, PRED_L0, PRED_L0,
522 PRED_L0, PRED_L1, BI_PRED, PRED_L0, PRED_L0, PRED_L1,
524 BI_PRED, BI_PRED, PRED_L0, PRED_L1, BI_PRED,
527 PRED_L0, PRED_L1, };
532 { PRED_L0, PRED_L0, PRED_L0, PRED_INVALID, PRED_INVALID,
534 PRED_L0, PRED_L1, BI_PRED, PRED_L0, PRED_L0, PRED_L1, PRED_L1,
535 PRED_L0,
536 PRED_L0, PRED_L1, PRED_L1, PRED_L0, PRED_L0, PRED_L1, PRED_L1,
541 PRED_L0, PRED_L1, },
[all …]
Dih264d_parse_bslice.c138 pi1_ref_idx[0][uc_i] = ((u1_subMbPredMode & PRED_L0) - 1) >> 1; in ih264d_parse_bmb_non_direct_cavlc()
166 pi1_ref_idx[0][0] = ((u1_mb_pred_mode_part0 & PRED_L0) - 1) >> 1; in ih264d_parse_bmb_non_direct_cavlc()
168 pi1_ref_idx[0][1] = ((u1_mb_pred_mode_part1 & PRED_L0) - 1) >> 1; in ih264d_parse_bmb_non_direct_cavlc()
262 u1_pred_mode = (uc_lx) ? PRED_L1 : PRED_L0; in ih264d_parse_bmb_non_direct_cavlc()
463 (u1_subMbPredModes & PRED_L0) ? u1_dec_ref_l0 : -1; in ih264d_parse_bmb_non_direct_cabac()
499 *pi1_ref_idx_l0++ = (u1_mb_pred_mode_part0 & PRED_L0) ? u1_dec_ref_l0 : -1; in ih264d_parse_bmb_non_direct_cabac()
500 *pi1_ref_idx_l0-- = (u1_mb_pred_mode_part1 & PRED_L0) ? u1_dec_ref_l0 : -1; in ih264d_parse_bmb_non_direct_cabac()
559 u1_pred_mode = (uc_lx) ? PRED_L1 : PRED_L0; in ih264d_parse_bmb_non_direct_cabac()
1059 if( PRED_L0 == u1_pred_mode) in ih264d_mv_pred_ref_tfr_nby2_bmb()
Dih264d_defs.h480 #define PRED_L0 1 macro
Dih264d_process_pslice.c202 … ih264d_fill_pred_info (s_mvPred.i2_mv,4,4,0,PRED_L0,ps_pred_pkd,ps_ref_frame->u1_pic_buf_id, in ih264d_mv_pred_ref_tfr_nby2_pmb()
275 … ih264d_fill_pred_info (s_mvPred.i2_mv,u1_wd,u1_ht,u1_sub_mb_num,PRED_L0,ps_pred_pkd, in ih264d_mv_pred_ref_tfr_nby2_pmb()
Dih264d_process_bslice.c151 i1_pred = PRED_L0; in ih264d_decode_spatial_direct()
854 ih264d_fill_pred_info(i2_mv,u1_mb_partw,u1_mb_parth,u1_sub_mb_num,PRED_L0 | PRED_L1, in ih264d_decode_temporal_direct()
871 ih264d_fill_pred_info(i2_mv,u1_mb_partw,u1_mb_parth,u1_sub_mb_num,PRED_L0 | PRED_L1, in ih264d_decode_temporal_direct()
/external/libavc/encoder/
Dih264e_me.c236 WORD32 i4_cmpl_predmode = (i4_reflist == 0) ? PRED_L1 : PRED_L0; in ih264e_get_search_candidates()
401 mv_t *ps_skip_mv = &ps_proc->ps_skip_mv[PRED_L0].s_mv; in ih264e_find_pskip_params()
411 (ps_left_mb_pu->s_me_info[PRED_L0].i1_ref_idx == -1) && in ih264e_find_pskip_params()
412 (ps_left_mb_pu->s_me_info[PRED_L0].s_mv.i2_mvx == 0) && in ih264e_find_pskip_params()
413 (ps_left_mb_pu->s_me_info[PRED_L0].s_mv.i2_mvy == 0) in ih264e_find_pskip_params()
416 (ps_top_mb_pu->s_me_info[PRED_L0].i1_ref_idx == -1) && in ih264e_find_pskip_params()
417 (ps_top_mb_pu->s_me_info[PRED_L0].s_mv.i2_mvx == 0) && in ih264e_find_pskip_params()
418 (ps_top_mb_pu->s_me_info[PRED_L0].s_mv.i2_mvy == 0) in ih264e_find_pskip_params()
428 ps_skip_mv->i2_mvx = ps_proc->ps_pred_mv[PRED_L0].s_mv.i2_mvx; in ih264e_find_pskip_params()
429 ps_skip_mv->i2_mvy = ps_proc->ps_pred_mv[PRED_L0].s_mv.i2_mvy; in ih264e_find_pskip_params()
[all …]
Dih264e_deblk.c267 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()
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()
314 i16_pMvl0_x = ps_left_pu->s_me_info[PRED_L0].s_mv.i2_mvx; in ih264e_fill_bs_1mv_1ref_non_mbaff()
315 i16_pMvl0_y = ps_left_pu->s_me_info[PRED_L0].s_mv.i2_mvy; in ih264e_fill_bs_1mv_1ref_non_mbaff()
319 i16_qMvl0_x = ps_curr_pu->s_me_info[PRED_L0].s_mv.i2_mvx; in ih264e_fill_bs_1mv_1ref_non_mbaff()
320 i16_qMvl0_y = ps_curr_pu->s_me_info[PRED_L0].s_mv.i2_mvy; in ih264e_fill_bs_1mv_1ref_non_mbaff()
Dih264e_mc.c176 case PRED_L0: in ih264e_motion_comp_luma()
393 pu1_ref_buf[PRED_L0] = ps_proc->apu1_subpel_buffs[0]; in ih264e_motion_comp_chroma()
442 ps_codec->pf_inter_pred_luma_bilinear(pu1_ref_buf[PRED_L0], in ih264e_motion_comp_chroma()
Dih264e_utils.c1970 ps_proc->aps_ref_pic[PRED_L0] = aps_ref_pic[PRED_L0]; in ih264e_pic_init()
1974 ps_proc->aps_mv_buf[PRED_L0] = aps_mv_buf[PRED_L0]; in ih264e_pic_init()
1984 ps_proc->aps_mv_buf[PRED_L0] = ps_mv_buf; in ih264e_pic_init()
1991 ps_proc->apu1_ref_buf_luma_base[PRED_L0] = aps_ref_pic[PRED_L0]->pu1_luma; in ih264e_pic_init()
1992 ps_proc->apu1_ref_buf_chroma_base[PRED_L0] = aps_ref_pic[PRED_L0]->pu1_chroma; in ih264e_pic_init()
Dih264e_process.c863 if (u4_pred_mode != PRED_L0) in ih264e_pack_header_data()
2268 if (ih264e_find_bskip_params(ps_proc, PRED_L0)) in ih264e_process()
2275 if (ih264e_find_pskip_params(ps_proc, PRED_L0)) in ih264e_process()
Dih264e_cavlc.c1761 if (i4_mb_part_pred_mode != PRED_L0)/* || PRED_BI */ in ih264e_write_bslice_mb_cavlc()
Dih264e_cabac_encode.c1567 if (i4_mb_part_pred_mode != PRED_L0)/* || PRED_BI */ in ih264e_cabac_enc_mvds_b16x16()
/external/libhevc/decoder/
Dihevcd_inter_pred.c247 if(ps_pu->b2_pred_mode != PRED_L0) in ihevcd_inter_pred_ctb()
290 if(ps_pu->b2_pred_mode != PRED_L0) in ihevcd_inter_pred_ctb()
337 if(ps_pu->b2_pred_mode != PRED_L0) 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()
588 …dec->s_func_selector.ihevc_weighted_pred_uni_fptr(ps_pu->b2_pred_mode == PRED_L0 ? pi2_tmp1 : pi2_… in ihevcd_inter_pred_ctb()
592 … ps_pu->b2_pred_mode == PRED_L0 ? luma_weight_l0 : luma_weight_l1, in ihevcd_inter_pred_ctb()
593 … ps_pu->b2_pred_mode == PRED_L0 ? luma_offset_l0 : luma_offset_l1, in ihevcd_inter_pred_ctb()
606 …func_selector.ihevc_weighted_pred_chroma_uni_fptr(ps_pu->b2_pred_mode == PRED_L0 ? pi2_tmp1 : pi2_… in ihevcd_inter_pred_ctb()
610 … ps_pu->b2_pred_mode == PRED_L0 ? chroma_weight_l0_cr : chroma_weight_l1_cr, in ihevcd_inter_pred_ctb()
[all …]
Dihevcd_mv_pred.c239 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()
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()
472 if(PRED_L0 != ps_pu->b2_pred_mode) in ihevcd_mv_pred()
482 l1_done_flag = (PRED_L0 == ps_pu->b2_pred_mode); in ihevcd_mv_pred()
579 if(PRED_L0 != ps_pu->b2_pred_mode) in ihevcd_mv_pred()
633 if(PRED_L0 != ps_pu->b2_pred_mode) in ihevcd_mv_pred()
Dihevcd_mv_merge.c118 if(pred_mode_1 != PRED_L0) in ihevcd_compare_pu_t()
130 else if(pred_mode_1 == PRED_L0) in ihevcd_compare_pu_t()
229 pred_flag_l1 = (ps_col_pu->b2_pred_mode != PRED_L0); in ihevcd_collocated_mvp()
811 …rge_list[candidate_cnt].b2_pred_mode = avail_col_l0 ? (avail_col_l1 ? PRED_BI : PRED_L0) : PRED_L1; in ihevcd_mv_merge()
852 != PRED_L0)) in ihevcd_mv_merge()
916 ps_pu[0].b2_pred_mode = PRED_L0; in ihevcd_mv_merge()
Dihevcd_get_mv.c361 pred_flag_l1 = (ps_pu->b2_pred_mode != PRED_L0); in ihevcd_get_mv_ctb()
422 ps_pu->b2_pred_mode = PRED_L0; in ihevcd_get_mv_ctb()
Dihevcd_boundary_strength.c167 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()
/external/libhevc/encoder/
Dihevce_inter_pred.c432 if(inter_pred_idc != PRED_L0) in ihevce_luma_inter_pred_pu()
441 else if(inter_pred_idc == PRED_L0) in ihevce_luma_inter_pred_pu()
567 if(inter_pred_idc != PRED_L0) in ihevce_luma_inter_pred_pu()
688 if(inter_pred_idc == PRED_L0) in ihevce_luma_inter_pred_pu()
1060 if(inter_pred_idc != PRED_L0) in ihevce_chroma_inter_pred_pu()
1069 else if(inter_pred_idc == PRED_L0) in ihevce_chroma_inter_pred_pu()
1152 if(inter_pred_idc != PRED_L0) in ihevce_chroma_inter_pred_pu()
1230 if(inter_pred_idc == PRED_L0) in ihevce_chroma_inter_pred_pu()
Dihevce_cabac_cu_pu.c577 ASSERT((inter_pred_idc == PRED_L0) || (inter_pred_idc == PRED_L1)); in ihevce_cabac_encode_inter_pred_idc()
890 if(inter_pred_idc == PRED_L0) in ihevce_cabac_encode_inter_pu()
905 if(inter_pred_idc != PRED_L0) in ihevce_cabac_encode_inter_pu()
968 if(inter_pred_idc != PRED_L0) in ihevce_cabac_encode_inter_pu()
Dhme_subpel.c654 if(PRED_L0 == pred_dir) in hme_compute_pred_and_evaluate_bi()
663 ps_pu_result = ps_pu_results->aps_pu_results[PRED_L0][e_part_id]; in hme_compute_pred_and_evaluate_bi()
732 if(PRED_L0 == pred_dir) in hme_compute_pred_and_evaluate_bi()
791 if(PRED_L0 == pred_dir) 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()
1143 if(PRED_L0 == ps_pu_node2[best_cand_in_opp_dir_idx].pu.b2_pred_mode) 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_utils.c125 s_pu.b2_pred_mode = PRED_L0; in ihevce_open_loop_pred_data()
165 s_pu.b2_pred_mode = PRED_L0; in ihevce_open_loop_pred_data()
2641 if(PRED_L0 == pred_dir) in hme_decide_part_types()
2644 ps_inter_ctb_prms->apu1_wt_inp[PRED_L0][ps_pu_result->pu.mv.i1_l0_ref_idx] + in hme_decide_part_types()
3138 ps_curr_pu->pu.b2_pred_mode = PRED_L0; in hme_populate_pus()
3335 ps_curr_pu->pu.b2_pred_mode = PRED_L0; in hme_populate_pus_8x8_cu()
Dihevce_common_utils.c518 i4_pred_l1 = (i4_pred_mode_1 != PRED_L0); in ihevce_compare_pu_mv_t()
Dihevce_mv_pred_merge.c252 pred_flag_l1 = (ps_col_mv->b2_pred_mode != PRED_L0); in ihevce_collocated_mvp()
/external/libhevc/common/
Dihevc_defs.h170 PRED_L0 = 0, enumerator
/external/libavc/common/
Dih264_defs.h283 PRED_L0 = 0, enumerator

12