Patent ID: 11902592
Assignee: LG ELECTRONICS INC.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H | IPC H

Claim 3:
4. 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.