logoalt Hacker News

pavlovyesterday at 8:29 PM0 repliesview on HN

Most video color spaces have black at a non-zero code value.

The most common 8-bit YUV format (e.g. in MPEG-2) uses a 16-235 range for valid luma values, so black is at 16 and white is at 235.

The reason for leaving this “headroom” and “footroom” had to do both with digitizing analog signals and avoiding clipping during processing.