If |HB-VB| ≤ 80 Then
 best_INTER_mode = P16×16
Else If HB−VB > 80 Then
 best_INTER_mode = P16×8
 // (macroblock is divided into two 16×8 partitions)
Else If VB−HB > 80 Then
 best_INTER_mode = P8×16
 // (macroblock is divided into two 8×16 partitions)
Algorithm 1: Algorithm used to define the partition size.