Home | History | Annotate | Download | only in decoder

Lines Matching refs:ctxt_idx

132     WORD32 ctxt_idx;
148 ctxt_idx = IHEVC_CAB_SPLIT_TFM + (5 - log2_trafo_size);
150 TRACE_CABAC_CTXT("split_transform_flag", ps_cabac->u4_range, ctxt_idx);
151 split_transform_flag = ihevcd_cabac_decode_bin(ps_cabac, ps_bitstrm, ctxt_idx);
188 ctxt_idx = IHEVC_CAB_CBCR_IDX + trafo_depth;
192 TRACE_CABAC_CTXT("cbf_cb", ps_cabac->u4_range, ctxt_idx);
193 value = ihevcd_cabac_decode_bin(ps_cabac, ps_bitstrm, ctxt_idx);
200 TRACE_CABAC_CTXT("cbf_cr", ps_cabac->u4_range, ctxt_idx);
201 value = ihevcd_cabac_decode_bin(ps_cabac, ps_bitstrm, ctxt_idx);
247 ctxt_idx = IHEVC_CAB_CBF_LUMA_IDX;
248 ctxt_idx += (trafo_depth == 0) ? 1 : 0;
250 TRACE_CABAC_CTXT("cbf_luma", ps_cabac->u4_range, ctxt_idx);
251 value = ihevcd_cabac_decode_bin(ps_cabac, ps_bitstrm, ctxt_idx);
429 WORD32 ctxt_idx;
433 ctxt_idx = IHEVC_CAB_MVD_GRT0;
435 TRACE_CABAC_CTXT("abs_mvd_greater0_flag[0]", ps_cabac->u4_range, ctxt_idx);
436 abs_mvd_greater0_flag[0] = ihevcd_cabac_decode_bin(ps_cabac, ps_bitstrm, ctxt_idx);
440 TRACE_CABAC_CTXT("abs_mvd_greater0_flag[1]", ps_cabac->u4_range, ctxt_idx);
441 abs_mvd_greater0_flag[1] = ihevcd_cabac_decode_bin(ps_cabac, ps_bitstrm, ctxt_idx);
444 ctxt_idx = IHEVC_CAB_MVD_GRT1;
450 TRACE_CABAC_CTXT("abs_mvd_greater1_flag[0]", ps_cabac->u4_range, ctxt_idx);
451 abs_mvd_greater1_flag[0] = ihevcd_cabac_decode_bin(ps_cabac, ps_bitstrm, ctxt_idx);
456 TRACE_CABAC_CTXT("abs_mvd_greater1_flag[1]", ps_cabac->u4_range, ctxt_idx);
457 abs_mvd_greater1_flag[1] = ihevcd_cabac_decode_bin(ps_cabac, ps_bitstrm, ctxt_idx);
638 WORD32 ctxt_idx;
643 ctxt_idx = IHEVC_CAB_INTER_PRED_IDC + 4;
644 TRACE_CABAC_CTXT("inter_pred_idc", ps_cabac->u4_range, ctxt_idx);
646 ctxt_idx);
653 ctxt_idx = IHEVC_CAB_INTER_PRED_IDC + ps_codec->s_parse.i4_ct_depth;
654 TRACE_CABAC_CTXT("inter_pred_idc", ps_cabac->u4_range, ctxt_idx);
655 is_bipred = ihevcd_cabac_decode_bin(ps_cabac, ps_bitstrm, ctxt_idx);
659 ctxt_idx = IHEVC_CAB_INTER_PRED_IDC + 4;
661 ctxt_idx);
676 WORD32 ctxt_idx;
680 ctxt_idx = IHEVC_CAB_INTER_REF_IDX;
682 TRACE_CABAC_CTXT("ref_idx", ps_cabac->u4_range, ctxt_idx);
683 ref_idx = ihevcd_cabac_decode_bin(ps_cabac, ps_bitstrm, ctxt_idx);
689 ctxt_idx++;
690 value = ihevcd_cabac_decode_bin(ps_cabac, ps_bitstrm, ctxt_idx);
710 ctxt_idx = IHEVC_CAB_MVP_L0L1;
713 ctxt_idx);
725 WORD32 ctxt_idx;
730 ctxt_idx = IHEVC_CAB_INTER_REF_IDX;
731 TRACE_CABAC_CTXT("ref_idx", ps_cabac->u4_range, ctxt_idx);
733 ref_idx = ihevcd_cabac_decode_bin(ps_cabac, ps_bitstrm, ctxt_idx);
739 ctxt_idx++;
740 value = ihevcd_cabac_decode_bin(ps_cabac, ps_bitstrm, ctxt_idx);
769 ctxt_idx = IHEVC_CAB_MVP_L0L1;
772 ctxt_idx);
840 WORD32 ctxt_idx = IHEVC_CAB_MERGE_IDX_EXT;
843 TRACE_CABAC_CTXT("merge_idx", ps_cabac->u4_range, ctxt_idx);
844 bin = ihevcd_cabac_decode_bin(ps_cabac, ps_bitstrm, ctxt_idx);
865 WORD32 ctxt_idx = IHEVC_CAB_MERGE_FLAG_EXT;
866 TRACE_CABAC_CTXT("merge_flag", ps_cabac->u4_range, ctxt_idx);
867 merge_flag = ihevcd_cabac_decode_bin(ps_cabac, ps_bitstrm, ctxt_idx);
877 WORD32 ctxt_idx = IHEVC_CAB_MERGE_IDX_EXT;
879 TRACE_CABAC_CTXT("merge_idx", ps_cabac->u4_range, ctxt_idx);
880 bin = ihevcd_cabac_decode_bin(ps_cabac, ps_bitstrm, ctxt_idx);
912 WORD32 ctxt_idx = IHEVC_CAB_PART_MODE;
918 TRACE_CABAC_CTXT("part_mode", ps_cabac->u4_range, ctxt_idx);
919 bin = ihevcd_cabac_decode_bin(ps_cabac, ps_bitstrm, ctxt_idx++);
923 ctxt_idx++);
930 ctxt_idx += 1;
932 bin = ihevcd_cabac_decode_bin(ps_cabac, ps_bitstrm, ctxt_idx);
1705 WORD32 ctxt_idx;
1719 ctxt_idx = IHEVC_CAB_SPLIT_CU_FLAG;
1733 ctxt_idx++;
1750 ctxt_idx++;
1752 TRACE_CABAC_CTXT("split_cu_flag", ps_cabac->u4_range, ctxt_idx);
1753 split_cu_flag = ihevcd_cabac_decode_bin(ps_cabac, ps_bitstrm, ctxt_idx);
1962 WORD32 ctxt_idx;
1979 ctxt_idx = IHEVC_CAB_SAO_MERGE;
1989 TRACE_CABAC_CTXT("sao_merge_flag", ps_cabac->u4_range, ctxt_idx);
1992 ctxt_idx);
2001 TRACE_CABAC_CTXT("sao_merge_flag", ps_cabac->u4_range, ctxt_idx);
2004 ctxt_idx);
2008 ctxt_idx = IHEVC_CAB_SAO_TYPE;
2033 TRACE_CABAC_CTXT("sao_type_idx", ps_cabac->u4_range, ctxt_idx);
2034 sao_type_idx = ihevcd_cabac_decode_bin(ps_cabac, ps_bitstrm, ctxt_idx);
2047 TRACE_CABAC_CTXT("sao_type_idx", ps_cabac->u4_range, ctxt_idx);
2048 sao_type_idx = ihevcd_cabac_decode_bin(ps_cabac, ps_bitstrm, ctxt_idx);