Method and apparatus for entropy encoding/decoding a transform coefficient
AssigneeSamsung Electronics Co., Ltd.
InventorsBae-Keun LEE, Yu-Mi SOHN
Life of this patent
Estimating the term…
Abstract
A method and apparatus for entropy coding and decoding a transformation block are provided. The method of entropy coding a transformation block includes: determining, according to a certain scan order, a location of a last significant transformation coefficient having a non-zero value from among transformation coefficients included in a transformation block having a certain size; and coding information about the determined location of the last significant transformation coefficient by using a horizontal axis direction location of the last significant transformation coefficient and a vertical axis direction location in the transformation block of the last significant transformation coefficient.
Claims1
An apparatus for video decoding comprising at least one processor configured to:
- obtain, from a bitstream, a transformation block information indicating whether at least one significant coefficient exists among transformation coefficients of a transformation block,
- when the transformation block information indicates existence of the at least one significant coefficient, obtain, from a bitstream, an x index indicating an x coordinate of a last significant coefficient, from among transformation coefficients of a transformation block, and a y index indicating a y coordinate of the last significant coefficient,
- determine a scan index of the last significant coefficient based on the x index and the y index,
- obtain, from the bitstream, level information of the last significant coefficient,
- reconstruct the last significant coefficient using the level information of the last significant coefficient,
- obtain, from the bitstream, a significant coefficient flag and level information of a first transformation coefficient which has a smaller scan index than the scan index of the last significant coefficient among the transformation coefficients,
- reconstruct the first transformation coefficient by using the significant coefficient flag and the level information of the first transformation coefficient, and
- perform inverse transformation on the transformation block using transformation coefficients including the last significant coefficient and the first transformation coefficient,
- wherein the significant coefficient flag indicates whether a level of the first transformation coefficient is zero or non-zero, and
- wherein the level information of the first transformation coefficient indicates the level of the first transformation coefficient is greater than 1, when the significant coefficient flag indicates the level of the first transformation coefficient is non-zero.
Dependencies are inferred from the claim text.