Method and apparatus of binarization and context-adaptive coding for syntax in video coding
AssigneeHfi Innovation Inc.
InventorsShih-Ta Hsiang, Tzu-Der Chuang
Life of this patent
Estimating the term…
Abstract
A method performs entropy coding and decoding for source symbols generated in a video coding system. The method receives a palette index map for a current block, and determines a number of consecutive pixels having a same palette index as a current palette index in a scanning order through the current block. The method then converts the number of the consecutive pixels minus one to a bin string using a binarization method, and encodes the bin string using context-adaptive binary arithmetic coding (CABAC) by applying a regular CABAC mode to at least one bin of the bin string according to a context adaptively selected depending on the current palette index.
Claims10
A method of palette index map encoding, the method comprising:
- receiving a palette index map for a current block;
- determining a run value that represents a number of consecutive pixels having a same palette index as a current palette index in a scanning order through the current block;
- converting a coded value that corresponds to the run value minus one to a bin string using a binarization method;
- selecting one of candidate modeling contexts according to the current palette index as a selected modeling context;
- and
- encoding at least one bin of the bin string using context-adaptive binary arithmetic coding (CABAC) according to the selected modeling context.
A method of palette index map decoding, the method comprising:
- receiving an input coded bitstream including compressed data of a current block for a current source symbol corresponding to an index mode;
- determining a current palette index associated with a current run mode for a number of consecutive pixels having a same palette index as the current palette index in a scanning order through the current block;
- selecting one of candidate modeling contexts according to the current palette index as a selected modeling context;
- decoding at least one bin of a bin string using context-adaptive binary arithmetic coding (CABAC) according to the selected modeling context;
- converting the bin string into a coded value using a binarization method, and determining a run value that represents the number of consecutive pixels according to the coded value, the coded value corresponding to the run value minus one;
- and
- reconstructing the number of consecutive pixels according to the run value using the current palette index.
Dependencies are inferred from the claim text.