EP3107293A1

Video encoding method and apparatus, and video decoding apparatus

Abstract

To allow a finer quantization control according to the property of an image within a macroblock, quantization parameter values are allowed to be changed in units of sub-blocks equal to or smaller than the macroblock in a similar manner as in motion compensation and orthogonal transform processes. A finer-tuned quantization control is performed, for example, by selecting fine and coarse quantization parameters respectively for corresponding sub-blocks if a plurality of images having different properties coexist within the macroblock.

EP3107293A1, drawing sheet 1
Sheet 1 of 26

Term

Projected expiry 20 March 2027.

  1. Priority and filed
  2. Published
  3. Today
  4. Projected expiry

2 claims: 2 independent, 0 dependent

  1. 1
    A video encoding method for dividing each frame of a video into blocks of a predetermined size, and for encoding each of the blocks by combining temporal compression using pixel difference data and motion compensation, an orthogonal transform for transforming spatial information into frequency information, and quantization of an orthogonal transform coefficient, by using a quantization parameter defined corresponding to the blocks of the predetermined size, the video encoding method comprising:further dividing the blocks of the predetermined size into sub-blocks of a size smaller than the predetermined size;deciding a quantization parameter for each of the sub-blocks according to an image property;quantizing the orthogonal transform coefficient with the quantization parameter for each of the sub-blocks;andencoding the decided quantization parameter, whereineach of the sub-blocks for which the quantization parameter is decided has a size equal to or larger than a block size that is a unit of processing in the orthogonal transform,when a plurality of left blocks that are adjacent to an left end of the sub-block to be encoded are present and a plurality of upper blocks that are adjacent to an upper end of the sub-block to be encoded are present as an encoded block of the predetermined size or an encoded sub-block, a difference between an intermediate value between a quantization parameter of further upper block among the left blocks and a quantization parameter of further left block among the upper blocks, and a quantization parameter the sub-block to be encoded is encoded.
  2. 2
    A video encoding apparatus for generating video encoding information by dividing each frame of a video into blocks of a predetermined size and by encoding blocks by using a quantization parameter defined corresponding to the blocks of the predetermined size, the video encoding apparatus comprising:an orthogonal transform unit configured to compress information of image data in a spatial direction;anda quantization unit configured to quantize an orthogonal transform coefficient of the image data that is orthogonal-transformed by the orthogonal transform unit, whereinthe quantization unit divides the blocks of the predetermined size into sub-blocks based on quantization division information for dividing the blocks of the predetermined size into the sub-blocks of a size smaller than the predetermined size, each of which is quantized by using the quantization parameter according to an image property, quantizes the orthogonal transform coefficient by using a quantization parameter decided for each of the sub-blocks, and encodes the decided quantization parameter for each of the sub-blocks,each of the sub-blocks for which the quantization parameter is decided has a size equal to or larger than a block size that is a unit of processing in the orthogonal transform,the quantization unit quantizes a difference of a quantization parameter, which is used to quantize the orthogonal transform coefficient, from a more suitable quantization parameter among quantization parameters of encoded neighboring blocks of the predetermined size or sub-blocks,the more suitable quantization parameter is an intermediate value of the quantization parameters of the encoded neighboring blocks of the predetermined size or sub-blocks,when a plurality of left blocks that are adjacent to an left end of the sub-block to be encoded are present and a plurality of upper blocks that are adjacent to an upper end of the sub-block to be encoded are present as an encoded block of the predetermined size or an encoded sub-block, a difference between an intermediate value between a quantization parameter of further upper block among the left blocks and a quantization parameter of further left block among the upper blocks, and a quantization parameter the sub-block to be encoded is encoded.