• Home
  • Raw
  • Download

Lines Matching refs:GET_CABAC

566 #define GET_CABAC(ctx) get_cabac(&s->HEVClc->cc, &s->HEVClc->cabac_state[ctx])  macro
570 return GET_CABAC(elem_offset[SAO_MERGE_FLAG]); in ff_hevc_sao_merge_flag_decode()
575 if (!GET_CABAC(elem_offset[SAO_TYPE_IDX])) in ff_hevc_sao_type_idx_decode()
622 return GET_CABAC(elem_offset[CU_TRANSQUANT_BYPASS_FLAG]); in ff_hevc_cu_transquant_bypass_flag_decode()
637 return GET_CABAC(elem_offset[SKIP_FLAG] + inc); in ff_hevc_skip_flag_decode()
646 while (prefix_val < 5 && GET_CABAC(elem_offset[CU_QP_DELTA] + inc)) { in ff_hevc_cu_qp_delta_abs()
674 return GET_CABAC(elem_offset[CU_CHROMA_QP_OFFSET_FLAG]); in ff_hevc_cu_chroma_qp_offset_flag()
682 while (i < c_max && GET_CABAC(elem_offset[CU_CHROMA_QP_OFFSET_IDX])) in ff_hevc_cu_chroma_qp_offset_idx()
690 return GET_CABAC(elem_offset[PRED_MODE_FLAG]); in ff_hevc_pred_mode_decode()
709 return GET_CABAC(elem_offset[SPLIT_CODING_UNIT_FLAG] + inc); in ff_hevc_split_coding_unit_flag_decode()
714 if (GET_CABAC(elem_offset[PART_MODE])) // 1 in ff_hevc_part_mode_decode()
719 if (GET_CABAC(elem_offset[PART_MODE] + 1)) // 01 in ff_hevc_part_mode_decode()
723 if (GET_CABAC(elem_offset[PART_MODE] + 2)) // 001 in ff_hevc_part_mode_decode()
729 if (GET_CABAC(elem_offset[PART_MODE] + 1)) // 01 in ff_hevc_part_mode_decode()
734 if (GET_CABAC(elem_offset[PART_MODE] + 1)) { // 01X, 01XX in ff_hevc_part_mode_decode()
735 if (GET_CABAC(elem_offset[PART_MODE] + 3)) // 011 in ff_hevc_part_mode_decode()
742 if (GET_CABAC(elem_offset[PART_MODE] + 3)) // 001 in ff_hevc_part_mode_decode()
756 return GET_CABAC(elem_offset[PREV_INTRA_LUMA_PRED_FLAG]); in ff_hevc_prev_intra_luma_pred_flag_decode()
780 if (!GET_CABAC(elem_offset[INTRA_CHROMA_PRED_MODE])) in ff_hevc_intra_chroma_pred_mode_decode()
790 int i = GET_CABAC(elem_offset[MERGE_IDX]); in ff_hevc_merge_idx_decode()
801 return GET_CABAC(elem_offset[MERGE_FLAG]); in ff_hevc_merge_flag_decode()
807 return GET_CABAC(elem_offset[INTER_PRED_IDC] + 4); in ff_hevc_inter_pred_idc_decode()
808 if (GET_CABAC(elem_offset[INTER_PRED_IDC] + s->HEVClc->ct_depth)) in ff_hevc_inter_pred_idc_decode()
811 return GET_CABAC(elem_offset[INTER_PRED_IDC] + 4); in ff_hevc_inter_pred_idc_decode()
820 while (i < max_ctx && GET_CABAC(elem_offset[REF_IDX_L0] + i)) in ff_hevc_ref_idx_lx_decode()
832 return GET_CABAC(elem_offset[MVP_LX_FLAG]); in ff_hevc_mvp_lx_flag_decode()
837 return GET_CABAC(elem_offset[NO_RESIDUAL_DATA_FLAG]); in ff_hevc_no_residual_syntax_flag_decode()
842 return GET_CABAC(elem_offset[ABS_MVD_GREATER0_FLAG]); in abs_mvd_greater0_flag_decode()
847 return GET_CABAC(elem_offset[ABS_MVD_GREATER1_FLAG] + 1); in abs_mvd_greater1_flag_decode()
875 return GET_CABAC(elem_offset[SPLIT_TRANSFORM_FLAG] + 5 - log2_trafo_size); in ff_hevc_split_transform_flag_decode()
880 return GET_CABAC(elem_offset[CBF_CB_CR] + trafo_depth); in ff_hevc_cbf_cb_cr_decode()
885 return GET_CABAC(elem_offset[CBF_LUMA] + !trafo_depth); in ff_hevc_cbf_luma_decode()
890 return GET_CABAC(elem_offset[TRANSFORM_SKIP_FLAG] + !!c_idx); in hevc_transform_skip_flag_decode()
895 return GET_CABAC(elem_offset[EXPLICIT_RDPCM_FLAG] + !!c_idx); in explicit_rdpcm_flag_decode()
900 return GET_CABAC(elem_offset[EXPLICIT_RDPCM_DIR_FLAG] + !!c_idx); in explicit_rdpcm_dir_flag_decode()
906 while (i < 4 && GET_CABAC(elem_offset[LOG2_RES_SCALE_ABS] + 4 * idx + i)) in ff_hevc_log2_res_scale_abs()
913 return GET_CABAC(elem_offset[RES_SCALE_SIGN_FLAG] + idx); in ff_hevc_res_scale_sign_flag()
931 GET_CABAC(elem_offset[LAST_SIGNIFICANT_COEFF_X_PREFIX] + (i >> ctx_shift) + ctx_offset)) in last_significant_coeff_xy_prefix_decode()
937 GET_CABAC(elem_offset[LAST_SIGNIFICANT_COEFF_Y_PREFIX] + (i >> ctx_shift) + ctx_offset)) in last_significant_coeff_xy_prefix_decode()
960 return GET_CABAC(elem_offset[SIGNIFICANT_COEFF_GROUP_FLAG] + inc); in significant_coeff_group_flag_decode()
966 return GET_CABAC(elem_offset[SIGNIFICANT_COEFF_FLAG] + inc); in significant_coeff_flag_decode()
971 return GET_CABAC(elem_offset[SIGNIFICANT_COEFF_FLAG] + offset); in significant_coeff_flag_decode_0()
980 return GET_CABAC(elem_offset[COEFF_ABS_LEVEL_GREATER1_FLAG] + inc); in coeff_abs_level_greater1_flag_decode()
988 return GET_CABAC(elem_offset[COEFF_ABS_LEVEL_GREATER2_FLAG] + inc); in coeff_abs_level_greater2_flag_decode()