Stencil Data Compression via Base Delta Encoding

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The existing graphics processing systems face challenges in efficiently handling a large number of fragments due to high frame buffer bandwidth and processing power requirements, especially when anti-aliasing is applied, leading to limitations in fragment processing rates.

Innovation Solution

A stencil compression method that selects a base stencil value and single-bit delta values for groups of pixels, storing these in a frame buffer for compressible groups, allowing operations to be performed directly on the compressed data without decompression, thereby reducing bandwidth and processing demands.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If stencil data is stored in uncompressed format in the frame buffer, then operations can be performed directly on the data without decompression, but the frame buffer bandwidth and processing power requirements become excessively high

Engineering Contradiction:
Improvefragment processing rateVSAvoiddata bandwidth
Core Design Contradiction:
ProductivityVSQuantity of substance

Solution Approach 1:

The patent extracts only the essential stencil information by representing stencil values as differences (delta values) from a base value. Instead of storing complete stencil values for each pixel, only the deviations from the base are stored, significantly reducing data bandwidth while maintaining the ability to perform stencil operations.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent changes the representation parameter of stencil data from absolute values to relative differences. By storing delta values (differences from base stencil value) instead of absolute stencil values, the data volume is reduced while the essential information needed for stencil operations is preserved.

Inventive Principle:
Principle #35Parameter changes

2Quantity of substance

If compression is applied to stencil data, then bandwidth and processing demands are reduced, but additional decompression functionality would be required

Engineering Contradiction:
Improvedata bandwidthVSAvoidfunctional units
Core Design Contradiction:
Quantity of substanceVSDevice complexity

Solution Approach 1:

The compressed stencil data format is designed to be self-sufficient for stencil operations. The base value and delta values together contain all necessary information to perform stencil tests and operations directly in the compressed domain, eliminating the need for separate decompression functional units.

Inventive Principle:
Principle #25Self-service

3Reliability

If anti-aliasing is performed using supersampling or multisampling, then sampling artifacts are reduced, but the fragment processing load increases proportionally to the number of samples per pixel

Engineering Contradiction:
Improveimage qualityVSAvoidfragment processing rate
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent merges multiple stencil values into a single base value and a set of delta values. By combining multiple samples' worth of stencil information into a compressed representation, the system can handle anti-aliased fragments more efficiently without processing each sample independently at full resolution.

Inventive Principle:
Principle #5Merging (Combining)

Data Source

PatentUS9437025B2Stencil data compression system and method and graphics processing unit incorporating the same
Publication Date: 2016.09.06 NVIDIA CORP
  • US9437025B2 patent drawing
  • US9437025B2 patent drawing
  • US9437025B2 patent drawing

AI summary

A system and method for compressing stencil data attendant to rendering an image. In one embodiment, the method includes: (1) selecting a base stencil value for a particular group, (2) selecting a single-bit delta value for each sample in the particular group and (3) storing the stencil base value and the delta values in a frame buffer.