GPU Bayer Mapping Texture Pipeline Optimization

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The processing of raw Bayer data by graphics processing units (GPUs) faces inefficiencies due to the tightly-packed nature of MIPI format data, which lacks padding and requires predetermined stride lengths for proper alignment, and the need for individual pixel processing in demosaicing, leading to suboptimal performance in applications like phase detection auto-focus and light field computation.

Innovation Solution

The method involves mapping two-by-two arrays of Bayer data into texels, allowing for bundled operations that reduce the load on shader processors and enable efficient bilinear filtering, and unpacking MIPI data within the texture pipeline to facilitate better data alignment and processing.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Quantity of substance

If MIPI format data is used with tight packing and no padding, then data compactness is improved, but data structure alignment becomes difficult and requires predetermined stride lengths

Engineering Contradiction:
Improvedata compactnessVSAvoiddata structure alignment complexity
Core Design Contradiction:
Quantity of substanceVSDevice complexity

Solution Approach 1:

The patent applies preliminary action by performing unpacking of MIPI format data within the texture pipeline before the data is processed further. This preliminary unpacking operation prepares the data with proper alignment and structure beforehand, eliminating the need for complex alignment operations later in the processing pipeline and allowing the GPU to work with properly aligned data structures from the start.

Inventive Principle:
Principle #10Preliminary action

2Manufacturing precision

If individual pixel processing is performed in demosaicing, then processing detail is improved, but shader processor load increases and performance decreases

Engineering Contradiction:
Improveprocessing detailVSAvoidprocessing performance
Core Design Contradiction:
Manufacturing precisionVSProductivity

Solution Approach 1:

The patent applies merging by combining multiple individual pixel processing operations into unified shader processor operations. Specifically, it merges the unpacking, Bayer pattern mapping, and demosaicing operations into integrated pipeline stages that process multiple pixels simultaneously, reducing the overall shader processor load while maintaining the detailed processing needed for high-quality demosaicing results.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The patent applies dimensionality change by mapping the two-by-two Bayer pattern arrays into a different organizational structure within texels. This reorganization transforms the data from a spatial arrangement into a structured format that enables parallel processing operations, effectively adding a processing dimension that allows simultaneous manipulation of multiple color channels and pixels without increasing shader processor load.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

3Productivity

If two-by-two Bayer pattern arrays are mapped into texels, then processing efficiency is improved, but data structure transformation complexity increases

Engineering Contradiction:
Improveprocessing efficiencyVSAvoiddata structure transformation complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent applies universality by designing the texture pipeline to perform multiple functions within a single integrated structure. The same pipeline that handles standard texture operations is extended to also perform MIPI unpacking, Bayer pattern mapping, and demosaicing operations. This multi-functional approach consolidates what would otherwise require separate processing stages into a single universal pipeline, improving efficiency without proportionally increasing overall system complexity.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentEP3251081B1Graphics processing unit with bayer mapping
Publication Date: 2020.03.04 QUALCOMM INC
  • EP3251081B1 patent drawingFigure 1
  • EP3251081B1 patent drawingFigure 2
  • EP3251081B1 patent drawingFigure 3

AI summary

A method and manufacture for graphics processing in which a first line of raw Bayer data and a second line of raw Bayer data are received. Each two-by-two array of a plurality of non-overlapping two-by-two arrays of the first line of raw Bayer data and the second line of raw Bayer data is mapped as a separate corresponding texel to provide a plurality of texel. At least one operation is performed on at least one of the plurality of texels.