Texture image transparency channel processing system in graphic system, apparatus thereof and method thereof
A texture image and graphics system technology, applied in image data processing, image data processing, instruments, etc., can solve problems such as the inability to guarantee the compression effect, the data format is not flexible enough, and the compression system cannot choose the data format, etc., to reduce the area, The effect of reducing power consumption overhead and shortening compression time
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0205] In this example, it is assumed that the transparency values of the 16 texture pixels of the processing object are all 80, such as Figure 10A shown.
[0206] 11) Compression stage
[0207] In transparency compression, step S100 finds that the 16 input transparency data have only one transparency value of 80, record exist=1. Because exist≦4 and exist==1 are established, go to step S200.
[0208] Step S200, compressing the transparency data according to the compressed data structure format I includes the following steps:
[0209] Step S210, write a unique transparency value 80 to the first byte (63-56 bits) of the compressed data format;
[0210] Step S220, write the transparency value 80 to the second byte (55-48 bits) of the compressed data format;
[0211] Step S230, write 0 into the 3rd to 8th bytes (47~0 bits) of the compressed data format.
[0212] 12) Compress the result
[0213] The compression result of this embodiment is as follows Figure 10B shown.
...
Embodiment 2
[0227] In this example, it is assumed that the transparency data of the 16 texture pixels of the processing object has 3 different transparency values of 04, 7c, and 80, and the specific distribution is as follows Figure 11A shown.
[0228] 21) Compression stage
[0229] The transparency compression step S2100 finds that the 16 input transparency data have 3 transparency values 04, 7c, and 80, record exist=3. Because exist≤4 is established and exist==1 is not established, go to step S300.
[0230] Step S300, compress the transparency data according to the compressed data structure format II.
[0231] The step S300 includes the following steps:
[0232] Step S310, sort the array elements 04, 7c, 80 and -1 as -1, 04, 7c, 80 from small to large;
[0233] Step S320, adjusting the non-negative data in the array elements -1, 04, 7c, 80 to the front of the array, and setting the negative value array elements to 0 to obtain 04, 7c, 80, 00;
[0234] Step S330, sequentially ca...
Embodiment 3
[0249] In this example, it is assumed that the transparency data of the 16 texture pixels of the processing object has 5 different transparency values of 04, 7c, 48, 80, and 7f, and the specific distribution is as follows Figure 12A shown.
[0250] 31) Compression stage
[0251] Transparency compression step S100 finds that 16 input transparency data have 5 transparency values 04, 7c, 48, 80, 7f, record exist=5. Because exist≤4 does not hold, go to step S400.
[0252] Step S400, clustering the 16 transparency data includes the following steps:
[0253] Step S410, reset the data in the array existdata to -1;
[0254] Step S420, clustering the transparency data according to the threshold value 2, which can be divided into 4 clusters in this embodiment, namely (04, 04, 04, 04, 04, 04), (7c, 7c), (48, 48) , (80, 80, 80, 7f);
[0255] Step S430, recalculate the clustering centers, obtain the values of the four clustering centers: 04, 7c, 48, 80, and write the values o...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com