AVIF and PQ Curve for HDR Master Storage

This article examines how the AV1 Image File Format (AVIF) integrates the SMPTE ST 2084 Perceptual Quantizer (PQ) transfer curve to serve as a robust, lightweight container for high dynamic range (HDR) master storage. It covers the underlying mechanics of PQ signaling, bit-depth requirements, color profile encapsulation, and the practical advantages AVIF offers over traditional archival formats for high-luminance visual assets.

The Role of the Perceptual Quantizer (PQ)

The Perceptual Quantizer, standardized as SMPTE ST 2084, is an electro-optical transfer function (EOTF) engineered to match the human visual system's contrast sensitivity, based on the Barten model. Unlike legacy gamma curves that distribute code values exponentially, PQ allocates code values perceptually across an absolute luminance range from 0.0001 nits to 10,000 nits. Because PQ is an absolute rather than a relative transfer function, code values represent definitive target brightness levels rather than a percentage of display capabilities.

Bit Depth and Compression Architecture

To represent the 10,000-nit range of the PQ curve without causing visual artifacts such as banding or posterization, higher bit depths are mandatory. AVIF utilizes the AV1 video codec's intra-frame compression capabilities within the ISO Base Media File Format (ISOBMFF) container:

Color Metadata Signaling via the NCLX Box

AVIF signals the PQ transfer function cleanly through container-level metadata using the Colour Information (colr) box with an nclx (Colour properties) profile:

AVIF also supports embedded ICC profiles, allowing hybrid workflows where custom tone responses or non-standard primaries are required.

Mastering Display and Content Light Level Metadata

High dynamic range mastering demands explicit metadata to instruct target displays on proper tone-mapping. AVIF accommodates SMPTE ST 2086 and CTA-861-G metadata:

By integrating this metadata directly alongside the AV1 compressed bitstream, AVIF masters convey both the absolute visual data and the contextual mastering parameters required for accurate cross-platform reproduction.

Practical Benefits for HDR Master Storage

Using AVIF with the PQ curve provides distinct structural advantages for preservation and production workflows: