Patent ID: 9706210
Date: 2017-07-11
CPC Classifications: H04N

Claim:
1. A method for video coding, comprising: calculating a first sum of absolute difference (SAD) value between a coding unit (CU) block and a corresponding block in a reference frame for a largest coding unit (LCU); calculating one or more second SAD values of one or more sub-blocks of the CU block and corresponding sub-blocks in the reference frame; defining conditions for branching of the LCU based at least in part on the first SAD value and one or more second SAD values, the conditions comprising a background condition and a homogeneous condition, wherein a CU block satisfies the background condition in response to the first SAD value of the CU block being less than a threshold background value, and wherein a CU block satisfies the homogenous condition in response to a SAD value of a sub-block of the CU block being between upper and lower homogenous threshold values; determining the branching based on detection of the background or homogeneous condition, the branching comprising a first branch that corresponds to both a first CU size of the CU block and a second CU size of a sub-block of the CU block; and setting the first branch to correspond to the first CU size, in response to either the first CU size or the second CU size satisfying the background condition.