GPU Shader Texture Decoding for Parallel Compressed Image Blocks
Find Innovative SolutionsGenerate 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
Engineering 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
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
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
2Productivity
If parallel decoding is implemented, then decoding efficiency is improved, but device complexity increases
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
Data Source
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.


