Intra-Prediction Modes: VP9 vs HEVC vs AV1 in AVIF

This article examines the technical differences in intra-prediction techniques between VP9, High Efficiency Video Coding (HEVC), and AOMedia Video 1 (AV1)—the codec powering the AVIF still-image format. It details how the progression from VP9's basic spatial tools and HEVC's 35-mode structure to AV1's 56 directional modes, recursive filtering, and cross-channel modeling drives AVIF’s superior still-image compression efficiency.

Overview of Intra-Prediction in Image Formats

Intra-prediction reconstructs image blocks using previously decoded neighboring boundary pixels within the same frame. While VP9 provided foundational intra-coding for WebM and HEVC formed the basis for Apple's HEIC format, AV1’s intra-prediction toolset defines the performance of the AVIF image standard. With each generation, codecs have increased angular granularity, added complex non-directional spatial predictors, and developed cross-plane correlation tools.

Directional Prediction Granularity

The primary differentiator between these codecs is the number and precision of directional (angular) prediction modes used to trace straight edges.

Non-Directional and Complex Spatial Tools

Natural images contain smooth gradients, textures, and diffuse lighting that directional prediction cannot cleanly represent.

Chroma from Luma (CfL) Prediction

A fundamental architectural leap in AV1 compared to both VP9 and HEVC is cross-component spatial prediction.

Block Partitioning Flexibility

Intra-prediction capabilities are constrained by the underlying block sizes permitted for spatial analysis.