Patent ID: 7961787

Claim:
A method of video content complexity estimation for calculating complexity of a P-frame, wherein the method of the video content complexity estimation comprises: calculating, in a system on chip, diff i , wherein diff i represents an absolute difference between a current frame and a reference frame, and i is an integer calculating mean ⁡ ( R ) = 1 NM ⁢ ∑ i ∈ R ⁢ diff i , wherein R represents N×M pixel region, mean(R) represents a mean value of the pixel region R; calculating deviation ⁡ ( R ) = ∑ i ∈ R ⁢ abs ⁡ ( diff i - mean ⁡ ( R ) ) , wherein deviation(R) represents a deviation value of the pixel region R, abs( ) represents a absolute value; calculating X = ∑ R ∈ frame ⁢ mean ⁡ ( R ) · deviation ⁡ ( R ) , wherein X represents a complexity estimation of a target frame; calculating Ĉ target =a·X/b, wherein Ĉ target represents an adjusted complexity of the target frame, a is integer and b is power of 2; and calculating a=b·SAD target /X after each frame is encoded, wherein SAD target represents a true motion compensated sum of absolute difference value for the target frame.