Lines Matching refs:ctxt_inc
334 UWORD32 ctxt_inc = 0; in ihevce_cabac_encode_skip_flag() local
340 ctxt_inc += val; in ihevce_cabac_encode_skip_flag()
347 ctxt_inc += val; in ihevce_cabac_encode_skip_flag()
353 ctxt_inc = ps_entropy_ctxt->i4_num_nbr_skip_cus; in ihevce_cabac_encode_skip_flag()
354 ASSERT(ctxt_inc < 3); in ihevce_cabac_encode_skip_flag()
355 ASSERT((WORD32)ctxt_inc <= (top_avail + left_avail)); in ihevce_cabac_encode_skip_flag()
359 error |= ihevce_cabac_encode_bin(ps_cabac, skip_flag, (IHEVC_CAB_SKIP_FLAG + ctxt_inc)); in ihevce_cabac_encode_skip_flag()
473 WORD32 ctxt_inc = IHEVC_CAB_PART_MODE + i; in ihevce_cabac_encode_part_mode() local
475 error |= ihevce_cabac_encode_bin(ps_cabac, bin, ctxt_inc); in ihevce_cabac_encode_part_mode()
514 WORD32 ctxt_inc = IHEVC_CAB_MERGE_IDX_EXT; in ihevce_cabac_encode_merge_idx() local
523 ret |= ihevce_cabac_encode_bin(ps_cabac, (merge_idx > 0), ctxt_inc); in ihevce_cabac_encode_merge_idx()
569 WORD32 ctxt_inc; in ihevce_cabac_encode_inter_pred_idc() local
579 ctxt_inc = IHEVC_CAB_INTER_PRED_IDC + 4; in ihevce_cabac_encode_inter_pred_idc()
580 ret |= ihevce_cabac_encode_bin(ps_cabac, inter_pred_idc, ctxt_inc); in ihevce_cabac_encode_inter_pred_idc()
587 ctxt_inc = IHEVC_CAB_INTER_PRED_IDC + cu_depth; in ihevce_cabac_encode_inter_pred_idc()
588 ret |= ihevce_cabac_encode_bin(ps_cabac, is_bipred, ctxt_inc); in ihevce_cabac_encode_inter_pred_idc()
592 ctxt_inc = IHEVC_CAB_INTER_PRED_IDC + 4; in ihevce_cabac_encode_inter_pred_idc()
593 ret |= ihevce_cabac_encode_bin(ps_cabac, inter_pred_idc, ctxt_inc); in ihevce_cabac_encode_inter_pred_idc()
631 WORD32 ctxt_inc = IHEVC_CAB_INTER_REF_IDX; in ihevce_cabac_encode_refidx() local
640 ret |= ihevce_cabac_encode_bin(ps_cabac, (ref_idx > 0), ctxt_inc); in ihevce_cabac_encode_refidx()
645 ctxt_inc++; in ihevce_cabac_encode_refidx()
646 ret |= ihevce_cabac_encode_bin(ps_cabac, (ref_idx > 1), ctxt_inc); in ihevce_cabac_encode_refidx()
696 WORD32 ctxt_inc = IHEVC_CAB_MVD_GRT0; in ihevce_cabac_encode_mvd() local
699 ret |= ihevce_cabac_encode_bin(ps_cabac, abs_mvd_x_gt0, ctxt_inc); in ihevce_cabac_encode_mvd()
703 ret |= ihevce_cabac_encode_bin(ps_cabac, abs_mvd_y_gt0, ctxt_inc); in ihevce_cabac_encode_mvd()
706 ctxt_inc = IHEVC_CAB_MVD_GRT1; in ihevce_cabac_encode_mvd()
711 ret |= ihevce_cabac_encode_bin(ps_cabac, abs_mvd_x_gt1, ctxt_inc); in ihevce_cabac_encode_mvd()
718 ret |= ihevce_cabac_encode_bin(ps_cabac, abs_mvd_y_gt1, ctxt_inc); in ihevce_cabac_encode_mvd()
785 WORD32 ctxt_inc; in ihevce_cabac_encode_inter_pu() local
856 ctxt_inc = IHEVC_CAB_MERGE_FLAG_EXT; in ihevce_cabac_encode_inter_pu()
857 ret |= ihevce_cabac_encode_bin(ps_cabac, merge_flag, ctxt_inc); in ihevce_cabac_encode_inter_pu()
961 ctxt_inc = IHEVC_CAB_MVP_L0L1; in ihevce_cabac_encode_inter_pu()
962 ret |= ihevce_cabac_encode_bin(ps_cabac, ps_pu->b1_l0_mvp_idx, ctxt_inc); in ihevce_cabac_encode_inter_pu()
1010 ctxt_inc = IHEVC_CAB_MVP_L0L1; in ihevce_cabac_encode_inter_pu()
1011 ret |= ihevce_cabac_encode_bin(ps_cabac, ps_pu->b1_l1_mvp_idx, ctxt_inc); in ihevce_cabac_encode_inter_pu()
1700 WORD32 ctxt_inc = IHEVC_CAB_SPLIT_CU_FLAG; in ihevce_encode_coding_quadtree() local
1705 ctxt_inc += (pu1_cu_depth_top[x0_frm >> 3] > ct_depth); in ihevce_encode_coding_quadtree()
1710 ctxt_inc += (pu1_cu_depth_left[(y0_frm >> 3) & 0x7] > ct_depth); in ihevce_encode_coding_quadtree()
1716 ret |= ihevce_cabac_encode_bin(ps_cabac, split_cu_flag, ctxt_inc); in ihevce_encode_coding_quadtree()