On Intra Prediction for Screen Content Video Coding

Haoming Chen, Ankur Saxena, Felix C. A. FernandesarXiv 2015

Abstract

Traditional video coding standards like High Efficiency Video Coding (HEVC) are primarily designed for natural video content, utilizing smoothing filters that can degrade the quality of digitally generated screen content. This paper proposes a selective nearest-neighbor interpolation scheme for intra prediction to preserve the sharp edges characteristic of text and computer graphics. By adaptively switching between standard bilinear and the proposed nearest-neighbor interpolation, the method achieves average bitrate savings of 3.3% for screen content with no performance loss on natural video.

Introduction

The prevalence of screen content—including desktop sharing, gaming, and remote education—has grown significantly. Unlike natural video captured by cameras, screen content is characterized by perfectly sharp, high-contrast edges and uniform color regions. Standard video codecs like HEVC (H.265) often struggle with this content because their underlying prediction mechanisms are optimized for the smooth gradients found in natural scenes.

The Problem: Smoothing in Intra Prediction

In HEVC, intra prediction predicts a block of pixels based on its spatial neighbors. For many prediction modes, the codec uses bilinear interpolation to calculate predicted pixel values. While this reduces noise and artifacts in natural video, it introduces unwanted blurring at the sharp boundaries of digital text and graphics.

Visual comparison between blurred edges (a) typical of natural content coding and sharp edges (b) characteristic of screen content.

This blurring results in a large "residual"—the difference between the prediction and the actual image. Encoding this large residual requires more data, leading to decreased compression efficiency for screen-based applications.

Proposed Method: Nearest-Neighbor Interpolation

To address this mismatch, the authors propose replacing standard bilinear interpolation with Nearest-Neighbor (NN) interpolation for screen content. Instead of averaging two reference pixels to predict a value, the system simply selects the pixel that is spatially closest to the target location.

Nearest-neighbor interpolation logic where the predicted pixel 'a' is derived from the closest reference pixel 'B' or 'C' based on distance 'd'.

Selection Mechanisms

The paper introduces three strategies to decide when to apply NN interpolation:

  1. SAD-based Selection (Implicit): Both the encoder and decoder calculate the Sum of Absolute Differences (SAD) of neighboring pixels. High variation triggers NN interpolation without needing extra signaling bits.
  2. Pixel Difference Selection (Implicit): A more granular approach that examines differences between specific reference pixels.
  3. Rate-Distortion Optimization (RDO) Variant (Explicit): The encoder tests both methods and sends a 1-bit flag to the decoder indicating the most efficient choice.

To maintain low computational complexity, these methods are primarily targeted at $4 \times 4$ pixel blocks, where sharp edges are most frequent.

Experimental Results

The proposed methods were evaluated using standard HEVC Screen Content Coding (SCC) test sequences and natural video sequences.

  • Bitrate Savings: The RDO-based variant achieved an average of 3.3% BD-bitrate savings for screen content, with peak savings of 11.5% in specific sequences like "sc_twist_tunnel."
  • Natural Content Performance: The adaptive nature of the system ensured 0.0% performance loss for traditional camera-captured video.
  • Complexity: The decoder overhead was negligible, while the encoder workload increased by approximately 8% for the RDO variant—a modest cost compared to other screen content tools.

Conclusion

By allowing the intra prediction process to "stay sharp," this nearest-neighbor interpolation scheme significantly improves the compression efficiency of screen content. The method's low complexity and adaptive nature make it a viable enhancement for modern video coding standards, bridging the gap between natural and digital video processing.

Summary updated

BibTeX
@misc{chen2015intra,
  author = {Haoming Chen and Ankur Saxena and Felix C. A. Fernandes},
  title = {{On Intra Prediction for Screen Content Video Coding}},
  year = {2015},
  eprint = {1511.01862},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1511.01862},
}
Figure