encoding.info
You are hereSourcePredictionTransformEntropy codingFiltersFramesDecisionsRate controlPerceptionQualityBitstreamSettingsEncoder map
Page 1 of 3 in Codec by codec

From H.264 to High Efficiency Video Coding, AV1 and Versatile Video Coding

Codec by codec · concept · added 2026-11-15

In Brief:
H.264, High Efficiency Video Coding, AV1 and Versatile Video Coding share one loop: predict, code the residual, reconstruct. Their block sizes, prediction choices and filters differ. More choices give an encoder more to manage, and the largest limits alone cannot rank the formats.

H.264, High Efficiency Video Coding (HEVC), AV1 and Versatile Video Coding (VVC) are four formats that share a basic design: predict a block, transform and quantize the residual, entropy code the result, filter the reconstruction. This page compares selected block sizes, prediction choices and filters within that shared design, using the limits one encoder for each format defines in its own source.

Compare the building blocks

Choose a format. The three drawings show the same 128×128-pixel area: how the format's largest unit divides it, the largest square transform the format allows, and a count of the directions intra prediction can take. The largest unit is the macroblock, coding tree unit or superblock that organizes a region; the drawing is not a partitioning an encoder chose. The frame size changes only the counts of units, which are grid counts.

Block
Transform
Directions
ComparedIn the format, as defines it
Largest block
Largest transform
Selected luma intra modes
Entropy coder
In-loop filters
Stream unit
Units at maximum size
16×16 reference grid
Largest transform area / 8×8
Simplified demo: nothing is encoded. Every value is a constant or an option read in one encoder's source for that format: x264, x265, libaom and VVenC. An encoder may use less than its format allows, and the specifications themselves were not read. The mode counts are the families named, not every intra tool and not the number of candidates an encoder searches. The directions are spread evenly for the drawing; the real angles are not even. Unit counts round a partial unit at the frame's edge up to a whole one. They and the transform's area are geometry: they count no decisions, coefficients or time.

For a 1920×1080 frame:

What stayed the same

The stages of the hybrid loop remain recognizable in all four: prediction, residual coding, reconstruction filtering. Their rules differ. H.264 organizes a frame into fixed 16×16 macroblocks with a set of allowed partitions; the newer formats use larger units and their own partition structures, as Block partitioning shows for H.264 and HEVC. Knowing the shared loop helps you find where a tool sits. It does not make the tool's exact operation the same from one format to the next. The table compares coding tools and, in its last row, stream packaging, the subject of Bitstream structure.

What more choices cost

Sources

Read 2026-11-15, at the commits linked. The angle-step rule, the further intra modes and VVenC's entropy coder were read 2026-11-16.