Ch. 9 · Special-Purpose Codecs

한국어日本語
6 min

Screen Content Coding (SCC) Explained: Palette Mode, IBC and Sharp Text

Screen sharing, game UI and remote desktop look nothing like camera video. Learn how palette mode, Intra Block Copy, ACT and transform skip handle them.

In Chapter 1 (c01l04) you learned that "4:2:0 is a disadvantage for text and UI." Chroma subsampling is not the only problem. Screen content (screen sharing, game UI, remote desktop) does not follow the "statistics of natural video" that the prediction and transform tools from Chapter 3 assume in the first place.

Natural video (photos, live action)Screen content (UI, text)
Pixel changesSmooth gradientsSharp edges, flat color regions
Number of colorsMillions of continuous colorsA limited palette (tens to hundreds of colors)
Repeating patternsRareVery common (the same icons, repeated backgrounds)
Fit for DCTVery good (the Laplacian distribution from Chapter 2)Poor (ringing at edges)

SCC-specific tools

  • IBC (Intra Block Copy) — a tool mentioned in Chapter 8. It references another location in the same frame by copying it directly. Very effective for repeating icons and text patterns.
  • Palette Mode — when a block uses only a few colors, it is represented not with DCT but with "a color palette plus a map of which color each pixel uses." The HEVC SCC extension, VVC, and AV1 all support it.
  • Adaptive Color Transform (ACT) — selectively codes in RGB, only for screen-content blocks where coding directly in RGB is better than YCbCr.
  • Transform skip mode — a perfectly flat region skips the DCT entirely and signals the values as they are.
Source block (only 3-4 colors) Palette + index map Color 1 Color 2 Color 3 A small index map covers the block
Palette mode: a color palette plus an index map instead of DCT
In practice — the industries that actually use this technology

Cloud gaming (NVIDIA GeForce NOW, Xbox Cloud Gaming), remote desktop (TeamViewer, Chrome Remote Desktop), and video-conference screen sharing: whole industries lean heavily on SCC tools. As you learned in Chapter 1, this kind of content needs 4:4:4 together with SCC tools to keep text from smearing. It is also worth noting that AV1 and VVC were designed with SCC in mind from the start, a clear difference from the early codecs of Chapters 5-7, which centered on natural video.

SCCScreen Content Coding

Screen Content Coding. A set of dedicated coding tools for artificial screen imagery such as text and UI.

Palette modePalette mode

An SCC tool that replaces DCT by representing a limited set of colors with an index map.

Transform skipTransform skip

A mode that skips the DCT transform itself in flat-color regions.

IBC (Intra Block Copy)Intra Block Copy (IBC)

An SCC tool that references another area of the same frame by copying it directly. Effective for repeating icons and text.

ACTAdaptive Color Transform

Adaptive Color Transform. An SCC tool applied selectively, block by block, when coding directly in RGB is advantageous.

Check yourself

Why is IBC (Intra Block Copy) especially effective for screen content?