PageHEVC InternalsStage03 · EncodeRev2026.11Date2026-11-04

HEVC Under the Hood

HEVC keeps the broad shape of H.264 but loosens the partition and deepens the toolset. The result is a codec that reaches the same distortion at a lower bitrate, at the expense of more compute per frame. This sheet records where the savings come from.

Variable partitions

The fixed macroblock becomes a coding tree unit that splits into a quadtree of blocks, each as large as sixty-four samples or as small as a few. A flat sky becomes one large block; a busy edge becomes many small ones. The encoder searches the split tree and keeps the shape that gives the best rate-distortion trade, which is why HEVC scales to high resolution far better than H.264.

I B B P B B P B I closed group, display order left to right
Figure 1. Reference frames anchor the run; the split tree decides how finely each frame is coded.

Deeper prediction

HEVC adds more intra directions, a merge mode that borrows motion from neighbours, and weighted prediction for fades. Together these cut the residual, and a smaller residual can be quantised harder for the same visible result. Ten-bit reconstruction is common, which removes banding on gradients and is now a default for the high-definition tiers.

Table 1. HEVC tools and what each returns.
ToolGain
split treeAdapts partition to content
merge modeCuts motion coding
weighted predictionHandles fades and blends
ten-bit pathRemoves banding

The compute trade

The split search and the motion tools demand time. On a general processor, HEVC is markedly slower per frame than H.264 at the same setting; on a fixed engine the gap narrows. The desk therefore records the engine with every HEVC timing, because the same setting means different work on different silicon.

Where it pays

From 1080p upward, HEVC usually wins on size at a fixed distortion, which is why it anchors the mid and high rungs of most ladders. The ladder design sheet shows how the rungs are chosen; the accelerator sheet covers the engines that run it at speed.

Comparing HEVC to H.264 on one clip

On a graded clip with fine grain, HEVC usually reaches the same score at a lower size, and the gap widens as resolution rises. On an easy clip, such as a static title card, the two sit close together and the extra compute of HEVC earns little. That is why the desk matches the codec to the rung rather than to a fashion.

Timing an HEVC run

Time an HEVC run only after the first frame has arrived, so a one-off start-up is not folded into the average. Record the engine and the host class beside the figure, because the same setting means far more work on a general processor than on a fixed engine.

Cookies: this site sets no cookies, stores nothing on your device, and keeps no profiles. Cookie notice