Patent ID: 8319672

Claim:
A context-based adaptive binary arithmetic coding (CABAC) decoding device comprising: a bit stream buffer configured to receive and store a bit stream having a specific size; a register bank configured to store a current macro block to be decoded and neighboring macro blocks; a context selector configured to have a context model table that contains context indexes and correlated context model values, to calculate the context index that indicates the context model while referring to information about the current macro block and the neighboring macro blocks stored in the register bank, and to select the context model in the context model table by using the calculated context index; a binary arithmetic decoder configured to receive the bit stream from the bit stream buffer, to receive the selected context model from the context selector, and to perform a binary arithmetic decoding of the received bit stream according to the received context model; and an inverse binarization unit configured to check whether bits outputted from the binary arithmetic decoder are a valid bit string, and if the bit string is valid, to perform an inverse binarization for the bit string and then output a syntax element value.