AV1 Transform Partitioning for 64x64 Blocks

In the AV1 video coding standard, 64x64 blocks represent the maximum supported transform unit size, governed by a flexible transform tree designed to optimize residual data representation. This article explains how AV1 defines, splits, and processes transform partitions within 64x64 blocks, covering recursive partitioning rules, aspect ratios, coefficient zeroing, and kernel restrictions.

Maximum Transform Unit Limits

While AV1 supports superblocks up to 128x128 in size, the maximum allowable transform size is capped at 64x64 (TX_64X64). Consequently, coding blocks larger than 64x64 must automatically be split into transform units of 64x64 or smaller. When a coding block is exactly 64x64, the encoder has the option to treat the entire unit as a single 64x64 transform or to partition it further into smaller sub-blocks.

Recursive Transform Partitioning

AV1 implements a recursive transform tree syntax that allows coding blocks to be divided independently of their inter or intra prediction partitions. For a 64x64 block:

The decision to split is signaled in the bitstream using transform depth flags, which are entropy-coded using context models based on the transform sizes of neighboring blocks.

High-Frequency Coefficient Truncation

Computing full 64-point discrete cosine transforms introduces significant computational complexity and hardware area overhead. To mitigate this, AV1 uses high-frequency coefficient zeroing (truncation) for any transform involving a 64-point dimension:

This truncation reduces implementation cost and memory bandwidth while preserving the low-frequency information that carries the vast majority of visual energy in large homogeneous areas.

Transform Kernel Restrictions

Smaller transform blocks in AV1 can select from a wide variety of transform combinations, including the Discrete Cosine Transform (DCT), Asymmetric Discrete Sine Transform (ADST), Fliped ADST, and Identity transforms. However, for 64x64 blocks and partitions with 64-point dimensions: