Luma Samples
"Luma samples" are the individual digital values that store the brightness (light intensity) information for every pixel in a video or image.
In technical video coding (like AV1, AV2, or HEVC), a video signal is split into two parts to save space:
- Luma (Y'): The black-and-white image (detail and structure).
- Chroma (Cb/Cr): The color overlay (mood and tint).
A "luma sample" is simply the single number (usually between 0–255 for 8-bit video, or 0–1023 for 10-bit) that tells a specific pixel how bright it should be.
Why do Luma Samples matter?
They are the most important part of video compression because the human eye is far more sensitive to brightness (shapes, edges, contrast) than it is to color.
Because of this biological fact, video engineers use a trick called Chroma Subsampling (like 4:2:0).
- Luma: Every single pixel gets its own unique luma sample (100% resolution).
- Chroma: Color is often sampled only once for every block of 4 pixels (25% resolution).
If you were to delete the chroma samples, you would still see a perfectly sharp black-and-white video. If you deleted the luma samples, you would see nothing but vague, blurry blobs of color.
What are 64x64 and 128x128 Luma Samples?
These numbers refer to the maximum size of the "blocks" that the codec cuts a video frame into before processing it.
In video compression, the encoder chops the image into a grid of squares to analyze them.
- 64x64: The maximum block size for HEVC (H.265) and VP9.
- 128x128: The maximum block size for AV1 and VVC (H.266) (and typically AV2).
Why does the size matter?
The jump from 64x64 to 128x128 is a major reason why newer codecs like AV1/AV2 are more efficient for 4K and 8K video.
The "Blue Sky" Problem: Imagine a 4K video of a clear blue sky. It’s a massive area with very little detail.
- With 64x64 blocks (HEVC): The encoder has to chop that sky into thousands of small 64x64 squares. It has to write a header and data for every single one of those squares, even though they look identical. This wastes data.
- With 128x128 blocks (AV1/AV2): The encoder can use a block that is 4x larger in area. It covers the same patch of sky with one single "Superblock" instead of four smaller ones. This drastically reduces the overhead data (headers/metadata) needed to describe that simple part of the image.
Summary
- 64x64 Luma Samples: The old limit. Good for 1080p, but inefficient for 4K/8K.
- 128x128 Luma Samples: The new standard. Essential for 4K/8K because it allows the codec to be "lazy" with large flat areas (like walls, sky, or shadows), saving the bitrate for the complex parts of the image that actually need it.