Video encoding and decoding using differential modulation
AssigneesHyundai Motor Company, Kia Corporation, Ewha University-Industry Collaboration Foundation
InventorsJe Won Kang, Seung Wook Park, Wha Pyeong Lim
Life of this patent
Estimating the term…
Abstract
Disclosed is a video encoding and decoding technology using a differential modulation technique for a residual signal in order to enhance compression performance in a transform skip mode. The differential modulation technique is applicable to both luma and chroma components as long as the chroma format is not monochrome (i.e. as long as chroma_format_idc=0 is not true).
Claims20
A method for decoding a bitstream encoded from a video sequence comprising a plurality of pictures, the method comprising:
- decoding, from a sequence parameter set of the bitstream, information on a chroma sampling format and high level syntax elements related to differential modulation for residual signals, wherein the high level syntax elements comprise a control flag indicating whether the differential modulation is permitted for the residual signals of the video sequence and information on a maximum block size for which the differential modulation is permitted;
- decoding a first chroma syntax element indicating whether the differential modulation has been applied to a chroma block corresponding to a first block to be currently decoded, when the first block satisfies conditions defined by the information on the chroma sampling format and the high level syntax elements;
- decoding a second chroma syntax element indicating a differential modulation direction applied to the chroma block in response to the first chroma syntax element indicating that the differential modulation has been applied to the chroma block;
- determining a differential-modulated residual block for the chroma block from the bitstream;
- determining quantized residual values by differential-demodulating the differential-modulated residual block in the differential modulation direction indicated by the second chroma syntax element;
- inversely quantizing the quantized residual values for the chroma block;
- generating predicted values for the chroma block;
- and
- reconstructing the chroma block corresponding to the first block based on the inversely quantized residual values and the predicted values,
- wherein the conditions defined by the information on the chroma sampling format and the high level syntax elements are satisfied when
- (1) the control flag indicates that the differential modulation is permitted for the video sequence,
- (2) a value obtained by dividing a width of the first block by a horizontal scaling factor determined by the chroma sampling format is smaller than or equal to the maximum block size, and
- (3) a value obtained by dividing a height of the first block by a vertical scaling factor determined by the chroma sampling format is smaller than or equal to the maximum block size.
An apparatus for decoding a video sequence composed of a plurality of pictures, the apparatus comprises:
- means for decoding, from a sequence parameter set of the bitstream, information on a chroma sampling format and high level syntax elements related to differential modulation for residual signals, wherein the high level syntax elements comprise a control flag indicating whether the differential modulation is permitted for the residual signals of the video sequence and information on a maximum block size for which the differential modulation is permitted;
- means for decoding a first chroma syntax element indicating whether the differential modulation has been applied to a chroma block corresponding to a first block, when the first block to be currently decoded satisfies conditions defined by the information on the chroma sampling format and the high level syntax elements;
- means for decoding a second chroma syntax element indicating a differential modulation direction applied to the chroma block in response to the first chroma syntax element indicating that the differential modulation has been applied to the chroma block;
- means for determining a differential-modulated residual block for the chroma block from the bitstream;
- means for determining quantized residual values by differential-demodulating the differential-modulated residual block in the differential modulation direction indicated by the second chroma syntax element;
- means for inversely quantizing the quantized residual values for the chroma block;
- means for generating predicted values for the chroma block;
- and
- means for reconstructing the chroma block corresponding to the first block based on the inversely quantized residual values and the predicted values,
- wherein the conditions defined by the information on the chroma sampling format and the high level syntax elements are satisfied when
- (1) the control flag indicates that the differential modulation is permitted for the video sequence,
- (2) a value obtained by dividing a width of the first block by a horizontal scaling factor determined by the chroma sampling format is smaller than or equal to the maximum block size, and
- (3) a value obtained by dividing a height of the first block by a vertical scaling factor determined by the chroma sampling format is smaller than or equal to the maximum block size.
A method for encoding a video sequence comprising_a plurality of pictures, the method comprising:
- encoding, in a sequence parameter set of a bitstream, information on a chroma sampling format and high level syntax elements related to differential modulation for residual signals, wherein the high level syntax elements comprise a control flag indicating whether the differential modulation is permitted for the residual signals of the video sequence and information on a maximum block size for which the differential modulation is permitted;
- encoding a first chroma syntax element indicating whether the differential modulation has been applied to a chroma block corresponding to a first block, when the first block to be currently decoded satisfies conditions defined by the information on the chroma sampling format and the high level syntax elements;
- encoding a second chroma syntax element indicating a differential modulation direction applied to the chroma block in response to the first chroma syntax element indicating that the differential modulation has been applied to the chroma block;
- generating predicted values for the chroma block;
- determining a residual block for the chroma block based on original sample values and the predicted values of the chroma block;
- generating quantized residual values by quantizing the residual block for the chroma block;
- determining differential-modulated residual values by differential-modulating the quantized residual values in the differential modulation direction indicated by the second chroma syntax element;
- and
- encoding the differential-modulated residual values in the bitstream, wherein the conditions defined by the information on the chroma sampling format and the high level syntax elements are satisfied when
- (1) the control flag indicates that the differential modulation is permitted for the video sequence,
- (2) a value obtained by dividing a width of the first block by a horizontal scaling factor determined by the chroma sampling format is smaller than or equal to the maximum block size, and
- (3) a value obtained by dividing a height of the first block by a vertical scaling factor determined by the chroma sampling format is smaller than or equal to the maximum block size.
Dependencies are inferred from the claim text.