DATA COMPRESSION SYSTEM AND DATA MAPPING METHOD - Patent application
A data format converter maps RGBG data to RGB data using a lossless reversible method, addressing compatibility issues and enhancing data processing efficiency for video codecs.
Patent Information
- Application Number
- JP2020145529
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2019-10-18
- Filing Date
- 2020-08-31
- Publication Date
- 2025-01-15
- Estimated Expiration
- 2040-08-31
AI Technical Summary
Existing video codecs are designed for specific data formats like RGB or RGBG and cannot efficiently handle data formats for which they were not intended, leading to compatibility issues and inefficient data processing.
A data format converter is used to map RGBG format data to RGB format data by converting red, blue, and green components in a lossless reversible manner, allowing compatibility with internal codecs.
The conversion enables effective data format adaptation, ensuring compatibility with internal codecs and optimizing data processing efficiency without loss of information.
Smart Images

Figure 0007613852000001 
Figure 0007613852000002 
Figure 0007613852000003
Abstract
Description
[Technical field]
[0001] An embodiment of the present invention relates to a data compression system and a method for mapping data, and more particularly to a method for mapping data of one type to data of another type.
[0002] This application claims priority to U.S. Patent Application No. 62 / 898,884, filed in the United States Patent and Trademark Office on September 11, 2019, the entire contents of which are incorporated herein by reference.
[0003] This application is also related to U.S. patent application Ser. No. 16 / 542,233, filed in the U.S. Patent Office on August 15, 2019, which claims priority to U.S. patent application Ser. No. 62 / 851,872, filed in the U.S. Patent Office on May 23, 2019, the entire contents of which are incorporated herein by reference.
[0004] This application is also related to U.S. Patent No. 10,115,177, issued on October 30, 2018, which claims priority to U.S. Patent Application No. 62 / 412,026, filed in the U.S. Patent Office on October 24, 2016, and U.S. Patent Application No. 62 / 018,178, filed in the U.S. Patent Office on June 27, 2014, the entire contents of which are incorporated herein by reference. [Background technology]
[0005] Currently, data is generally increasing in the field of computer computing. For example, in certain fields such as video processing, the data generated is growing exponentially. The rate at which data is increasing can exceed the capacity of storage systems. Thus, computer computing systems often store data in a compressed form. Since the stored data can be used in an uncompressed form, it is necessary to uncompress the stored data before processing it.
[0006] Video compression in high resolution displays is often used to reduce memory usage at lower transmission bandwidths. Such displays may have internal codecs that perform the video compression and decompression operations. The internal codecs are designed to handle only a specific data format (e.g., Red-Green-Blue (RGB) data or Red-Green-Blue-Green (RGBG) data) and are not suitable for handling data formats for which they were not designed. For example, an RGB codec is not suitable for handling input RGBG video data.
[0007] The information regarding the background art is intended to provide a deeper understanding of the background of the present invention and may include information that differs from the prior art. Summary of the Invention [Problem to be solved by the invention]
[0008] The problem that the present invention seeks to solve is to provide an apparatus that can efficiently convert data of one format into another format that is compatible with an internal codec. [Means for solving the problem]
[0009] A method for mapping RGBG format data to RGB format data according to one embodiment of the present invention includes receiving, by a data format converter, three RGBG [red-green-blue-green] pixel values for mapping to four RGB [red-green-blue] pixel values, where the RGBG and RGB pixel values include red, green and blue components, mapping, by the data format converter, the red and blue components and a first three green components of the three RGBG pixel values to a first three RGB pixel values of the four RGB pixel values, and mapping, by the data format converter, the last three green components of the three RGBG pixel values to the red, green and blue components of a fourth RGB pixel value of the four RGB pixel values.
[0010] According to an embodiment of the present invention, receiving the three RGBG pixel values includes receiving, by the data format converter, image data having a plurality of RGBG pixel values corresponding to a plurality of pixels of a display device, and converting, by the data format converter, the plurality of RGBG pixel values into a plurality of RGBG pixel values each including the three RGBG pixel values. G This may include dividing the image into a set of pixel values.
[0011] According to an embodiment of the present invention, splitting the plurality of RGBG pixel values may include zero padding a last set of the plurality of RGBG pixel value sets with 0 by the data format converter so that a length of the last set is the same as another one of the plurality of RGBG pixel value sets.
[0012] According to an embodiment of the present invention, the data format converter G For each set of pixel values, the red and blue components of the three RGBG pixel values may be mapped to the first three green components, and the last three green components of the three RGBG pixel values may be mapped to each other.
[0013] According to one embodiment of the present invention, the method may further include providing the mapped RGB pixel values by the data format converter to an RGB codec device, which may compress the mapped RGB pixel values to generate compressed RGB values and store the compressed RGB values in a memory for later use.
[0014] According to an embodiment of the present invention, mapping the red and blue components of the three RGBG pixel values to the first three green components may include mapping, by the data format converter, the red component of the three RGBG pixel values to the red component of the first three RGB pixel values, mapping, by the data format converter, the blue component of the three RGBG pixel values to the blue component of the first three RGB pixel values, and mapping, by the data format converter, the first three green components of the three RGBG pixel values to the green component of the first three RGB pixel values.
[0015] According to an embodiment of the present invention, mapping the red component of the three RGBG pixel values to the red component of the first three RGB pixel values may include mapping a first red component, a second red component, and a third red component of the three RGBG pixel values to the first red component, a second red component, and a third red component of the first three RGB pixel values, respectively, by the data format converter.
[0016] According to an embodiment of the present invention, mapping the blue component of the three RGBG pixel values to the blue component of the first three RGB pixel values may include mapping a first blue component, a second blue component, and a third blue component of the three RGBG pixel values to the first blue component, a second blue component, and a third blue component of the first three RGB pixel values, respectively, by the data format converter.
[0017] According to an embodiment of the present invention, mapping the first three green components of the three RGBG pixel values to the green component of the first three RGB pixel values may include mapping a first green component, a second green component, and a third green component of the three RGBG pixel values to the first green component, a second green component, and a third green component of the first three RGB pixel values, respectively, by the data format converter.
[0018] According to an embodiment of the present invention, mapping the last three green components of the three RGBG pixel values may include mapping a fourth green component, a fifth green component, and a sixth green component of the three RGBG pixel values to the red, green, and blue components of the fourth RGB pixel value, respectively.
[0019] According to an embodiment of the present invention, each of the three RGBG pixel values may correspond to a pixel of a display device, and each of the three RGBG pixel values may include one red component, two green components and one blue component corresponding respectively to one red sub-pixel, two green sub-pixels and one blue sub-pixel of the pixel of the display device.
[0020] A method for mapping RGB format data to RGBG format data according to one embodiment of the present invention includes receiving, by a data format converter, four RGB pixel values for mapping to three RGBG pixel values, the RGBG and RGB pixel values including red, green and blue components, mapping, by the data format converter, first three RGB pixel values of the four RGB pixel values to the red and blue components and the first three green components of the three RGBG pixel values, and mapping, by the data format converter, the red, green and blue components of a fourth RGB pixel value of the four RGB pixel values to the last three green components of the three RGBG pixel values according to a mapping pattern.
[0021] According to one embodiment of the present invention, receiving the four RGB pixel values includes receiving, by the data format converter, video data having a plurality of RGB pixel values corresponding to a plurality of pixels of a display device, and dividing, by the data format converter, the plurality of RGB pixel values into a plurality of RGB pixel value sets, each set including the four RGB pixel values, and the data format converter may map the first three RGB pixel values and the red, green and blue pixel value of the fourth pixel to each of the plurality of RGB pixel value sets.
[0022] According to an embodiment of the present invention, receiving the image data may include receiving, by the data format converter, the plurality of RGB pixel values from an RGB codec device that decompresses compressed RGB pixel values stored in a memory.
[0023] According to an embodiment of the present invention, mapping the first three RGB pixel values may include mapping, by the data format converter, the red component of the first three RGB pixel values to the red component of the three RGBG pixel values, mapping, by the data format converter, the blue component of the first three RGB pixel values to the blue component of the three RGBG pixel values, and mapping, by the data format converter, the green component of the first three RGB pixel values to the first three green components of the three RGBG pixel values.
[0024] According to an embodiment of the present invention, mapping the red component of the first three RGB pixel values to the red component of the three RGBG pixel values may include mapping a first red component, a second red component, and a third red component of the first three RGB pixel values to the first red component, a second red component, and a third red component of the three RGBG pixel values, respectively, by the data format converter.
[0025] According to an embodiment of the present invention, mapping the blue component of the first three RGB pixel values to the blue component of the three RGBG pixel values may include mapping a first blue component, a second blue component, and a third blue component of the first three RGB pixel values to the first blue component, a second blue component, and a third blue component of the three RGBG pixel values, respectively, by the data format converter.
[0026] According to an embodiment of the present invention, mapping the green component of the first three RGB pixel values to the first three green components of the three RGBG pixel values may include mapping a first green component, a second green component, and a third green component of the first three RGB pixel values to the first green component, a second green component, and a third green component of the three RGBG pixel values, respectively, by the data format converter.
[0027] According to an embodiment of the present invention, mapping the red, green, and blue components of the fourth RGBG pixel value may include mapping the red, green, and blue components of the fourth RGB pixel value to a fourth green component, a fifth green component, and a sixth green component of the three RGBG pixel values, respectively.
[0028] According to an embodiment of the present invention, a data compression system includes a memory, a data format converter for receiving RGBG (red-green-blue-green) image data and generating RGB (red-green-blue) image data corresponding to the RGBG image data, and a codec device for compressing the RGB image data and storing the compressed RGB image data in the memory, wherein the data format converter receives three RGBG pixel values of the RGBG image data to be mapped to four RGB pixel values of the RGB image data (the RGBG and RGB pixel values include red, green and blue components), maps red and blue components and first three green components of the three RGBG pixel values to the first three RGB pixel values of the four RGB pixel values, and maps the last three green components of the RGBG pixel values to the red, green and blue components of a fourth RGB pixel value of the four RGB pixel values. Effect of the Invention
[0029] A data compression system and data mapping method according to one embodiment of the present invention can effectively convert data of one format into another format that is compatible with an internal codec. [Brief description of the drawings]
[0030] [Figure 1] 1 is a block diagram illustrating a data compression system according to one embodiment of the present invention. [Figure 2a] 4 illustrates a mapping from RGBG pixel values to RGB pixel values according to one embodiment of the present invention. [Figure 2b] 4 illustrates a mapping from RGB pixel values to RGBG pixel values according to one embodiment of the present invention. [Figure 3a] 4 illustrates a process of mapping RGBG format data to RGB format data according to an embodiment of the present invention. [Figure 3b] 4 illustrates a process of mapping RGB format data to RGBG format data according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0031] The embodiments of the present invention will be described in detail with reference to the accompanying drawings. The detailed description below relates to embodiments of a data compression system and a data mapping method, and does not show all aspects realized or utilized by the present invention. However, the same or equivalent functions and structures realized in different embodiments are included within the scope of the present invention. The same reference numerals are used throughout the specification to refer to the same or similar components.
[0032] A display device according to an embodiment of the present invention may include a codec capable of effectively encoding / decoding a particular type of data. However, such a codec may not be suitable for use with other types of data. For example, a RGB codec capable of performing compression / decompression operations on Red, Green, Blue (RGB) image data may not be suitable for processing image data having a Red, Green, Blue, Green (RGBG) format.
[0033] One embodiment of the present invention generally provides a system and method for converting data from one format (eg, RGBG / RGB) to data from another format (eg, RGB / RGBG).
[0034] FIG. 1 is a block diagram illustrating a data compression system 10 according to one embodiment of the present invention.
[0035] Referring to FIG 1, a data compression system 10 includes a data format converter 100, a codec device 200, and a memory 300. According to an embodiment of the present invention, the data format converter 100 converts image data in a first format (e.g., RGBG data) into image data in a second format (e.g., RGB data) and converts image data in the second format (e.g., RGB data) into image data in the first format (e.g., RGBG data). The codec device 200 compresses and / or encodes the image data in the second format to reduce the size of the image data, and then stores it in the memory 300 for later retrieval. The codec device 200 decompresses and / or decodes the stored data to obtain the original image data in the second format.
[0036] According to an embodiment of the present invention, the data format converter 100 includes a first converter (e.g., an RGBG-RGB converter) 110 that receives image data in a first format (e.g., RGBG format) from an input device and converts the image data into a second format (e.g., RGB format) for subsequent processing (e.g., by the codec device 200). According to an embodiment of the present invention, the image data in the first format received from the input device may be the result of a mura compensation algorithm or a stress profile algorithm. The data format converter 100 further includes a second converter (e.g., an RGB-RGBG converter) 120 that receives image data in a second format (e.g., RGB format) from, for example, the codec device 200 and converts the image data into a first format (e.g., RGBG format) for use in, for example, the mura compensation algorithm or the stress profile algorithm. The operations performed by the first and second converters 110 and 120 are lossless and reversible operations.
[0037] According to an embodiment of the present invention, the mapping operation of the data format converter 100 and the compression / encoding (or encryption) operation of the codec device 200 may be controlled by the controller 400. For example, when input RGBG data to be stored in the memory 300 is prepared, the controller 400 may cause the data format converter 100 to map the RGBG data to standard RGB data, and then the codec device 200 may process (e.g., compress and / or encode / encrypt) the mapped RGB data to store it in the memory 300. Similarly, when it is desired to retrieve the stored RGBG data again, the controller 400 may cause the codec device 200 to process (e.g., decompress or decode / decrypt) the RGB data stored in the memory 300 to generate R'G'B' data, and cause the data format converter 100 to map the R'G'B' data back to the RGBG format to generate R'G'B'G' data. In examples where the codec device 200 performs lossless operations (e.g., lossless compression / decompression and lossless encoding / decoding), the R'G'B'G' data is identical to the original RGBG data because the mapping operations performed by the data format converter 100 are lossless and reversible operations. However, in examples where the codec device 200 performs lossy operations (e.g., lossy compression / decompression and lossy encoding / decoding), the R'G'B'G' data may differ slightly from the original RGBG data.
[0038] Figure 2a shows a mapping from RGBG pixel values to RGB pixel values according to one embodiment of the present invention, and Figure 2b shows a mapping from RGB pixel values to RGBG pixel values according to one embodiment of the present invention.
[0039] According to an embodiment of the present invention, as shown in FIG. 2a, the first converter 110 receives a set of three RGBG pixel values and maps them to a set of four RGBG pixel values. The three RGBG pixel values include three red components, three blue components, and six green components. In this way, the set of three red, green, and blue components can be one-to-one mapped to the red, green, and blue components of the three RGB pixel values, and the remaining three green components of the three RGBG pixel values can be mapped to one (e.g., the fourth) RGB pixel value. Such a one-to-one conversion is a lossless, reversible conversion. That is, the original set of three RGBG pixel values can be obtained by applying an inverse conversion to map the four RGB pixel values converted from the previous process.
[0040] As shown in Fig. 2a, according to an embodiment of the present invention, the first converter 110 maps each component of a set of three RGBG pixel values to each component of a set of four RGB pixel values, where the red components of the three RGBG pixel values are mapped to the red components of the first three RGB pixel values, the blue components of the three RGBG pixel values are mapped to the blue components of the first three RGB pixel values, the first three green components of the six green components of the three RGBG pixel values (the green components of the first three half-pixel values) are mapped to the green components of the first three RGB pixel values, and the last three green components of the six green components of the three RGBG pixel values (the green components of the last three half-pixel values) are mapped to the red, green and blue components of the fourth RGB pixel value according to a first mapping pattern. The first mapping pattern may be any suitable one-to-one mapping from three elements to three elements.
[0041] As shown in FIG. 2b, according to an embodiment of the present invention, the second converter 120 maps each component of the set of four RGB pixel values to each component of the set of three RGBG pixel values, but according to a second mapping pattern, which is an inverse transformation of the first mapping pattern, the red components of the first three RGB pixel values are mapped to the red components of the three RGBG pixel values, the blue components of the first three RGB pixel values are mapped to the blue components of the three RGBG pixel values, the green components of the first three RGB pixel values are mapped to the first three green components of the six green components of the three RGBG pixel values (the green components of the first three half-pixel values), and the red, green and blue components of the fourth RGB pixel value are mapped to the last three green components of the six green components of the three RGBG pixel values (the green components of the last three half-pixel values).
[0042] The RGBG-RGB and RGB-RGBG mapping operations described above can be easily parallelized within a block of three RGBG pixel values (or, equivalently, a block of four RGB pixel values) to increase format conversion speed for large collections of RGBG or RGB data. That is, the first converter 110 can include multiple RGBG-RGB converters, each capable of generating four RGB pixel values corresponding to three RGBG pixel values. Similarly, the second converter 120 can include multiple RGB-RGBG converters, each capable of generating three RGBG pixel values corresponding to four RGB pixel values.
[0043] The mapping process of FIG. 2a can be expressed in pseudo code as follows: for (Int y = 0; y < image_height; y++) { Int z = 0; for (Int x = 0; x < image_width; x += 4) { dstR[w*y + x + 0] = srcR[swR * y + z + 0]; / / red source component dstB[w*y + x + 0] = srcB[swB * y + z + 0]; / / blue source component dstG[w*y + x + 0] = srcG[swG * y + 2 * z + 0]; / / green source component dstR[w*y + x + 1] = srcR[swR * y + z + 1]; dstB[w*y + x + 1] = srcB[swB * y + z + 1]; dstG[w*y + x + 1] = srcG[swG * y + 2 * z + 1]; dstR[w*y + x + 2] = srcR[swR * y + z + 2]; dstB[w*y + x + 2] = srcB[swB * y + z + 2]; dstG[w*y + x + 2] = srcG[swG * y + 2 * z + 2]; dstR[w*y + x + 3] = srcG[swR * y + 2 * z + A]; / / green source component dstB[w*y + x + 3] = srcG[swB * y + 2 * z + B]; / / green source component dstG[w*y + x + 3] = srcG[swG * y + 2 * z + C]; / / green source component z += 3; } }
[0044] Here, srcR, srcG, and srcB may be a concatenation of two-dimensional color channel data corresponding to the red, green, and blue components of RGBG format image data as a one-dimensional array. Thus, each element of srcR, srcG, and srcB is the red, green, and blue value of one pixel of the display device. Also, dstR, dstB, and dstG are one-dimensional arrays corresponding to the red, green, and blue channels of the RGB data mapped as one-dimensional arrays. The parameter image_width represents the width of the destination RGB image data (e.g., the number of pixels arranged along a horizontal line of the image data), and image_height represents the height of the image data (e.g., the number of horizontal lines of pixels that make up the image data). The parameters swR, swG, and swB represent the red, green, and blue components within the horizontal line of the image data, respectively. Since there are twice as many green pixels as red and green components in an RGBG pixel, srcG has twice as many elements as srcB and srcR, and the value of swG is twice the value of swR and swB. The values A, B, and C define a first mapping pattern and may be any of the permutations 3, 4, and 5. In the example shown in Figure 2a, the values A, B, and C are 3, 4, and 5, respectively, but the invention is not limited thereto. For example, A, B, and C may be 4, 3, and 5, or 5, 3, and 4, respectively.
[0045] Similarly, the mapping process of FIG. 2b, which is the inverse of the above operation, according to one embodiment of the present invention, can be expressed in pseudo code as follows: for (Int y = 0; y < h; y++) { Int z = 0; for (Int x = 0; x < w; x += 4) { dstR[dwR * y + z + 0] = srcR[w*y + x + 0]; dstB[dw2 * y + z + 0] = srcB[w*y + x + 0]; dstG[dwG * y + 2 * z + 0] = srcG[w*y + x + 0]; dstR[dwR * y + z + 1] = srcR[w*y + x + 1]; dstB[dw2 * y + z + 1] = srcB[w*y + x + 1]; dstG[dwG * y + 2 * z + 1] = srcG[w*y + x + 1]; dstR[dwR * y + z + 2] = srcR[w*y + x + 2]; dstB[dw2 * y + z + 2] = srcB[w*y + x + 2]; dstG[dwG * y + 2 * z + 2] = srcG[w*y + x + 2]; dstG[dwG * y + 2 * z + A] = srcR[w*y + x + 3]; / / G destination component dstG[dwG * y + 2 * z + B] = srcB[w*y + x + 3]; / / G destination component dstG[dwG * y + 2 * z + C] = srcG[w*y + x + 3]; / / G destination component z += 3; }
[0046] According to one embodiment of the present invention, the codec device 200 and memory 300 may be part of a system that determines and compensates for the stress profile of a display device, which can reduce or eliminate the reduction in display output by mitigating the degradation / aging effects of pixels in the display device. According to another embodiment of the present invention, the codec device 200 and memory 300 may be part of a system that can improve rendering performance, which can reduce energy consumption by compressing the image during the rendering process. The compression can be lossless or near lossless so as not to impair the rendering result and so that the compression and decompression remain transparent to the end user and product.
[0047] If the compression used by the codec device 200 depends on the spatial correlation of the color components (e.g., if it is a lossy compression), the use of the above-mentioned RGBG-RGB mapping may result in slightly degraded compression performance due to some spatial decorrelation of the green subpixel / component.
[0048] Therefore, in the case of lossy compression / decompression in codec device 200, even though data format converter 100 performs a lossless conversion, the RGBG pixel values processed and stored by system 10 may be slightly different from the original RGBG pixel values when re-extracted in R'G'B'G'.
[0049] FIG. 3a illustrates a process 500 for mapping RGBG format data to RGB format data according to one embodiment of the present invention.
[0050] Referring to FIG. 3a, according to one embodiment of the present invention, a data format converter 100 [e.g. 1 ChangeThe converter 110 receives three RGBG pixel values for mapping to four RGB pixel values (502). Receiving the three RGBG pixel values includes receiving video data having a plurality of RGBG pixel values corresponding to a plurality of pixels of the display device, and converting the plurality of RGBG pixel values into a three RGBG pixel value including the three RGBG pixel values. G According to one embodiment of the present invention, dividing the plurality of RGBG pixel values may include zero padding the last of the three sets of RGBG pixel values with zeros so that the last of the three sets of RGBG pixel values has the same length as the other of the three sets of RGBG pixel values. The RGBG and RGB pixel values include a red component, a green component, and a blue component.
[0051] According to one embodiment of the present invention, data format converter 100 maps 504 the red and blue components and the first three green components of the RGBG pixel value to the first three RGB pixel values. G For each set of pixel values, the same can be done as before. Data format converter 100 can do this by mapping the red component of the RGBG pixel value to the red component of the first three RGB pixel values, the blue component of the RGBG pixel value to the blue component of the first three RGB pixel values, and one-to-one mapping the first three green components of the RGBG pixel values to the green components of the first three RGB pixel values. According to one embodiment of the present invention, for each of the red, green, and blue colors, data format converter 100 can map the first, second, and third components of that hue of the RGBG pixel value to the first, second, and third components of that hue of the first three RGB pixel values, respectively.
[0052] According to one embodiment of the present invention, the data format converter 100 maps the last three green components of the RGBG pixel value to the red, green, and blue components of the fourth RGB pixel value according to the mapping pattern (506). The data format converter 100 may map the fourth green component, the fifth green component, and the sixth green component of the RGBG pixel value to the red, green, and blue components of the fourth RGB pixel value, respectively.
[0053] According to one embodiment of the present invention, the data format converter 100 subsequently provides the mapped RGB pixel values to the RGB codec device 200, which compresses (and / or encodes) the mapped RGB pixel values to generate compressed (and / or encoded) RGB values, which are then stored in the memory 300 for later use.
[0054] Here, each RGBG pixel value may correspond to a pixel of the display device, and each RGBG pixel value may include one red component, two green components and one blue component corresponding respectively to one red sub-pixel, two green sub-pixels and one blue sub-pixel of the pixel of the display device.
[0055] FIG. 3b illustrates a process for mapping RGB format data to RGBG format data (600) according to an embodiment of the present invention.
[0056] Referring to FIG. 3b, according to one embodiment of the present invention, the data format converter 100 (e.g., the second data converter (120)) receives (602) four RGB pixel values for mapping to three RGBG pixel values. Receiving the four RGB pixel values may include receiving video data having a plurality of RGB pixel values corresponding to a plurality of pixels of a display device, and separating (or classifying) the plurality of RGB pixel values into four sets of RGB pixel values each including the four RGB pixel values. The data format converter 100 may map the first three RGB pixel values and the red, green, and blue pixel values of the fourth pixel to each of the four sets of pixel values. According to one embodiment of the present invention, the RGB pixel values may be received from an RGB codec device 200 that decompresses (and / or decodes) the compressed (and / or encoded) RGB pixel values stored in the memory 300.
[0057] According to one embodiment of the invention, data format converter 100 maps the first three RGB pixel values to the red and blue components and the first three green components of an RGBG pixel value (604). Data format converter 100 may do the same as before by mapping the red component of the first three RGB pixel values to the red component of the RGBG pixel value, the blue component of the first three RGB pixel values to the blue component of the RGBG pixel value, and the green component of the first three RGB pixel values to the first three green components of the RGBG pixel value. According to one embodiment of the invention, for each of the red, green, and blue colors, data format converter 100 may map the first, second, and third components of that hue of the first three RGB pixel values to the first, second, and third components of that hue of the RGBG pixel value, respectively.
[0058] According to one embodiment of the present invention, the data format converter 100 maps the red, green, and blue components of the fourth RGB pixel value to the last three green components of the RGBG pixel value according to the mapping pattern (606). According to one embodiment of the present invention, the data format converter 100 may map the red, green, and blue components of the fourth RGB pixel value to the fourth green component, fifth green component, and sixth green component of the RGBG pixel value, respectively.
[0059] Thus, according to one embodiment of the present invention, the data format converter can map the RGBG / Pentile structure to a standard RGB structure, so that the RGB compression algorithm can be used without modification. Such mapping algorithms can be parallelized to increase the speed of the mapping / conversion operation. As a result, the native RGBG data can be stored in the internal codec without modification.
[0060] Although the operations of 500 of FIG. 3a and 600 of FIG. 3b are described in a particular order, the operations of 500 of FIG. 3a and 600 of FIG. 3b are not limited to this order and may be reordered as appropriate, provided that the reordered operations of 500 are the reverse of the reordered operations of 600.
[0061] The terms used in this specification are used to describe specific embodiments and are not intended to limit the present invention. In this specification, unless a number is specifically stated, the singular and plural cases are all included. The term "including" a feature, step, operation, part, component, etc. means that other features, steps, operations, parts, components, etc. may be included in addition to the relevant part. The term "and / or" includes all combinations of one or more of the listed items. In addition, the term "can" used in describing an embodiment of the present invention means that it is applicable to "one or more embodiments of the present invention." Furthermore, the term "exemplary" refers to an example or drawing. The terms "use," "utilization," and the like are used in a similar manner along with other similar terms.
[0062] The terms "first", "second", "third", etc. are used to refer to various elements, components, regions, layers, portions, etc., but the terms "first", "second", "third", etc. are not intended to be limiting of the various elements, components, regions, layers, portions, etc. The terms "various elements, components, regions, layers, portions, etc." are used merely to distinguish one element, component, region, layer, portion from another element, component, region, layer, portion, etc., without departing from the spirit and scope of the present invention.
[0063] When a part, layer, region, component, etc. is described as being "on" or "connected" to another part, layer, region, component, etc., this includes not only being "directly" on or "directly" connected, but also being interposed with other parts, layers, regions, components, etc. However, being "directly on" or "directly connected" means that there are no other parts interposed.
[0064] The compression / decompression system and / or other related devices or portions described in accordance with embodiments of the present invention may be implemented using appropriate hardware, firmware (e.g., application specific integrated circuits), software, or a combination thereof. For example, various components of an independent multi-source display device may be implemented as a single integrated circuit chip, or may be implemented on different integrated circuit chips. Additionally, various components of the compression / decompression system may be implemented on a flexible printed circuit film, a tape carrier package (TCP), a printed circuit board, or the like, or may be formed on a single substrate. Additionally, various components of the compression / decompression system may be processes or threads that may be executed by one or more processors in one or more computing devices that execute computer program instructions and interact with other system elements to perform various functions described in various embodiments of the present invention. The computer program instructions may be stored in a memory device, such as a random access memory (RAM) included in the computing device. Those skilled in the art may combine or integrate the functions of various computing devices into a single computing device, or distribute the functions of a particular computing device to one or more other computing devices, without departing from the concept and scope of the embodiments of the present invention.
[0065] Although the data compression system and data mapping method according to an embodiment of the present invention have been described in detail above, the embodiments described herein are not intended to limit the scope of the present invention. Those skilled in the art can understand that the data compression system and data mapping method according to an embodiment of the present invention can be modified or altered without significantly departing from the principles and scope of the invention defined in the following claims and their equivalents. [Explanation of symbols]
[0066] 10: Data compression system 100: Data format converter 110: First data converter 120: second data converter 200: Codec device 300:Memory 400:Controller
Claims
1. receiving, by a data format converter, three RGBG (red-green-blue-green) pixel values for mapping to four RGB (red-green-blue) pixel values, the RGBG and RGB pixel values including a red component, a green component and a blue component; mapping, by the data format converter, the red and blue components and the first three green components of the three RGBG pixel values to the first three RGB pixel values of the four RGB pixel values; and and mapping the last three green components of the three RGBG pixel values to the red, green, and blue components of a fourth RGB pixel value of the four RGB pixel values by the data format converter.
2. Receiving the three RGBG pixel values receiving, by the data format converter, video data having a plurality of RGBG pixel values corresponding to a plurality of pixels of a display device; 2. The method of claim 1, further comprising: separating, by the data format converter, the plurality of RGBG pixel values into a plurality of sets of RGBG pixel values each including one of the three RGBG pixel values.
3. Separating the plurality of RGBG pixel values includes:
3. The method of claim 2, further comprising: padding a last set of the plurality of RGBG pixel value sets with zeros by the data format converter so that the length of the last set is the same as that of another one of the plurality of RGBG pixel value sets.
4. 3. The mapping method of claim 2, wherein, for each of the plurality of RGBG pixel value sets, the data format converter maps red and blue components and first three green components of the three RGBG pixel values to first three RGB pixel values of the four RGB pixel values, and maps the last three green components of the three RGBG pixel values to red, green, and blue components of a fourth RGB pixel value of the four RGB pixel values.
5. providing, by the data format converter, the mapped RGB pixel values to an RGB codec device; 2. The method of claim 1, wherein the RGB codec device compresses the mapped RGB pixel values to generate compressed RGB values and stores the compressed RGB values in a memory for later use.
6. Mapping the red and blue components of the three RGBG pixel values to the first three green components includes: mapping, by said data format converter, said red component of said three RGBG pixel values to said red component of said first three RGB pixel values; mapping, by the data format converter, the blue component of the three RGBG pixel values to the blue component of the first three RGB pixel values; and 2. The method of claim 1, further comprising mapping, by the data format converter, the first three green components of the three RGBG pixel values to the green components of the first three RGB pixel values.
7. Mapping the red component of the three RGBG pixel values to the red component of the first three RGB pixel values comprises:
7. The method of claim 6, further comprising: mapping, by the data format converter, a first red component, a second red component, and a third red component of the three RGBG pixel values to a first red component, a second red component, and a third red component of the first three RGB pixel values, respectively.
8. Mapping the blue component of the three RGBG pixel values to the blue component of the first three RGB pixel values comprises:
7. The method of claim 6, further comprising: mapping, by the data format converter, a first blue component, a second blue component, and a third blue component of the three RGBG pixel values to a first blue component, a second blue component, and a third blue component of the first three RGB pixel values, respectively.
9. Mapping the first three green components of the three RGBG pixel values to the green components of the first three RGB pixel values comprises:
7. The method of claim 6, further comprising: mapping, by the data format converter, a first green component, a second green component, and a third green component of the three RGBG pixel values to a first green component, a second green component, and a third green component of the first three RGB pixel values, respectively.
10. Mapping the latter three green components of the three RGBG pixel values comprises:
2. The method of claim 1, further comprising mapping a fourth green component, a fifth green component, and a sixth green component of the three RGBG pixel values to the red, green, and blue components of the fourth RGB pixel value, respectively.
11. each of the three RGBG pixel values corresponds to one pixel of a display device; 2. The method of claim 1, wherein each of the three RGBG pixel values includes one red component, two green components and one blue component corresponding respectively to one red sub-pixel, two green sub-pixels and one blue sub-pixel of a pixel of the display device.
12. receiving, by a data format converter, four RGB pixel values for mapping to three RGBG pixel values, each of the three RGBG pixel values including a red component, a green component and a blue component, wherein the first to third RGB pixel values among the four RGB pixel values each include a red component, a green component and a blue component, and the fourth RGB pixel value among the four RGB pixel values includes only a green component; mapping, by the data format converter, the first three of the four RGB pixel values to red and blue components and the first three green components of the three RGBG pixel values; and and mapping a green component of the fourth RGB pixel value to the latter three green components of the three RGBG pixel values according to a mapping pattern by the data format converter.
13. Receiving the four RGB pixel values receiving, by the data format converter, video data having a plurality of RGB pixel values corresponding to a plurality of pixels of a display device; dividing the plurality of RGB pixel values into a plurality of sets of RGB pixel values each including the four RGB pixel values by the data format converter; 13. The method of claim 12, wherein the data format converter maps the first three RGB pixel values and the red, green and blue pixel values of the fourth pixel for each of the plurality of sets of RGB pixel values.
14. Receiving the video data includes:
14. The method of claim 13, further comprising receiving, by the data format converter, the plurality of RGB pixel values from an RGB codec device that decompresses compressed RGB pixel values stored in a memory.
15. Mapping the first three RGB pixel values mapping, by the data format converter, the red component of the first three RGB pixel values to the red component of the first three RGBG pixel values; mapping, by the data format converter, the blue component of the first three RGB pixel values to the blue component of the first three RGBG pixel values; and 13. The method of claim 12, further comprising mapping, by the data format converter, the green components of the first three RGB pixel values to the first three green components of the three RGBG pixel values.
16. Mapping the red component of the first three RGB pixel values to the red component of the first three RGBG pixel values comprises:
16. The method of claim 15, further comprising: mapping, by the data format converter, a first red component, a second red component, and a third red component of the first three RGB pixel values to a first red component, a second red component, and a third red component of the three RGBG pixel values, respectively.
17. Mapping the blue component of the first three RGB pixel values to the blue component of the three RGBG pixel values comprises:
16. The method of claim 15, further comprising: mapping, by the data format converter, a first blue component, a second blue component, and a third blue component of the first three RGB pixel values to a first blue component, a second blue component, and a third blue component of the three RGBG pixel values, respectively.
18. Mapping the green component of the first three RGB pixel values to the first three green components of the three RGBG pixel values comprises:
16. The method of claim 15, further comprising: mapping, by the data format converter, a first green component, a second green component, and a third green component of the first three RGB pixel values to a first green component, a second green component, and a third green component of the three RGBG pixel values, respectively.
19. Mapping the red, green, and blue color components of the fourth RGBG pixel value 13. The method of claim 12, further comprising mapping red, green and blue components of the fourth RGB pixel value to fourth, fifth and sixth green components of the three RGBG pixel values, respectively.
20. Memory, a data format converter that receives RGBG (red-green-blue-green) image data and generates RGB (red-green-blue) image data corresponding to the RGBG image data; and a codec device for compressing the RGB image data and storing the compressed RGB image data in the memory; The data format converter includes: receiving three RGBG pixel values of the RGBG image data for mapping to four RGB pixel values of the RGB image data (the RGBG and RGB pixel values include a red component, a green component and a blue component); and mapping the red and blue components and the first three green components of the three RGBG pixel values to the first three RGB pixel values of the four RGB pixel values; A data compression system that maps the last three green components of said RGBG pixel values to the red, green and blue components of a fourth RGB pixel value of said four RGB pixel values.
Citation Information
Patent Citations
Apparatus and method for processing image, program and recording medium
JP2011015347A
Image encoder and control method and program thereof
JP2018082252A
Image data compression device and decompression device and image data compression program and decompression program
WO2004056084A1