Abstract
Traditional video coding standards like HEVC treat transform and quantization as independent steps, often using fixed matrices that fail to adapt to diverse video content. This paper presents JOTQ (Joint Optimization of Transform and Quantization), a framework that integrates content-adaptive transforms with block-level quantization. By utilizing reconstructed reference blocks as "free" training data for Karhunen-Loève Transforms (KLT), the proposed method eliminates the need for signaling transform overhead. Experimental results demonstrate average bitrate reductions of up to 4.11% in HEVC, with peak savings exceeding 10% for specific sequences.
Introduction
In modern video compression standards like HEVC (H.265), the goal is to eliminate spatial and temporal redundancy. This is typically achieved in two distinct, isolated steps: converting pixel residues into frequency coefficients via fixed transforms (like DCT or DST) and rounding those coefficients through quantization to reduce data.
The problem with this "separate-but-equal" treatment is that fixed transforms do not adapt well to the diverse textures and edges found in real-world video. Furthermore, a uniform quantizer can degrade the efficiency of even the best transform. While content-adaptive transforms exist, they usually require transmitting the transform matrix itself to the decoder, which often costs more bits than it saves. JOTQ addresses these limitations by jointly optimizing both stages without increasing metadata overhead.
Methodology
The JOTQ framework consists of three main components designed to work in synergy: Content Adaptive Transform (CAT), Block Adaptive Quantization (BAQ), and a joint Rate-Distortion (R-D) optimization process.
Content Adaptive Transform (CAT)
The core of the CAT approach is the use of the Karhunen-Loève Transform (KLT), which is statistically optimal for a given data set. To avoid the overhead of sending KLT matrices to the decoder, JOTQ derives the transform from already reconstructed pixels in the reference frames.
As shown in Figure 5, the system identifies a training set from reconstructed pixels. Since the decoder has access to the same reconstructed data, it can independently derive the identical KLT matrix, ensuring synchronization without extra metadata bits.
Joint Optimization and Block Partitioning
JOTQ performs a search to find the optimal combination of transform type (CAT vs. standard DCT/DST) and quantization level for each block. This is integrated into the hierarchical quadtree structure of HEVC.
Figure 6 illustrates how the optimization is applied across different Transform Unit (TU) sizes. The encoder evaluates the R-D cost for both standard transforms and the adaptive CAT at various block sizes, selecting the most efficient path. To manage the increased computational load, the authors implemented early termination strategies and template-based rate regularization to estimate bit costs quickly.
Experimental Evaluation
The researchers evaluated JOTQ using the standard HEVC Common Test Conditions (CTC), which include video sequences ranging from high-resolution (Class A, 2500×1600) to low-resolution (Class D, 416×240). Performance was measured against the HEVC reference software (HM 16.6) using the Bjøntegaard Delta (BD)-rate metric.
Key Results and Insights
JOTQ achieved significant coding gains, particularly in sequences with rich textures and sharp edges where fixed transforms typically struggle.
- Bitrate Savings: The method achieved an average BD-rate reduction of 4.11% under low-delay configurations and 3.38% under random-access configurations.
- Peak Performance: In specific cases, such as the BQSquare sequence, bitrate savings reached as high as 10.14%.
- Synergy over Separation: The results confirm that coupling transform and quantization allows the encoder to find "sweet spots" where aggressive quantization can be paired with a highly compact transform to maintain visual quality at lower bitrates.
Conclusion and Future Work
While JOTQ provides substantial compression gains, it introduces significant computational complexity. The encoder takes roughly 3.5 times longer and the decoder nearly 4 times longer than the baseline due to the online KLT calculation. Future research will focus on reducing this complexity to enable real-time applications and exploring the integration of joint optimization into newer standards like Versatile Video Coding (VVC).
Summary updated