US8824552B2

Motion picture encoding device and motion picture encoding processing program

Summary by NHIP

Adaptive Coding Selection

The device selects intra-frame coding when motion compensation error exceeds a threshold derived from flatness and motion vector magnitude. It uses formula [1] where minSAD surpasses the product of constants k and a, the flatness amount, and a function of the motion vector magnitude.

Claim Score by NHIP

Read claim 4, the broadest

Abstract

The minimum Sum of Absolute Differences obtained by a motion vector search roughly judges the magnitude of quantization error by whether or not exceeding a predetermined threshold value. When the quantization error is lower, whether or not visually noticeable noise exists in some of the pixels of the current macroblock is judged based on the amount of flatness and noise detected in each of the 4×4 pixel blocks of the current macroblock partitioned into 16 sub-macroblocks. If there is visually noticeable noise, intra-frame coding is selected. When the quantization error is higher, whether or not visually noticeable noise exists in the current macroblock is judged while considering the magnitude of the motion vector. If there is visually noticeable noise, intra-frame coding is selected.

US8824552B2, drawing sheet 1
Sheet 1 of 16

Term

Term ended

Expired 27 March 2026, 0.5 years ago.

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

9 claims: 3 independent, 6 dependent

  1. 1
    A motion picture encoding device which selects either interframe coding or intra-frame coding to perform video compression, comprising:a motion compensation error detection unit which detects motion compensation error upon interframe prediction;a detection unit which detects flatness of a macroblock image;and an encoding determination unit which compares the motion compensation error with a product acquired by multiplying the flatness of the macroblock image by a coefficient which increases as a magnitude of a motion vector becomes larger, when the motion compensation error detected by the motion compensation error detection unit is greater than a first value during interframe coding by a macroblock image unit, and selects intra-frame coding if the motion compensation error is greater;wherein the encoding determination unit selects intra-frame coding if a formula [1] is satisfied: minSAD>(1+ a×f ( mv ))× k ×Flat  [1] where minSAD is a minimum Sum of Absolute Differences obtained by a motion vector search, coefficient a is constant to adjust a contributive factor of the motion vector, coefficient k is constant, function f (mv) is a magnitude of a current macroblock motion vector, and Flat is an amount of flatness.
  2. 4
    Broadest claimClaim Score 34, narrow(NHIP)A motion picture encoding method which selects either inter-frame coding or intra-frame coding to perform video compression, the method comprising:detecting motion compensation error upon inter-frame prediction;detecting flatness of a macroblock image;and comparing the motion compensation error with a product acquired by multiplying the flatness of the macroblock image by a coefficient which increases as a magnitude of a motion vector becomes larger, when the detected motion compensation error is greater than a first value during inter-frame coding by a macroblock image unit, and selecting intra-frame coding if the motion compensation error is greater;wherein intra-frame coding is selected if a formula [1] is satisfied: minSAD>(1+ a×f ( mv ))× k ×Flat  [1] where minSAD is a minimum Sum of Absolute Differences obtained by a motion vector search, coefficient a is constant to adjust a contributive factor of the motion vector, coefficient k is constant, function f (mv) is a magnitude of a current macroblock motion vector, and Flat is an amount of flatness.
  3. 7
    A non-transitory computer-readable storage medium having a program stored thereon which is executable by a computer controlling a motion picture encoding device which selects either inter-frame coding or intra-frame coding to perform video compression, wherein the program causes the computer to perform functions comprising:detecting motion compensation error upon inter-frame prediction;detecting flatness of a macroblock image;and comparing the motion compensation error with a product acquired by multiplying the flatness of the macroblock image by a coefficient which increases as a magnitude of a motion vector becomes larger, when the detected motion compensation error is greater than a first value during inter-frame coding by a macroblock image unit, and selecting intra-frame coding if the motion compensation error is greater;wherein intra-frame coding is selected if a formula [1] is satisfied: minSAD>(1+ a×f ( mv ))× k ×Flat  [1] where minSAD is a minimum Sum of Absolute Differences obtained by a motion vector search, coefficient a is constant to adjust a contributive factor of the motion vector, coefficient k is constant, function f (mv) is a magnitude of a current macroblock motion vector, and Flat is an amount of flatness.