Lines Matching refs:elem_offset
90 static const int elem_offset[sizeof(num_bins_in_se)] = {
602 return GET_CABAC(elem_offset[SAO_MERGE_FLAG]);
607 if (!GET_CABAC(elem_offset[SAO_TYPE_IDX]))
654 return GET_CABAC(elem_offset[CU_TRANSQUANT_BYPASS_FLAG]);
669 return GET_CABAC(elem_offset[SKIP_FLAG] + inc);
678 while (prefix_val < 5 && GET_CABAC(elem_offset[CU_QP_DELTA] + inc)) {
704 return GET_CABAC(elem_offset[CU_CHROMA_QP_OFFSET_FLAG]);
712 while (i < c_max && GET_CABAC(elem_offset[CU_CHROMA_QP_OFFSET_IDX]))
720 return GET_CABAC(elem_offset[PRED_MODE_FLAG]);
739 return GET_CABAC(elem_offset[SPLIT_CODING_UNIT_FLAG] + inc);
744 if (GET_CABAC(elem_offset[PART_MODE])) // 1
749 if (GET_CABAC(elem_offset[PART_MODE] + 1)) // 01
753 if (GET_CABAC(elem_offset[PART_MODE] + 2)) // 001
759 if (GET_CABAC(elem_offset[PART_MODE] + 1)) // 01
764 if (GET_CABAC(elem_offset[PART_MODE] + 1)) { // 01X, 01XX
765 if (GET_CABAC(elem_offset[PART_MODE] + 3)) // 011
772 if (GET_CABAC(elem_offset[PART_MODE] + 3)) // 001
786 return GET_CABAC(elem_offset[PREV_INTRA_LUMA_PRED_FLAG]);
810 if (!GET_CABAC(elem_offset[INTRA_CHROMA_PRED_MODE]))
820 int i = GET_CABAC(elem_offset[MERGE_IDX]);
831 return GET_CABAC(elem_offset[MERGE_FLAG]);
837 return GET_CABAC(elem_offset[INTER_PRED_IDC] + 4);
838 if (GET_CABAC(elem_offset[INTER_PRED_IDC] + s->HEVClc->ct.depth))
841 return GET_CABAC(elem_offset[INTER_PRED_IDC] + 4);
850 while (i < max_ctx && GET_CABAC(elem_offset[REF_IDX_L0] + i))
862 return GET_CABAC(elem_offset[MVP_LX_FLAG]);
867 return GET_CABAC(elem_offset[NO_RESIDUAL_DATA_FLAG]);
872 return GET_CABAC(elem_offset[ABS_MVD_GREATER0_FLAG]);
877 return GET_CABAC(elem_offset[ABS_MVD_GREATER1_FLAG] + 1);
903 return GET_CABAC(elem_offset[SPLIT_TRANSFORM_FLAG] + 5 - log2_trafo_size);
908 return GET_CABAC(elem_offset[CBF_CB_CR] + trafo_depth);
913 return GET_CABAC(elem_offset[CBF_LUMA] + !trafo_depth);
918 return GET_CABAC(elem_offset[TRANSFORM_SKIP_FLAG] + !!c_idx);
923 return GET_CABAC(elem_offset[EXPLICIT_RDPCM_FLAG] + !!c_idx);
928 return GET_CABAC(elem_offset[EXPLICIT_RDPCM_DIR_FLAG] + !!c_idx);
934 while (i < 4 && GET_CABAC(elem_offset[LOG2_RES_SCALE_ABS] + 4 * idx + i))
941 return GET_CABAC(elem_offset[RES_SCALE_SIGN_FLAG] + idx);
959 GET_CABAC(elem_offset[LAST_SIGNIFICANT_COEFF_X_PREFIX] + (i >> ctx_shift) + ctx_offset))
965 GET_CABAC(elem_offset[LAST_SIGNIFICANT_COEFF_Y_PREFIX] + (i >> ctx_shift) + ctx_offset))
988 return GET_CABAC(elem_offset[SIGNIFICANT_COEFF_GROUP_FLAG] + inc);
994 return GET_CABAC(elem_offset[SIGNIFICANT_COEFF_FLAG] + inc);
999 return GET_CABAC(elem_offset[SIGNIFICANT_COEFF_FLAG] + offset);
1008 return GET_CABAC(elem_offset[COEFF_ABS_LEVEL_GREATER1_FLAG] + inc);
1016 return GET_CABAC(elem_offset[COEFF_ABS_LEVEL_GREATER2_FLAG] + inc);