Method and apparatus for encoding residual block, and method and apparatus for decoding residual block
First Claim
Patent Images
1. An apparatus for video encoding a residual block, the apparatus comprising:
- a predictor which generates a prediction block of a current block;
a subtractor which generates a residual block based on a difference between the prediction block and the current block;
a transformer which generates a transformation residual block by transforming the residual block to a frequency domain;
an entropy encoder which splits the transformation residual block into sub residual blocks, and encodes an effective coefficient flag of the sub residual block indicating whether at least one nonzero effective transformation coefficient exists in a particular sub residual block among the sub residual blocks,wherein, when non-zero transformation coefficient exists in the particular sub residual block, the entropy encoder further encodes location information of the non-zero transformation coefficient and level information of the non-zero coefficient.
1 Assignment
0 Petitions
Accused Products
Abstract
Methods and apparatuses for encoding and decoding a residual block are provided. The method of encoding the residual block includes: generating a prediction block of a current block; generating a residual block based on a difference between the prediction block and the current block; generating a transformation residual block by transforming the residual block to a frequency domain; splitting the transformation residual block into frequency band units; and encoding effective coefficient flags indicating frequency band units, of the frequency band units, in which nonzero effective transformation coefficients exist.
-
Citations
2 Claims
-
1. An apparatus for video encoding a residual block, the apparatus comprising:
-
a predictor which generates a prediction block of a current block; a subtractor which generates a residual block based on a difference between the prediction block and the current block; a transformer which generates a transformation residual block by transforming the residual block to a frequency domain; an entropy encoder which splits the transformation residual block into sub residual blocks, and encodes an effective coefficient flag of the sub residual block indicating whether at least one nonzero effective transformation coefficient exists in a particular sub residual block among the sub residual blocks, wherein, when non-zero transformation coefficient exists in the particular sub residual block, the entropy encoder further encodes location information of the non-zero transformation coefficient and level information of the non-zero coefficient.
-
-
2. A method of video decoding an image, the method comprising:
-
splitting the image into a plurality of maximum coding units; hierarchically splitting a maximum coding unit among the plurality of maximum coding units into a plurality of coding units; determining one or more transform residual blocks from a coding unit of the plurality of coding units, wherein the transformation residual block include sub residual blocks; obtaining an effective coefficient flag of a particular sub residual block among the sub residual blocks from a bitstream, the effective coefficient flag of the particular sub residual block indicating whether at least one nonzero effective transformation coefficient exists in the particular sub residual block; when the effective coefficient flag indicates that the at least one non-zero transformation coefficient exists in the particular sub residual block, obtaining transformation coefficients of the particular sub residual block based on location information of the at least one non-zero transformation coefficient and level information of the at least one non-zero transformation coefficient obtained from the bitstream; and performing inverse-transforming on the transform residual block including the particular sub residual block based on the transformation coefficients included in the transform residual block, wherein the transformation coefficients of the particular sub residual block are a part of the transformation coefficients included in the transform residual block.
-
Specification