EP2242276B1

Method and apparatus for determining encoding mode based on temporal and spatial complexity

Abstract

This record has no abstract on file.

EP2242276B1, drawing sheet 1
Sheet 1 of 7

Term

2.3 yearsleft in the term

Expires 28 January 2029.

  1. Priority
  2. Filed
  3. Granted
  4. Today
  5. Expires

6 claims: 2 independent, 4 dependent

  1. 1
    An encoding mode decision apparatus for determining an encoding mode for a macroblock of an image of a video sequence from a plurality of block modes comprising intra block modes and inter block modes having variable block sizes, the decision apparatus comprising:a temporal complexity calculator (210) to calculate the temporal complexity of a macroblock;a spatial complexity calculator (220) to calculate a vertical complexity of the macroblock by performing vertical filtering of said macroblock, calculate a horizontal complexity by performing horizontal filtering of the macroblock, and calculate the spatial complexity of the macroblock by dividing the sum of the vertical complexity and the horizontal complexity by a quantization width;and a mode decider (230) to determine either the intra block modes or the inter block modes on the basis of the temporal complexity, determine a block mode size on the basis of the spatial complexity, determine a directional feature by comparing the vertical complexity and the horizontal complexity, and elect said encoding mode from either the intra block modes or the inter block modes determined on the basis of the temporal complexity, by using the block mode size and the directional feature, wherein said mode decider (230) is a data processing means for carrying out calculations to generate and store data, wherein the mode decider (230) compares the temporal complexity with a predetermined temporal threshold to see if the temporal complexity exceeds the predetermined temporal threshold and if said predetermined temporal threshold is exceeded, said mode decider (230) determines the encoding mode to be an intra block mode, and if the temporal complexity is less than or equal to the predetermined temporal threshold, said mode decider (230) determines the encoding mode to be an inter block mode;wherein the mode decider (230) compares the spatial complexity with a predetermined spatial threshold to determine the encoding mode to be a small block mode at the comparatively higher spatial complexity or to determine the encoding mode to be a large block mode at the equal or lower spatial complexity;wherein the mode decider (230) compares the vertical complexity with the horizontal complexity of the macroblock to see if the vertical complexity is greater than the horizontal complexity, and if so, the encoding mode is determined to be a vertical block mode, and if the vertical complexity equals the horizontal complexity, the encoding mode is determined to be a non-directional block mode with no directional feature, and if the vertical complexity is less than the horizontal complexity the encoding mode is determined to be a horizontal block mode, and wherein the intra block modes and the inter block modes are classified depending on their respective dimensional and directional features.
  2. 5
    An encoding mode decision method for determining an encoding mode for a macroblock of an image of a video sequence from a plurality of block modes comprising intra block modes and inter block modes having variable block sizes, the method comprising:calculating a temporal complexity of a macroblock;calculating a vertical complexity of said macroblock by performing vertical filtering of said macroblock;calculating a horizontal complexity by performing horizontal filtering of the macroblock;calculating a spatial complexity of said macroblock by dividing the sum of the vertical complexity and the horizontal complexity by a quantization width;determining either the intra block modes or the inter block modes on the basis of the temporal complexity;determining a block mode size on the basis of the spatial complexity;determining a directional feature by comparing the vertical complexity and the horizontal complexity;and electing said encoding mode from either the intra block modes or the inter block modes determined on the basis of the temporal complexity, by using the block mode size and the directional feature, carrying out calculations by a data processing means to generate and store data, wherein the electing of said encoding mode comprises: comparing the temporal complexity with a predetermined temporal threshold to see if the temporal complexity exceeds the predetermined temporal threshold and if said predetermined temporal threshold is exceeded, determining the encoding mode to be an intra block mode, and if the temporal complexity is less than or equal to the predetermined temporal threshold, said determining the encoding mode to be an inter block mode, comparing the spatial complexity with a predetermined spatial threshold to determine the encoding mode to be a small block mode if the spatial complexity is greater than a predetermined spatial threshold;or to determine the encoding mode to be a large block mode if the spatial complexity is less than or equal to the spatial threshold, comparing the vertical complexity with the horizontal complexity of the macroblock to see if the vertical complexity is greater than the horizontal complexity, and if so, determining the encoding mode to be a vertical block and if the vertical complexity is equal to the horizontal complexity, determining the encoding mode to be a non-directional block mode and if the vertical complexity is less than the horizontal complexity, determining the encoding mode to be a horizontal block mode, wherein the intra block modes and the inter block modes are classified depending on their respective dimensional and directional features.