GPU Shader Texture Decoding for Parallel Compressed Image Blocks

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing image decoding processes are inefficient and require significant CPU resources, leading to suboptimal performance in computer devices.

Innovation Solution

Implementing parallel decoding of compression texture blocks using independent work groups in a graphic card shader, eliminating the need for CPU involvement and optimizing resource usage.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If traditional CPU-based decoding is used, then decoding can be performed, but decoding efficiency is low and CPU resource consumption is high

Engineering Contradiction:
Improvedecoding efficiencyVSAvoidCPU resource consumption
Core Design Contradiction:
ProductivityVSUse of energy by moving object

Solution Approach 1:

The patent replaces the CPU-based decoding mechanism with a GPU shader-based decoding mechanism. The graphic card shader executes parallel decoding operations for compression texture blocks, substituting the traditional sequential CPU processing with parallel GPU processing, thereby improving decoding efficiency and reducing CPU resource consumption

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Solution Approach 2:

The patent divides the image decoding task into multiple compression texture blocks, with each block assigned to a separate work group in the graphic card shader. This segmentation enables parallel processing of multiple blocks simultaneously, significantly improving overall decoding efficiency while distributing the computational load

Inventive Principle:
Principle #1Segmentation

2Productivity

If parallel decoding is implemented, then decoding efficiency is improved, but device complexity increases

Engineering Contradiction:
Improvedecoding efficiencyVSAvoidsystem complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent introduces a graphic card shader as an intermediary component between the CPU and the decoding process. The shader acts as a mediator that handles the complex parallel decoding operations, allowing the CPU to remain simple while delegating the computationally intensive parallel processing tasks to the GPU shader infrastructure

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS12589297B2Image processing method and apparatus, computer device, and storage medium
Publication Date: 2026.03.31 TENCENT TECHNOLOGY (SHENZHEN) CO LTD
  • US12589297B2 patent drawing
  • US12589297B2 patent drawing
  • US12589297B2 patent drawing

AI summary

An image processing method includes: obtaining a target compression texture resource of a target image, the target compression texture resource including a plurality of compression texture blocks; allocating a plurality of target work groups for decoding to the plurality of compression texture blocks in a graphic card shader, and distributing each compression texture block to a corresponding target work group; and decoding in parallel, by the target work groups in the graphic card shader, the compression texture blocks according to the compression texture format, to obtain target texture data of the target image, the target texture data comprising decoded data corresponding to the compression texture blocks.