CA2840481C

Method and apparatus for coding video and method and apparatus for decoding video accompanied with arithmetic coding

Abstract

A method of decoding a video through symbol decoding, the method including parsing symbols of image blocks from a received bitstream; classifying a current symbol into a prefix bit string and a suffix bit string based on a threshold value determined according to a size of a current block; performing arithmetic decoding by using an arithmetic decoding method determined for each of the prefix bit string and the suffix bit string; and performing inverse binarization by using a binarization method determined for each of the prefix bit string and the suffix bit string.

CA2840481C, drawing sheet 1
Sheet 1 of 17

Term

5.8 yearsleft in the term

Expires 27 June 2032.

  1. Priority and filed
  2. Granted
  3. Today
  4. Expires

2 claims: 2 independent, 0 dependent

  1. 1
    CA 02840481 2016-12-14 CLAIMS:1. A method for decoding a video, the method comprising: splitting an image into a plurality of maximum coding blocks;hierarchically splitting one of the maximum coding blocks into at least one coding block by using coding block split information parsed from a bitstream;determining at least one transformation block hierarchically split from a current coding block by using transformation block split information parsed from the bitstream;obtaining a prefix bitstring of a last coefficient location among information about the last coefficient location of a current transformation block by performing context-based arithmetic decoding on the bitstream;when the prefix bitstring is greater than a predetermined value, obtaining, from the bitstream a suffix bitstring according to a bypass mode;performing inverse binarization on the prefix bitstring according to a truncated binarization scheme to obtain an inverse-binarized prefix;performing inverse binarization on the suffix bitstring according to a fixedlength binarization scheme to obtain an inverse-binarized suffix;and reconstructing a symbol indicating the last coefficient location of the current transformation block by using the inverse-binarized prefix and the inverse-binarized suffix, wherein the context-based arithmetic decoding is performed by using a context-index determined based on a size of the current transformation block.
  2. 2
    An apparatus for decoding a video, the apparatus comprising:a decoder which is configured to split an image into a plurality of maximum coding blocks hierarchically split one of the maximum coding blocks into at least one coding block by using coding block split information parsed from a bitstream, determining at least one transformation block hierarchically split from a current coding block by using transformation block split information parsed from the bitstream, obtain a prefix bitstring of a last coefficient location among information about the last coefficient location of a current transformation block by performing context-based arithmetic decoding on the bitstream, when the prefix bitstring is greater than a predetermined value, obtain, from the bitstream, a suffix bitstring according to a bypass mode, CA 02840481 2016-12-14 perform inverse binarization on the prefix bitstring according to a truncated binarization scheme to obtain an inverse-binarized prefix, perform inverse binarization on the suffix bitstring according to a fixedlength binarization scheme to obtain an inverse-binarized suffix, and reconstruct a symbol indicating the last coefficient location of the current transformation block by using the inverse-binarized prefix and the inversebinarized suffice, wherein the context-based arithmetic decoding is performed by using a context index determined based on a size of the current transformation block.