AV1 Intra Prediction Angle Delta Modulation Explained
This article provides an overview of angle delta modulation in the AV1 video codec, explaining its mechanics, core purpose, and benefits. In AV1 intra coding, angle delta modulation enables fine-grained directional prediction by adding small angular offsets to base directional modes. By allowing subtle angle adjustments without the high signaling cost of dozens of distinct modes, it significantly minimizes prediction residuals and enhances overall compression efficiency.
Directional Prediction in Video Coding
Intra prediction predicts the pixels of a target block using reconstructed boundary pixels from adjacent blocks. Standard directional intra modes project pixel values along predefined linear trajectories. Previous codecs, such as VP9, relied on a small set of fixed directional angles, which often led to slight misalignments when textures or edges did not conform precisely to those predetermined angles.
What is Angle Delta Modulation?
AV1 expands upon fixed directional prediction by introducing a two-tier approach. The codec establishes eight primary "nominal" directional modes (representing major orientations such as horizontal, vertical, and diagonal vectors).
Angle delta modulation allows the encoder to apply a small directional offset, or delta, to these nominal modes. These deltas range typically from -3 to +3 in increments of approximately 3 degrees. By pairing a nominal mode with a delta value, AV1 expands the standard directional set into 56 distinct directional angles.
Primary Purposes of Angle Delta Modulation
- Higher Angular Precision: Real-world video content contains arbitrary textures, edges, and gradients that rarely align perfectly with coarse, standard directional angles. Angle deltas allow the predictor to match complex image contours far more accurately.
- Minimized Residual Energy: When a directional prediction aligns accurately with an edge, the difference between the actual block and the predicted block (the residual) is minimized. Smaller residuals require fewer bits to encode during transform and quantization stages, directly boosting compression efficiency.
- Efficient Signaling: Transmitting an arbitrary angle among 56 choices directly for every block would incur significant signaling overhead. Angle delta modulation resolves this by using a hierarchical signaling mechanism: the bitstream first transmits the base nominal mode, followed by a compact delta value only when directional prediction is selected and refined.
- Adaptive Encoder Optimization: The encoder can evaluate whether the base nominal angle is sufficient or if a delta refinement yields enough rate-distortion improvement to justify the minor syntax overhead of signaling the offset.