Compressed Texture Transcoding for Display Card Rendering Compatibility
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing image processing methods result in excessive memory occupation and performance degradation of display cards due to incompatibility between the data format of source compressed texture data and the display card, leading to inefficient rendering.
Innovation Solution
An image processing method that adapts source compressed texture data to a target compressed texture format compatible with the display card by decoding and aligning the data to a target compressed block size, followed by transcoding into target compressed texture blocks, ensuring each piece of image texture data is an integer multiple of the target block size.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If source compressed texture data is directly decoded and stored to solve format incompatibility, then compatibility with display card is improved, but display memory occupation becomes excessively large
Solution Approach 1:
The patent divides the texture data processing into multiple blocks, where only the necessary number of blocks are decoded and stored in display memory at any given time. This segmentation allows the system to handle large texture data by processing it in manageable chunks, reducing the peak memory occupation while maintaining compatibility through progressive decoding of compatible formats.
Solution Approach 2:
The patent performs preliminary determination of the target compressed texture format and block size before actual decoding. By pre-calculating the appropriate block size based on display card capabilities and texture data characteristics, the system prepares an optimized decoding strategy in advance that prevents excessive memory allocation while ensuring format compatibility.
2Adaptability or versatility
If source compressed texture data is directly decoded and stored to solve format incompatibility, then compatibility with display card is improved, but running performance of display card is affected
Solution Approach 1:
By segmenting texture data into blocks and processing them sequentially rather than decoding the entire texture at once, the patent reduces the computational burden on the display card at any given moment. This allows the display card to maintain higher running performance while still achieving format compatibility through progressive block-by-block decoding.
Solution Approach 2:
The patent dynamically adjusts the block size parameter based on the specific characteristics of the source compressed texture format and the capabilities of the display card. By optimizing this parameter, the system finds the best balance between decoding efficiency and memory usage, preventing performance degradation while ensuring compatibility.
3Adaptability or versatility
If large amounts of texture data are decoded and stored, then format incompatibility is resolved, but rendering efficiency and timeliness are reduced
Solution Approach 1:
The patent performs preliminary determination of the target format and optimal block size before decoding begins. This advance preparation allows the decoding process to proceed efficiently without format conversion delays during rendering, as the display card can directly use the decoded blocks in the compatible format, thereby maintaining rendering timeliness.
Solution Approach 2:
By decoding and rendering texture blocks sequentially rather than waiting for complete texture decoding, the patent enables earlier start of rendering operations. This segmentation approach allows the system to begin rendering with available blocks while continuing to decode subsequent blocks, significantly improving rendering timeliness without sacrificing format compatibility.
Data Source
AI summary
An image processing method and apparatus may be provided. The process may include, obtaining source compressed texture data of a target image by encoding the target image by using a source compressed texture format and determining a target compressed texture format adapted to the display card and a target compressed block size corresponding to the target compressed texture format. The process may also include obtaining a plurality of pieces of image texture data, based on decoding and aligning the source compressed texture data by using the target compressed block size, and obtaining target compressed texture data of the target image, based on transcoding each piece of the plurality of pieces of image texture data by using the target compressed texture format and the target compressed block size. The process may also include rendering the target image based on the target compressed texture data.


