Lines Matching refs:ctxt_idx
135 WORD32 ctxt_idx;
151 ctxt_idx = IHEVC_CAB_SPLIT_TFM + (5 - log2_trafo_size);
153 TRACE_CABAC_CTXT("split_transform_flag", ps_cabac->u4_range, ctxt_idx);
154 split_transform_flag = ihevcd_cabac_decode_bin(ps_cabac, ps_bitstrm, ctxt_idx);
191 ctxt_idx = IHEVC_CAB_CBCR_IDX + trafo_depth;
195 TRACE_CABAC_CTXT("cbf_cb", ps_cabac->u4_range, ctxt_idx);
196 value = ihevcd_cabac_decode_bin(ps_cabac, ps_bitstrm, ctxt_idx);
203 TRACE_CABAC_CTXT("cbf_cr", ps_cabac->u4_range, ctxt_idx);
204 value = ihevcd_cabac_decode_bin(ps_cabac, ps_bitstrm, ctxt_idx);
254 ctxt_idx = IHEVC_CAB_CBF_LUMA_IDX;
255 ctxt_idx += (trafo_depth == 0) ? 1 : 0;
257 TRACE_CABAC_CTXT("cbf_luma", ps_cabac->u4_range, ctxt_idx);
258 value = ihevcd_cabac_decode_bin(ps_cabac, ps_bitstrm, ctxt_idx);
442 WORD32 ctxt_idx;
446 ctxt_idx = IHEVC_CAB_MVD_GRT0;
448 TRACE_CABAC_CTXT("abs_mvd_greater0_flag[0]", ps_cabac->u4_range, ctxt_idx);
449 abs_mvd_greater0_flag[0] = ihevcd_cabac_decode_bin(ps_cabac, ps_bitstrm, ctxt_idx);
453 TRACE_CABAC_CTXT("abs_mvd_greater0_flag[1]", ps_cabac->u4_range, ctxt_idx);
454 abs_mvd_greater0_flag[1] = ihevcd_cabac_decode_bin(ps_cabac, ps_bitstrm, ctxt_idx);
457 ctxt_idx = IHEVC_CAB_MVD_GRT1;
463 TRACE_CABAC_CTXT("abs_mvd_greater1_flag[0]", ps_cabac->u4_range, ctxt_idx);
464 abs_mvd_greater1_flag[0] = ihevcd_cabac_decode_bin(ps_cabac, ps_bitstrm, ctxt_idx);
469 TRACE_CABAC_CTXT("abs_mvd_greater1_flag[1]", ps_cabac->u4_range, ctxt_idx);
470 abs_mvd_greater1_flag[1] = ihevcd_cabac_decode_bin(ps_cabac, ps_bitstrm, ctxt_idx);
651 WORD32 ctxt_idx;
656 ctxt_idx = IHEVC_CAB_INTER_PRED_IDC + 4;
657 TRACE_CABAC_CTXT("inter_pred_idc", ps_cabac->u4_range, ctxt_idx);
659 ctxt_idx);
666 ctxt_idx = IHEVC_CAB_INTER_PRED_IDC + ps_codec->s_parse.i4_ct_depth;
667 TRACE_CABAC_CTXT("inter_pred_idc", ps_cabac->u4_range, ctxt_idx);
668 is_bipred = ihevcd_cabac_decode_bin(ps_cabac, ps_bitstrm, ctxt_idx);
672 ctxt_idx = IHEVC_CAB_INTER_PRED_IDC + 4;
674 ctxt_idx);
689 WORD32 ctxt_idx;
693 ctxt_idx = IHEVC_CAB_INTER_REF_IDX;
695 TRACE_CABAC_CTXT("ref_idx", ps_cabac->u4_range, ctxt_idx);
696 ref_idx = ihevcd_cabac_decode_bin(ps_cabac, ps_bitstrm, ctxt_idx);
702 ctxt_idx++;
703 value = ihevcd_cabac_decode_bin(ps_cabac, ps_bitstrm, ctxt_idx);
723 ctxt_idx = IHEVC_CAB_MVP_L0L1;
726 ctxt_idx);
738 WORD32 ctxt_idx;
743 ctxt_idx = IHEVC_CAB_INTER_REF_IDX;
744 TRACE_CABAC_CTXT("ref_idx", ps_cabac->u4_range, ctxt_idx);
746 ref_idx = ihevcd_cabac_decode_bin(ps_cabac, ps_bitstrm, ctxt_idx);
752 ctxt_idx++;
753 value = ihevcd_cabac_decode_bin(ps_cabac, ps_bitstrm, ctxt_idx);
782 ctxt_idx = IHEVC_CAB_MVP_L0L1;
785 ctxt_idx);
853 WORD32 ctxt_idx = IHEVC_CAB_MERGE_IDX_EXT;
856 TRACE_CABAC_CTXT("merge_idx", ps_cabac->u4_range, ctxt_idx);
857 bin = ihevcd_cabac_decode_bin(ps_cabac, ps_bitstrm, ctxt_idx);
878 WORD32 ctxt_idx = IHEVC_CAB_MERGE_FLAG_EXT;
879 TRACE_CABAC_CTXT("merge_flag", ps_cabac->u4_range, ctxt_idx);
880 merge_flag = ihevcd_cabac_decode_bin(ps_cabac, ps_bitstrm, ctxt_idx);
890 WORD32 ctxt_idx = IHEVC_CAB_MERGE_IDX_EXT;
892 TRACE_CABAC_CTXT("merge_idx", ps_cabac->u4_range, ctxt_idx);
893 bin = ihevcd_cabac_decode_bin(ps_cabac, ps_bitstrm, ctxt_idx);
925 WORD32 ctxt_idx = IHEVC_CAB_PART_MODE;
931 TRACE_CABAC_CTXT("part_mode", ps_cabac->u4_range, ctxt_idx);
932 bin = ihevcd_cabac_decode_bin(ps_cabac, ps_bitstrm, ctxt_idx++);
936 bin = ihevcd_cabac_decode_bin(ps_cabac, ps_bitstrm, ctxt_idx++);
943 ctxt_idx += 1;
945 bin = ihevcd_cabac_decode_bin(ps_cabac, ps_bitstrm, ctxt_idx);
1719 WORD32 ctxt_idx;
1733 ctxt_idx = IHEVC_CAB_SPLIT_CU_FLAG;
1747 ctxt_idx++;
1764 ctxt_idx++;
1766 TRACE_CABAC_CTXT("split_cu_flag", ps_cabac->u4_range, ctxt_idx);
1767 split_cu_flag = ihevcd_cabac_decode_bin(ps_cabac, ps_bitstrm, ctxt_idx);
1987 WORD32 ctxt_idx;
2004 ctxt_idx = IHEVC_CAB_SAO_MERGE;
2014 TRACE_CABAC_CTXT("sao_merge_flag", ps_cabac->u4_range, ctxt_idx);
2017 ctxt_idx);
2026 TRACE_CABAC_CTXT("sao_merge_flag", ps_cabac->u4_range, ctxt_idx);
2029 ctxt_idx);
2033 ctxt_idx = IHEVC_CAB_SAO_TYPE;
2058 TRACE_CABAC_CTXT("sao_type_idx", ps_cabac->u4_range, ctxt_idx);
2059 sao_type_idx = ihevcd_cabac_decode_bin(ps_cabac, ps_bitstrm, ctxt_idx);
2072 TRACE_CABAC_CTXT("sao_type_idx", ps_cabac->u4_range, ctxt_idx);
2073 sao_type_idx = ihevcd_cabac_decode_bin(ps_cabac, ps_bitstrm, ctxt_idx);