24 #ifndef DE265_CONTEXTMODEL_H
25 #define DE265_CONTEXTMODEL_H
106 void init(
int initType,
int QPY);
112 bool empty()
const {
return refcnt != NULL; }
123 void decouple_or_alloc_with_empty_data();
Definition: contextmodel.h:100
context_model_table & operator=(const context_model_table &)
std::string debug_dump() const
bool empty() const
Definition: contextmodel.h:112
context_model_table transfer()
context_model & operator[](int i)
Definition: contextmodel.h:114
context_model_table(const context_model_table &)
void init(int initType, int QPY)
bool operator==(const context_model_table &) const
context_model_table copy() const
Definition: contextmodel.h:110
context_model_index
Definition: contextmodel.h:43
@ CONTEXT_MODEL_RES_SCALE_SIGN_FLAG
Definition: contextmodel.h:88
@ CONTEXT_MODEL_CU_QP_DELTA_ABS
Definition: contextmodel.h:72
@ CONTEXT_MODEL_LOG2_RES_SCALE_ABS_PLUS1
Definition: contextmodel.h:87
@ CONTEXT_MODEL_COEFF_ABS_LEVEL_GREATER2_FLAG
Definition: contextmodel.h:70
@ CONTEXT_MODEL_SAO_MERGE_FLAG
Definition: contextmodel.h:45
@ CONTEXT_MODEL_CBF_LUMA
Definition: contextmodel.h:58
@ CONTEXT_MODEL_CU_CHROMA_QP_OFFSET_FLAG
Definition: contextmodel.h:61
@ CONTEXT_MODEL_SPLIT_TRANSFORM_FLAG
Definition: contextmodel.h:60
@ CONTEXT_MODEL_RDPCM_FLAG
Definition: contextmodel.h:74
@ CONTEXT_MODEL_PART_MODE
Definition: contextmodel.h:53
@ CONTEXT_MODEL_TABLE_LENGTH
Definition: contextmodel.h:89
@ CONTEXT_MODEL_LAST_SIGNIFICANT_COEFFICIENT_Y_PREFIX
Definition: contextmodel.h:66
@ CONTEXT_MODEL_PREV_INTRA_LUMA_PRED_FLAG
Definition: contextmodel.h:54
@ CONTEXT_MODEL_CBF_CHROMA
Definition: contextmodel.h:59
@ CONTEXT_MODEL_COEFF_ABS_LEVEL_GREATER1_FLAG
Definition: contextmodel.h:69
@ CONTEXT_MODEL_CODED_SUB_BLOCK_FLAG
Definition: contextmodel.h:67
@ CONTEXT_MODEL_SAO_TYPE_IDX
Definition: contextmodel.h:46
@ CONTEXT_MODEL_TRANSFORM_SKIP_FLAG
Definition: contextmodel.h:73
@ CONTEXT_MODEL_CU_SKIP_FLAG
Definition: contextmodel.h:50
@ CONTEXT_MODEL_INTRA_CHROMA_PRED_MODE
Definition: contextmodel.h:55
@ CONTEXT_MODEL_RQT_ROOT_CBF
Definition: contextmodel.h:83
@ CONTEXT_MODEL_LAST_SIGNIFICANT_COEFFICIENT_X_PREFIX
Definition: contextmodel.h:65
@ CONTEXT_MODEL_MERGE_FLAG
Definition: contextmodel.h:78
@ CONTEXT_MODEL_MVP_LX_FLAG
Definition: contextmodel.h:82
@ CONTEXT_MODEL_SIGNIFICANT_COEFF_FLAG
Definition: contextmodel.h:68
@ CONTEXT_MODEL_CU_TRANSQUANT_BYPASS_FLAG
Definition: contextmodel.h:86
@ CONTEXT_MODEL_MERGE_IDX
Definition: contextmodel.h:79
@ CONTEXT_MODEL_INTER_PRED_IDC
Definition: contextmodel.h:85
@ CONTEXT_MODEL_SPLIT_CU_FLAG
Definition: contextmodel.h:49
@ CONTEXT_MODEL_REF_IDX_LX
Definition: contextmodel.h:84
@ CONTEXT_MODEL_PRED_MODE_FLAG
Definition: contextmodel.h:80
@ CONTEXT_MODEL_RDPCM_DIR
Definition: contextmodel.h:75
@ CONTEXT_MODEL_CU_CHROMA_QP_OFFSET_IDX
Definition: contextmodel.h:62
@ CONTEXT_MODEL_ABS_MVD_GREATER01_FLAG
Definition: contextmodel.h:81
void initialize_CABAC_models(context_model context_model_table[CONTEXT_MODEL_TABLE_LENGTH], int initType, int QPY)
Definition: contextmodel.h:34
uint8_t state
Definition: contextmodel.h:36
bool operator!=(context_model b) const
Definition: contextmodel.h:39
uint8_t MPSbit
Definition: contextmodel.h:35
bool operator==(context_model b) const
Definition: contextmodel.h:38