HRD

Hypothetical Reference Decoder

Other →
Introduced in Rel-8

HRD is a theoretical decoder model used in video coding standards to define a precise decoding process that all compliant bitstreams and implementations must follow, ensuring interoperability.

Category
Other
Introduced
Rel-8
Where
Services › Codecs
Specifications
8 specs
HRD Description Purpose Detected Changes Specifications

Description

The Hypothetical Reference Decoder (HRD) is a fundamental, normative part of video coding standards developed by ITU-T and ISO/IEC, such as H.264/AVC and H.265/HEVC, with 3GPP adopting these codecs for multimedia services. It is not a physical implementation but an abstract, mathematical model that defines a hypothetical decoding process with a specified buffer model and operational timeline. The primary purpose of the HRD is to provide a unambiguous definition of a conforming bitstream and a conforming decoder. A bitstream is deemed compliant if, when fed into the HRD model according to the standard's rules, it does not cause buffer overflow or underflow and produces a deterministic output sequence of pictures.

The HRD model consists of two key conceptual components: the Coded Picture Buffer (CPB) and the Decoded Picture Buffer (DPB). The CPB models the input buffer of the decoder. The bitstream arrives into the CPB according to a specified arrival schedule (often tied to a bitrate). The HRD then removes bits from the CPB for decoding at precise, predetermined times, known as removal times. This models the decoding process. The DPB models the memory that holds decoded pictures for future reference (for inter-picture prediction) and for output display. The HRD strictly defines the management of the DPB, including the storage, marking, and removal of decoded pictures.

How it works is defined through a series of equations and state variables. The standard defines HRD parameters (like initial CPB removal delay, bitrate, buffer size) that can be signaled in the bitstream (e.g., in the Video Parameter Set or Sequence Parameter Set). A decoder implementation, to be standard-compliant, must produce the same output as the HRD would when processing a compliant bitstream, though its internal buffering and timing may differ. The HRD operates on the concept of a 'hypothetical stream scheduler' and a 'hypothetical decoder' that instantaneously decodes pictures. This abstraction separates the logical correctness of the bitstream from the real-time constraints of any particular hardware.

In 3GPP specifications, the HRD is crucial for defining the conformance points for multimedia broadcast and streaming services, such as MBMS and Packet-Switched Streaming Service (PSS). It ensures that video content encoded by one vendor can be reliably decoded by a receiver from another vendor, guaranteeing baseline interoperability across the ecosystem. The HRD parameters allow content creators to tailor the bitstream for specific delivery scenarios (e.g., constant bitrate streaming, variable bitrate) while giving decoder manufacturers a clear target for buffer management design.

Purpose & Motivation

The HRD exists to solve the critical problem of interoperability in digital video systems. Before its formalization, video codec standards primarily specified the syntax of the bitstream and the decoding steps for individual blocks and pictures. However, this was insufficient to guarantee that a continuous stream of data would be decodable in real-time by a receiver with finite buffer memory. Without a standardized buffer model, a bitstream that was syntactically correct could still cause a real decoder to fail by delivering data too quickly (buffer overflow) or too slowly (buffer underflow, causing the decoder to stall). The HRD was created to provide a complete system-level definition of conformance.

The historical context stems from the development of MPEG-2 Video, where buffer management became a major issue for constant-bit-rate transport like DVDs and digital broadcasting. The HRD concept was more formally and rigorously defined in H.264/AVC. It addresses the limitations of earlier, less precise specifications by providing a verifiable mathematical model. This allows bitstream generators (encoders) to test their output against the model to ensure it is 'decodable,' and decoder designers to know the minimum buffer resources required and the correct output order.

For 3GPP, adopting codecs with a well-defined HRD was essential for reliable multimedia delivery over unpredictable mobile networks. It enables robust streaming services by allowing the network and the client to agree on buffer models and bitrate constraints. The HRD ensures that even under variable network conditions, if the bitstream adheres to the signaled HRD parameters, a compliant decoder will be able to decode it without intrinsic errors related to timing or buffer management, thus maintaining quality of service for the end-user.

Detected Changes Across Releases

from 3GPP Change Requests

Specific changes extracted from the „Change history“ tables of 3GPP specifications (2 CRs across 2 releases). Complements the general historical overview above with the evidence-based evolution of this function.

Studied in Rel-8, normative work from Rel-16.

Rel-16 1 change

In Release 16, the primary update for the Hypothetical Reference Decoder (HRD) function was the clarification that its parameters, if present, should be ignored by the receiver. This change was part of broader reference fixes to television video profiles, reinforcing the operational point definitions for content delivery to 3GPP clients. The specification also maintained that SEI messages, which are optional per the underlying video codec standard, may be ignored by the decoder.

  • Reference Fixes to TV Video Profiles TS 26.116CR0017
Rel-18 1 change

In Release 18, the changes for the Hypothetical Reference Decoder (HRD) function consisted of reference fixes and clarifications. Specifically, the update clarified that HRD parameters, if present, should be ignored by the receiver, as stated in the existing specification text. These modifications were aimed at refining the technical documentation without altering the fundamental behavior or capabilities of the HRD.

  • Reference Fixes and Clarifications TS 26.118CR0011

Explore further

Broader topics and technologies where HRD plays a role.

Defining Specifications

3GPP specifications that define or reference HRD, with the latest known release. Sourced from the 3GPP document catalog — see methodology.

SpecificationTitleRelease
TS 26.116 vj00 TV Video Formats for 3GPP Services Rel-19
TS 26.118 vj00 Virtual Reality Media Formats Rel-19
TS 26.119 vj00 XR Media Capabilities for AR Devices Rel-19
TR 26.906 vj00 HEVC Evaluation for 3GPP Services Rel-19
TR 26.937 vj00 3GPP PSS Characterization Rel-19
TR 26.948 vj00 Video enhancements for 3GPP Multimedia Services Rel-19
TR 26.949 vj00 TV Service Profiles for 3GPP Networks Rel-19
TR 26.955 vj00 Video Codec Analysis for 5G Services Rel-19