Research Article

Low-Complexity Hierarchical Mode Decision Algorithms Targeting VLSI Architecture Design for the H.264/AVC Video Encoder

Algorithm 1

Algorithm used to define the partition size.
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)