Method and apparatus for encoding video, and decoding method and apparatus
First Claim
Patent Images
1. A method for decoding an image, the method comprising:
- decoding base block size information on a size of a base block from a bitstream;
decoding residual presence information of a decoding object unit from the bitstream, the residual presence information indicating whether the decoding object unit has residual signal or not;
when the residual presence information indicates that the decoding object unit has the residual signal, decoding a residual quantization parameter of the decoding object unit from the bitstream;
determining a quantization parameter of the decoding object unit based on the residual quantization parameter of the decoding object unit; and
performing inverse quantization for the decoding object unit based on the quantization parameter,wherein when a size of the decoding object unit is smaller than a size of the base block specified by the base block size information, the quantization parameter of the decoding object unit is same as quantization parameters of all the other decoding units included in the base block together with the decoding object unit.
4 Assignments
0 Petitions
Accused Products
Abstract
The present invention relates to a video encoding method and apparatus for setting and encoding quantization parameters, and to a video decoding method and apparatus for decoding and setting quantization parameters in a video encoding and decoding apparatus which uses blocks having various sizes and depths as encoding and decoding units.
14 Citations
7 Claims
-
1. A method for decoding an image, the method comprising:
-
decoding base block size information on a size of a base block from a bitstream; decoding residual presence information of a decoding object unit from the bitstream, the residual presence information indicating whether the decoding object unit has residual signal or not; when the residual presence information indicates that the decoding object unit has the residual signal, decoding a residual quantization parameter of the decoding object unit from the bitstream; determining a quantization parameter of the decoding object unit based on the residual quantization parameter of the decoding object unit; and performing inverse quantization for the decoding object unit based on the quantization parameter, wherein when a size of the decoding object unit is smaller than a size of the base block specified by the base block size information, the quantization parameter of the decoding object unit is same as quantization parameters of all the other decoding units included in the base block together with the decoding object unit. - View Dependent Claims (2, 3)
-
-
4. A method for encoding an image, the method comprising:
-
determining a size of a base block and encoding base block size information on the size of the base block into a bitstream; determining whether an encoding object unit has residual signal or not and encoding residual presence information of the encoding object unit into the bitstream, the residual presence information indicating whether the encoding object unit has residual signal or not; determining a quantization parameter of the encoding object unit; performing quantization for the encoding object unit based on the quantization parameter; when the residual presence information indicates that the encoding object unit has the residual signal, determining a residual quantization parameter of the encoding object unit based on the quantization parameter and encoding the residual quantization parameter into the bitstream; wherein when a size of the encoding object unit is smaller than a size of the base block specified by the base block size information, the quantization parameter of the encoding object unit is same as quantization parameters of all the other encoding units included in the base block together with the encoding object unit. - View Dependent Claims (5, 6)
-
-
7. A non-transitory computer-readable medium storing a bitstream, wherein the bitstream is generated by a method for encoding an image, the method comprising:
-
determining a size of a base block and encoding base block size information on the size of the base block into a bitstream; determining whether an encoding object unit has residual signal or not and encoding residual presence information of the encoding object unit into the bitstream, the residual presence information indicating whether the encoding object unit has residual signal or not; determining a quantization parameter of the encoding object unit; performing quantization for the encoding object unit based on the quantization parameter; when the residual presence information indicates that the encoding object unit has the residual signal, determining a residual quantization parameter of the encoding object unit based on the quantization parameter and encoding the residual quantization parameter into the bitstream; wherein when a size of the encoding object unit is smaller than a size of the base block specified by the base block size information, the quantization parameter of the encoding object unit is same as quantization parameters of all the other encoding units included in the base block together with the encoding object unit.
-
Specification