Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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

Inactive Publication Date: 2012-03-07
LOONGSON TECH CORP
View PDF3 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0016] However, the data format of the existing texture compression methods is not flexible enough, and the compression system cannot choose a flexible data format according to the characteristics of the input data, so the optimal compression effect cannot be guaranteed.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Texture image transparency channel processing system in graphic system, apparatus thereof and method thereof
  • Texture image transparency channel processing system in graphic system, apparatus thereof and method thereof
  • Texture image transparency channel processing system in graphic system, apparatus thereof and method thereof

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a texture image transparency channel processing system in a graphic system, an apparatus thereof and a method thereof. The texture image transparency channel processing system comprises the following parts: a compression processing apparatus used for inputting a plurality of transparency data of a texture image transparency channel, calculating and determining a quantity of different transparency values in the input transparency data, determining a diversity characteristic of the input transparency data, dynamically selecting and outputting a compression data format from a compression data structure apparatus, and compressing and outputting the input transparency data; a decompression processing apparatus used for receiving compressed transparency data, according to a data format of the compressed transparency data, and selecting different decompression modes to decompress and output the compressed transparency data. Compared with a present standard compression algorithm compression under the premise of a same compression ratio, a better compression effect is obtained in the invention.

Description

technical field [0001] The invention relates to the technical field of computer graphics processing, in particular to a processing system, device and method for compressing and decompressing a texture image transparency channel in a graphics system. Background technique [0002] Graphics Processing Unit (GPU) integrates functions such as coordinate transformation, lighting calculation, triangle creation and cutting, rendering engine, etc. on a single chip, which can accelerate graphics-related operations in computer systems and is an important component of computer systems. part one. At present, GPU has been widely used in embedded systems, mobile phones, personal computers, workstations and game consoles and other fields. [0003] Many stages in the graphics processing process need to access memory, and memory bandwidth is usually the bottleneck of the graphics system. Access to texture memory often consumes the most bandwidth resources, so texture compression techniques ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06T1/00H03M7/30
Inventor 蒋毅飞孟海波张广飞高翔
Owner LOONGSON TECH CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products