Method and device for entropy encoding, decoding video signal
AssigneeLG Electronics Inc.
InventorsMoonmo Koo, Seunghwan Kim
Life of this patent
Estimating the term…
Abstract
The present disclosure provides a method for decoding a video signal, the method comprising the steps of: decoding, from a bitstream, a syntax element indicating the last non-zero region, wherein the last non-zero region represents a region including the last non-zero transform coefficient in a scan order; splitting a current block into multiple sub-regions; and based on the syntax element, determining the last non-zero region of the current block among the split sub-regions.
Claims7
A method for decoding a video signal, comprising:
- checking whether a coding block is divided into plural transform blocks;
- based on that the coding block is divided into the plural transform blocks, determining a limited region within a current transform block among the plural transform blocks based on a width and a height of the current transform block, wherein a last non-zero transform coefficient is positioned in the limited region within the current transform block;
- obtaining first information on a position of the last non-zero transform coefficient within the limited region, wherein the first information on a position of the last non-zero transform coefficient includes prefix information of a horizontal position and prefix information of a vertical position for the last non-zero transform coefficient, and suffix information of a horizontal position and suffix information of a vertical position for the last non-zero transform coefficient;
- and
- decoding the current transform block based on the position of the last non-zero transform coefficient,
- wherein the prefix information of the horizontal position and the prefix information of the vertical position for the last non-zero transform coefficient are inversely binarized based on a truncated unary code, and
- wherein the suffix information of the horizontal position and the suffix information of the vertical position for the last non-zero transform coefficient are inversely binarized based on a fixed length code.
A method for encoding a video signal, comprising:
- dividing a coding block into plural transform blocks;
- based on that the coding block is divided into the plural transform blocks, determining a limited region within a current transform block among the plural transform blocks based on a width and a height of the current transform block, wherein a last non-zero transform coefficient is positioned in the limited region within the current transform block;
- generating first information on a position of the last non-zero transform coefficient within the limited region, wherein the first information on a position of the last non-zero transform coefficient includes prefix information of a horizontal position and prefix information of a vertical position for the last non-zero transform coefficient, and suffix information of a horizontal position and suffix information of a vertical position for the last non-zero transform coefficient;
- and
- encoding the current transform block based on the position of the last non-zero transform coefficient,
- wherein the prefix information of the horizontal position and the prefix information of the vertical position for the last non-zero transform coefficient are binarized based on a truncated unary code, and
- wherein the suffix information of the horizontal position and the suffix information of the vertical position for the last non-zero transform coefficient are binarized based on a fixed length code.
A non-transitory computer-readable medium storing video information generated by performing the steps of:
- dividing a coding block into plural transform blocks;
- based on that the coding block is divided into the plural transform blocks, determining a limited region within a current transform block among the plural transform blocks based on a width and a height of the current transform block that the coding block is divided into plural transform blocks, wherein a last non-zero transform coefficient is positioned in the limited region within the current transform block;
- generating first information on a position of the last non-zero transform coefficient within the limited region, wherein the first information on a position of the last non-zero transform coefficient includes prefix information of a horizontal position and prefix information of a vertical position for the last non-zero transform coefficient, and suffix information of a horizontal position and suffix information of a vertical position for the last non-zero transform coefficient;
- and
- encoding the current transform block based on the position of the last non-zero transform coefficient,
- wherein the prefix information of the horizontal position and the prefix information of the vertical position for the last non-zero transform coefficient are binarized based on a truncated unary code, and
- wherein the suffix information of the horizontal position and the suffix information of the vertical position for the last non-zero transform coefficient are binarized based on a fixed length code.
Dependencies are inferred from the claim text.