Data compression systems and data mapping methods
By using a data format converter, image data in RGBG format is losslessly mapped to RGB format, solving the problem of format incompatibility between codec devices and achieving efficient data format conversion and storage.
Patent Information
- Application Number
- CN202010951573.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-10-18
- Filing Date
- 2020-09-11
- Publication Date
- 2025-10-31
- Estimated Expiration
- 2040-09-11
AI Technical Summary
Existing codec devices typically can only handle specific data formats, such as RGB or RGBG, making it difficult to efficiently convert image data from one format to another, resulting in data processing incompatibility issues.
The data is mapped from RGBG format to RGB format and vice versa using a data format converter. The lossless and reversible mapping method is used, which includes mapping the red, blue and green components of RGBG pixel values to the corresponding components of RGB pixel values, and then using a codec device for compression and storage.
It achieves lossless conversion between different data formats, improves the compatibility and efficiency of data processing, and enables the storage and processing of image data in multiple formats without changing the codec device.
Smart Images

Figure CN112492309B_ABST
Abstract
Description
[0001] Cross-reference to related applications
[0002] This application claims priority and benefit to U.S. Provisional Application No. 62 / 898,884, filed September 11, 2019 (“SYSTEM ANDMETHOD FOR RGBG / PENTILE COMPRESSION”), the entire contents of which are incorporated herein by reference.
[0003] This application also relates to U.S. Patent Application No. 16 / 542,233, filed August 15, 2019, which claims priority and benefit to U.S. Provisional Patent Application No. 62 / 851,872, filed May 23, 2019, entitled “REDUNDANCY ASSISTED NOISE CONTROL FOR ACCUMULATED ITERATIVE COMPRESSION ERROR”, the entire contents of which are hereby expressly incorporated herein by reference.
[0004] This application also relates to U.S. Patent No. 10,115,117, issued October 30, 2018, which claims priority and benefit to U.S. Provisional Patent Application No. 62 / 412,026, filed October 24, 2016 (“Online Texture Compression and Decompression in Hardware”) and U.S. Provisional Application No. 62 / 018,178, filed June 27, 2014, the entire contents of which are incorporated herein by reference. Technical Field
[0005] The embodiments of this disclosure generally relate to memory compression and decompression systems. Background Technology
[0006] Currently, the computing field appears to be experiencing a general increase in data. For example, in some applications such as video processing, the generated data seems to be growing at an exponential rate. In some cases, this rate of data growth has exceeded the increase in storage system capacity. Therefore, many computing systems store data in compressed form. Since the stored data may need to be used in uncompressed form, there is a need to decompress it before it can be further processed.
[0007] In high-definition display devices, image compression is frequently used to reduce transmission bandwidth and memory utilization. Such display devices may have an internal codec that performs image compression and decompression operations. This codec may be designed to handle only specific data formats (e.g., red-green-blue (RGB) data or red-green-blue-green (RGBG) data) and may not be suitable for handling data formats not designed for it. For example, an RGB codec may not be suitable for processing input RGBG image data.
[0008] The desired device is one that can efficiently convert data in one format into another format that matches the internal codec.
[0009] The information disclosed above in the background section is only intended to enhance the understanding of this disclosure, and therefore may contain information that does not constitute prior art known to those skilled in the art. Summary of the Invention
[0010] This disclosure is generally directed to a data format converter capable of efficiently and losslessly mapping RGBG (red, green, blue, green) data format to RGB (red, green, blue) data format and vice versa.
[0011] According to some embodiments of this disclosure, a method is provided for mapping red-green-blue-green (RGBG) format data to red-green-blue (RGB) format data. The method includes: receiving three RGBG pixel values for mapping to four RGB pixel values via a data format converter, wherein the three RGBG pixel values and the four RGB pixel values include a red component, a green component, and a blue component; mapping the red component and blue component of the three RGBG pixel values and the first three green components to the first three RGB pixel values among the four RGB pixel values via the data format converter; and mapping the last three green components of the three RGBG pixel values to the red component, green component, and blue component of the fourth RGB pixel value among the four RGB pixel values via the data format converter, according to a mapping mode.
[0012] In some embodiments, receiving three RGBG pixel values includes: receiving image data comprising multiple RGBG pixel values corresponding to multiple pixels of a display device via a data format converter; and dividing the multiple RGBG pixel values into sets of three RGBG pixel values, each set comprising three RGBG pixel values via the data format converter.
[0013] In some embodiments, dividing multiple RGBG pixel values includes: using a data format converter to zero-padded the last set of the three RGBG pixel values so that the length of the last set of the three RGBG pixel values is equal to the length of another set of the three RGBG pixel values.
[0014] In some embodiments, the data format converter is configured to: for each of the sets of three RGBG pixel values, perform mapping of the red and blue components of the three RGBG pixel values and the first three green components, and perform mapping of the last three green components of the three RGBG pixel values.
[0015] In some embodiments, the method further includes: supplying the mapped RGB pixel values to a codec device via a data format converter, the codec device being configured to: compress the mapped RGB pixel values to generate compressed RGB values, and storing the compressed RGB values in a memory for later retrieval.
[0016] In some embodiments, mapping the red and blue components of the three RGBG pixel values and the first three green components includes: mapping the red components of the three RGBG pixel values to the red components of the first three RGB pixel values using a data format converter; mapping the blue components of the three RGBG pixel values to the blue components of the first three RGB pixel values using a data format converter; and mapping the first three green components of the three RGBG pixel values to the green components of the first three RGB pixel values using a data format converter.
[0017] In some embodiments, mapping the red components of three RGBG pixel values to the red components of the first three RGB pixel values includes: mapping the first red component, the second red component, and the third red component of the three RGBG pixel values to the first red component, the second red component, and the third red component of the first three RGB pixel values, respectively, using a data format converter.
[0018] In some embodiments, mapping the blue components of three RGBG pixel values to the blue components of the first three RGB pixel values includes: mapping the first, second, and third blue components of the three RGBG pixel values to the first, second, and third blue components of the first three RGB pixel values, respectively, using a data format converter.
[0019] In some embodiments, mapping the first three green components of the three RGBG pixel values to the green components of the first three RGB pixel values includes: mapping the first green component, the second green component, and the third green component of the three RGBG pixel values to the first green component, the second green component, and the third green component of the first three RGB pixel values, respectively, through a data format converter.
[0020] In some embodiments, mapping the last three green components of the three RGBG pixel values includes mapping the fourth, fifth, and sixth green components of the three RGBG pixel values to the red, green, and blue components of the fourth RGB pixel value, respectively.
[0021] In some embodiments, each of the three RGBG pixel values corresponds to a pixel of the display, and wherein each of the three RGBG pixel values includes a red component, two green components and a blue component corresponding to a red sub-pixel, two green sub-pixels and one blue sub-pixel of a pixel of the display.
[0022] According to some embodiments of this disclosure, a method is provided for mapping red-green-blue (RGB) format data to red-green-blue-green (RGBG) format data. The method includes: receiving four RGB pixel values for mapping to three RGBG pixel values via a data format converter, wherein the four RGB pixel values and the three RGBG pixel values include a red component, a green component, and a blue component; mapping the first three RGB pixel values among the four RGB pixel values to the red component, the blue component, and the first three green components of the three RGBG pixel values via the data format converter; and mapping the red component, the green component, and the blue component of the fourth RGB pixel value among the four RGB pixel values to the last three green components of the three RGBG pixel values via the data format converter according to a mapping mode.
[0023] In some embodiments, receiving four RGB pixel values includes: receiving image data comprising multiple RGB pixel values corresponding to multiple pixels of a display device via the data format converter; and dividing the multiple RGB pixel values into sets of four RGB pixel values via the data format converter, each set comprising four RGB pixel values, wherein the data format converter is configured to: perform mapping of the red, green, and blue components of the first three RGB pixel values and the fourth RGB pixel value for each set of the four RGB pixel values.
[0024] In some embodiments, receiving image data includes receiving a plurality of RGB pixel values from a codec device configured to decompress compressed RGB pixel values stored in memory via the data format converter.
[0025] In some embodiments, mapping the first three RGB pixel values includes: mapping the red components of the first three RGB pixel values to the red components of the three RGBG pixel values using a data format converter; mapping the blue components of the first three RGB pixel values to the blue components of the three RGBG pixel values using a data format converter; and mapping the green components of the first three RGB pixel values to the first three green components of the three RGBG pixel values using a data format converter.
[0026] In some embodiments, mapping the red components of the first three RGB pixel values to the red components of the three RGBG pixel values includes: mapping the first red component, the second red component, and the third red component of the first three RGB pixel values to the first red component, the second red component, and the third red component of the three RGBG pixel values respectively using a data format converter.
[0027] In some embodiments, mapping the blue components of the first three RGB pixel values to the blue components of the three RGBG pixel values includes: mapping the first, second, and third blue components of the first three RGB pixel values to the first, second, and third blue components of the three RGBG pixel values respectively using a data format converter.
[0028] In some embodiments, mapping the green components of the first three RGB pixel values to the first three green components of the three RGBG pixel values includes: mapping the first green component, the second green component, and the third green component of the first three RGB pixel values to the first green component, the second green component, and the third green component of the three RGBG pixel values, respectively, through the data format converter.
[0029] In some embodiments, the mapping of the red, green, and blue components of the fourth RGB pixel value includes mapping the red, green, and blue components of the fourth RGB pixel value to the fourth, fifth, and sixth green components of the three RGBG pixel values, respectively.
[0030] According to some embodiments of this disclosure, a data compression system is provided, comprising: a memory; a data format converter configured to: receive red-green-blue-green (RGBG) image data and generate red-green-blue (RGB) image data corresponding to the RGBG image data; and a codec device configured to: compress RGB image data and store the compressed RGB image data in the memory, wherein the data format converter is further configured to perform: receiving three RGBG pixel values of the RGBG image data for mapping to four RGB pixel values of the RGB image data, the three RGBG pixel values and the four RGB pixel values including a red component, a green component and a blue component; mapping the red component and blue component of the three RGBG pixel values and the first three green components to the first three RGB pixel values among the four RGB pixel values; and mapping the last three green components of the three RGBG pixel values to the red component, green component and blue component of the fourth RGB pixel value among the four RGB pixel values according to a mapping mode. Attached Figure Description
[0031] The figures are not necessarily drawn to scale, and for illustrative purposes, elements with similar structures or functions are generally represented by the same reference numerals throughout the figures. The figures are intended only to aid in the description of the various embodiments described herein. The figures do not depict every aspect of the teachings disclosed herein and do not limit the scope of the claims. The figures, together with the specification, illustrate exemplary embodiments of the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0032] Figure 1 A block diagram illustrating a data compression system according to some example embodiments of the present disclosure is shown.
[0033] Figure 2A The illustration shows a mapping of RGBG pixel values to RGB pixel values according to some example embodiments of the present disclosure.
[0034] Figure 2B The illustration shows a mapping of RGB pixel values to RGBG pixel values according to some example embodiments of the present disclosure.
[0035] Figure 3A The illustration shows a process for mapping RGBG format data to RGB format data according to some example embodiments of the present disclosure.
[0036] Figure 3B The illustration shows a process for mapping RGB format data to RGBG format data according to some example embodiments of the present disclosure. Detailed Implementation
[0037] The detailed description set forth below is intended as a description of exemplary embodiments of systems and methods for data compression provided in this disclosure, and is not intended to represent the only form in which this disclosure can be constructed or utilized. The description, in conjunction with the illustrated embodiments, illustrates the features of this disclosure. However, it is to be understood that the same or equivalent functionality and structure may be performed by different embodiments, also intended to be included within the scope of this disclosure. As indicated elsewhere herein, the same reference numerals are intended to indicate the same elements or features.
[0038] Display devices may include codecs capable of efficiently encoding / decoding specific types of data. However, such codecs may not be suitable for operating on different types of data. For example, an RGB codec capable of performing compression / decompression operations on red-green-blue (RGB) image data may not be suitable for processing image data in red-green-blue-green (RGBG) format.
[0039] This disclosure is generally directed to a system and method for losslessly converting data in one format (e.g., RGBG / RGB) to data in another format (e.g., RGB / RGBG).
[0040] Figure 1 A block diagram illustrating a data compression system 10 according to some example embodiments of the present disclosure is shown.
[0041] Reference Figure 1 The data compression system 10 includes a data format converter 100, a codec device 200, and a memory 300. In some embodiments, the data format converter 100 is configured to transform image data in a first format (e.g., RGBG data) into image data in a second format (e.g., RGB data) and vice versa. The codec device 200 can compress and / or encode the image data in the second format to reduce its size and store the resulting data in the memory 300 for later retrieval. The codec device 200 can also perform the reverse operation (e.g., decompress and / or decode) on the stored data to obtain the original image data in the second format.
[0042] According to some embodiments, the data format converter 100 includes a first converter (e.g., an RGBG to RGB converter) 110, which receives data in a first format (e.g., RGBG format) from an input device and converts it to a second format (e.g., RGB format) for further processing (e.g., via codec device 200). In some examples, the data in the first format received from the input device may be the result of a mura compensation algorithm or a stress distribution algorithm. The data format converter 100 further includes a second converter (e.g., an RGB to RGBG converter) 120, which receives data in the second format (e.g., RGB format) from the codec device 200 and converts it to the first format (e.g., RGBG format), which may be used, for example, in mura compensation or stress distribution compensation. The operations performed by the first converter 110 and the second converter 120 are completely lossless and reversible.
[0043] In some examples, the mapping operation of the data format converter 100 and the compression / encoding (or encryption) operation of the codec device 200 can be controlled by the controller 400. For example, when input RGBG data is ready to be stored in memory 300, the controller 400 may prompt the data format converter 100 to map the RGBG data to standard RGB data, and prompt the codec device 200 (e.g., compression / encoding circuit 210) to subsequently process (e.g., compress and / or encode (or encrypt)) the mapped RGB data for storage at memory 300. Similarly, when it is desired to retrieve previously stored RGBG data, the controller 400 prompts the codec device 200 (e.g., decompression / decoding circuit 220) to process (e.g., decompress and / or decode (or decrypt)) the corresponding RGB data stored at memory 300 to generate R'G'B' data, and prompts the data format converter 100 to map the R'G'B' data back to RGBG configuration and 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 (or encryption / decryption)), R'G'B'G' data is equivalent to the original RGBG data because the mapping operation performed by the data format converter 100 is completely lossless and reversible. However, in examples where the codec device 200 performs lossy operations (e.g., lossy compression / decompression and / or lossy encryption / decryption), the R'G'B'G' data may differ slightly from the original RGBG data.
[0044] Figure 2A The illustration shows a mapping of RGBG pixel values to RGB pixel values according to some example embodiments of the present disclosure. Figure 2BThe illustration shows a mapping of RGB pixel values to RGBG pixel values according to some example embodiments of the present disclosure.
[0045] According to some embodiments, such as Figure 2A As shown, the first converter 110 receives a set of three RGBG pixel values to map to a set of four RGB pixel values. The three RGBG pixel values include three red components, three blue components, and six green components. Therefore, the set of three red components, three green components, and three blue components can be mapped one-to-one 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 a single (e.g., a fourth) RGB pixel value. This one-to-one transformation is completely lossless and reversible. That is, the inverse mapping can be applied to map the four resulting RGB pixel values from the above process to obtain the original set of three RGBG pixel values.
[0046] like Figure 2A As shown, according to some embodiments, 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 in the following manner: mapping the red component of the three RGBG pixel values to the red component of the first three RGB pixel values; mapping the blue component of the three RGBG pixel values to the blue component of the first three RGB pixel values; mapping the first three green components (i.e., the green components of the first three half-pixel values) of the six green components of the three RGBG pixel values to the green components of the first three RGB pixel values; and, according to a first mapping mode, mapping the last three green components (i.e., the green components of the last three half-pixel values) of the six green components of the three RGBG pixel values to the red, green, and blue components of the fourth RGB pixel value. The first mapping mode can be any suitable one-to-one mapping from three elements to three elements.
[0047] like Figure 2B As shown, according to some embodiments, 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 in the following manner: mapping the red component of the first three RGB pixel values to the red component of the three RGBG pixel values; mapping the blue component of the first three RGB pixel values to the blue component of the three RGBG pixel values; mapping the three green components of the first three RGB pixel values to the first three green components of the six green components of the three RGBG pixel values (i.e., the green components of the first three half-pixel values); and according to a second mapping mode opposite to the first mapping mode, mapping the red, green, and blue components of the fourth RGB pixel value to the last three green components of the six green components of the three RGBG pixel values (i.e., the green components of the last three half-pixel values).
[0048] The RGBG to RGB and RGB to RGBG mapping operations described above can be easily parallelized in blocks of three RGBG pixel values (or equivalently, blocks of four RGB pixel values) to accelerate the format conversion process for large sets of RGBG or RGB data. That is, the first converter 110 may include multiple RGBG to RGB converters, each operating on three RGB pixel values to generate four RGB pixel values. Similarly, the second converter 120 may include multiple RGB to RGBG converters, each operating on four RGB pixel values to generate three RGBG pixel values.
[0049] Figure 2A The mapping process can be represented in pseudocode as follows:
[0050]
[0051] Here, `srcR`, `srcG`, and `srcB` are one-dimensional arrays, which can be concatenations of two-dimensional color channel data corresponding to the red, green, and blue channels of the image data in RGBG format, respectively. Therefore, each element of `srcR`, `srcG`, and `srcB` represents the red, green, and blue value of a pixel on the display, respectively. Similarly, `dstR`, `dstB`, and `dstG` are one-dimensional arrays corresponding to the red, green, and blue channels of the mapped RGB data. The parameter `image_width` represents the width of the target RGB image data (i.e., the number of pixels along the horizontal lines of the image data), and the parameter `image_height` represents the height of the image data (i.e., the number of horizontal lines constituting the image data). The parameters `swR`, `swG`, and `swB` represent the number of red, green, and blue components in the horizontal lines of the RGBG pixels of the image data, respectively. Since the green component in an RGBG pixel is twice the number of red and blue components, the number of elements in `srcG` is twice the number of elements in `srcB` and `srcR`, and the value of `swG` is twice the value of `swR` and `swB`. Values A, B, and C define the first mapping pattern and can be any permutation of 3, 4, and 5. Figure 2A In the example, the values A, B, and C are 3, 4, and 5, respectively; however, embodiments of this disclosure are not limited thereto. For example, A, B, and C can be 4, 3, 5, or 5, 3, 4, etc.
[0052] Similarly, according to some embodiments, Figure 2B The mapping process that is the reverse of the operations provided above can be represented in pseudocode as follows:
[0053]
[0054] In some examples, codec device 200 and memory 300 may be part of a system for determining and compensating for stress distribution in a display device, which can reduce or eliminate display output degradation by mitigating the effects of pixel degradation / aging in the display device. In other examples, codec device 200 and memory 300 may be part of a system capable of improving rendering performance while reducing power consumption by compressing the image during the rendering process. Compression may be lossless or near-lossless so as not to affect the rendering results and to ensure that compression and decompression remain transparent to the end user and application.
[0055] When the compression utilized by the codec device 200 depends on the spatial correlation of color components (i.e., it is lossy compression), the RGBG to RGB mapping described above may result in a slight decrease in compression performance due to the spatial decorrelation of some green subpixels / components in the green subpixels / components.
[0056] Therefore, in the case of lossy compression / decompression by codec device 200, although lossless transformation is performed by data format converter 100, the RGBG pixel values processed and stored by processing system 10 can also be retrieved as R'G'B'G' pixel values, which may be slightly different from the original RGBG pixel values.
[0057] Figure 3A The illustration shows a process 500 for mapping RGBG format data to RGB format data according to some example embodiments of the present disclosure.
[0058] Reference Figure 3A According to some embodiments, data format converter 100 (e.g., first converter 110) receives three RGBG pixel values (502) for mapping to four RGB pixel values. Receiving the three RGBG pixel values may include: receiving image data comprising multiple RGBG pixel values corresponding to multiple pixels of a display device; and dividing (or grouping) the multiple RGBG pixel values into sets of three RGBG pixel values comprising the three RGBG pixel values. In some examples, dividing the multiple RGBG pixel values may include: zero-padding the last set of the sets of three RGBG pixel values with zeros so that the length of the last set of the sets of three RGBG pixel values is equal to the length of another set of the sets of three RGBG pixel values. RGBG pixel values and RGB pixel values include red, green, and blue components.
[0059] In some embodiments, the data format converter 100 maps the red and blue components of an RGBG pixel value, along with the first three green components, to the first three RGB pixel values (504). The data format converter 100 can do this for each set of the three RGBG pixel values. The data format converter 100 can do this by mapping the red component of an RGBG pixel value to the red component of the first three RGB pixel values, mapping the blue component of an RGBG pixel value to the blue component of the first three RGB pixel values, and mapping the first three green components of an RGBG pixel value one-to-one to the green component of the first three RGB pixel values. In some examples, for each of the red, green, and blue colors, the data format converter 100 can map the first, second, and third components of that color of the RGBG pixel value to the first, second, and third components of that color of the first three RGB pixel values, respectively.
[0060] According to some embodiments, the data format converter 100 maps the last three green components of an RGBG pixel value to the red, green, and blue components of a fourth RGB pixel value according to a mapping mode (506). The data format converter 100 can map the fourth, fifth, and sixth green components of an RGBG pixel value to the red, green, and blue components of a fourth RGB pixel value, respectively.
[0061] In some embodiments, the data format converter 100 then supplies the mapped RGB pixel values to the codec device 200, which is configured to: compress (and / or encode) the mapped RGB pixel values to generate compressed (and / or encoded) RGB values, and store the compressed (and / or encoded) RGB values in memory 300 for later retrieval.
[0062] As described in this article, each RGBG pixel value in the RGBG pixel value can correspond to a pixel of the display, and each RGBG pixel value in the RGBG pixel value includes a red component, two green components and a blue component corresponding to a red sub-pixel, two green sub-pixels and one blue sub-pixel of the pixel of the display.
[0063] Figure 3B The illustration shows a process 600 for mapping RGB format data to RGBG format data according to some example embodiments of the present disclosure.
[0064] Reference Figure 3BAccording to some embodiments, data format converter 100 (e.g., second data converter 120) receives four RGB pixel values (602) for mapping to three RGBG pixel values. Receiving the four RGB pixel values may include: receiving image data comprising multiple RGB pixel values corresponding to multiple pixels of a display device; and dividing (or grouping) the multiple RGB pixel values into sets of four RGB pixel values comprising the four RGB pixel values. Data format converter 100 may perform mapping of the first three RGB pixel values and the red, green, and blue components of the fourth RGB pixel value for each set of four RGB pixel values. In some examples, data format converter 100 may receive RGB pixel values from a codec device 200 configured to decompress (and / or decode) compressed (and / or encoded) RGB pixel values stored in memory 300.
[0065] In some embodiments, the data format converter 100 maps the first three RGB pixel values to the red and blue components of the RGBG pixel values and the first three green components (604). The data format converter 100 can do this by mapping the red component of the first three RGB pixel values to the red component of the RGBG pixel values, mapping the blue component of the first three RGB pixel values to the blue component of the RGBG pixel values, and mapping the green component of the first three RGB pixel values to the first three green components of the RGBG pixel values. In some examples, for each of the red, green, and blue colors, the data format converter 100 can map the first, second, and third components of that color in the first three RGB pixel values to the first, second, and third components of that color in the RGBG pixel values, respectively.
[0066] According to some embodiments, 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 (606) according to a mapping pattern. In some examples, the data format converter 100 may do this by mapping the red, green, and blue components of the fourth RGB pixel value to the fourth, fifth, and sixth green components of the RGBG pixel value, respectively.
[0067] Accordingly, according to some embodiments, the data format converter enables the mapping of RGBG / cellular configurations to standard RGB configurations, allowing the use of RGB compression algorithms without modification. This mapping algorithm is easily parallelized to improve the speed of mapping / conversion operations. These and other aspects enable the storage of native RGBG data without modifying the internal codec.
[0068] As will be appreciated by those skilled in the art, although the operations of processes 500 and 600 are described in a specific order, the embodiments of this disclosure are not limited thereto, and the order of the described operations can be changed in any suitable form, as long as the reordered process 500 is the reverse of the reordered process 600.
[0069] The terminology used herein is for the purpose of describing particular embodiments and is not intended to limit the inventive concept. As used herein, the singular form “a” is intended to include the plural form as well, unless the context clearly indicates otherwise. It will be further understood that, when used in this specification, the terms “comprising” and / or “including” specify the presence of the stated features, integers, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof. As used herein, “and / or” includes any and all combinations of one or more of the associated listed items. Furthermore, when describing embodiments of the inventive concept, the use of “may” refers to “one or more embodiments of the inventive concept.” Additionally, the term “exemplary” is intended to indicate an example or illustration.
[0070] It will be understood that although the terms “first,” “second,” “third,” etc., may be used herein to describe various elements, components, regions, layers, and / or portions, these elements, components, regions, layers, and / or portions should not be limited by these terms. These terms are used to distinguish one element, component, region, layer, or portion from another element, component, region, layer, or portion. Therefore, without departing from the spirit and scope of the inventive concept, the first element, component, region, layer, or portion discussed below may be referred to as the second element, component, region, layer, or portion.
[0071] It will be understood that when a component or layer is referred to as being "on," "connected to," "coupled to," or "adjacent to" another component or layer, it can be directly on, directly connected to, directly coupled to, or immediately adjacent to that other component or layer, or one or more intermediate components or layers may exist. When a component or layer is referred to as being "directly" on, directly connected to, directly coupled to, or immediately adjacent to another component or layer, there are no intermediate components or layers.
[0072] As used herein, the terms “use,” “in use,” and “being used” can be considered synonymous with “exploitation,” “being exploited,” and “being exploited,” respectively.
[0073] According to embodiments of this disclosure described herein, the compression / decompression system and / or any other related device or component can be implemented using any suitable hardware, firmware (e.g., application-specific integrated circuit), software, or a suitable combination of software, firmware, and hardware. For example, the various components of an independent multi-source display device can be formed on a single integrated circuit (IC) chip or on separate IC chips. Furthermore, the various components of the compression / decompression system can be implemented on a flexible printed circuit film, a tape-on-a-chip (TCP), a printed circuit board (PCB), or formed on the same substrate. Furthermore, the various components of the compression / decompression system can be processes or threads that run on one or more processors in one or more computing devices, execute computer program instructions, and interact with other system components to perform the various functions described herein. The computer program instructions are stored in memory, which can be implemented in the computing device using standard memory devices such as, for example, random access memory (RAM). The computer program instructions can also be stored in other non-transitory computer-readable media such as, for example, CD-ROMs, flash memory, etc. Furthermore, those skilled in the art will recognize that, without departing from the scope of exemplary embodiments of this disclosure, the functions of various computing devices may be combined or integrated into a single computing device, or the functions of a particular computing device may be distributed across one or more other computing devices.
[0074] Although this disclosure has been described in detail with reference to illustrative embodiments thereof, the embodiments described herein are not intended to be exhaustive or to limit the scope of this disclosure to the exact forms disclosed. Those skilled in the art to which this disclosure pertains will understand that modifications and alterations to the described structures and methods of assembly and operation may be practiced without intentionally departing from the principles and scope set forth in the following claims and their equivalents.
Claims
1. A method for mapping red-green-blue-green RGBG format data to red-green-blue RGB format data, the method comprising: The data format converter receives three RGBG pixel values for mapping to four RGB pixel values, wherein the three RGBG pixel values and the four RGB pixel values include a red component, a green component and a blue component; The data format converter maps the red and blue components of the three RGBG pixel values and the first three green components to the first three RGB pixel values among the four RGB pixel values, where each of the first three RGB pixel values has a continuous red, green and blue data format. as well as The data format converter maps the last three green components of the three RGBG pixel values to the red, green, and blue components of the fourth RGB pixel value among the four RGB pixel values, according to the mapping mode.
2. The method according to claim 1, wherein, Receiving the three RGBG pixel values includes: The data format converter receives image data including multiple RGBG pixel values corresponding to multiple pixels of the display device; and The data format converter divides the plurality of RGBG pixel values into three sets of RGBG pixel values, each set including the three RGBG pixel values.
3. The method according to claim 2, wherein, Dividing the multiple RGBG pixel values includes: The data format converter fills the last set of the three RGBG pixel value sets with zeros, so that the length of the last set of the three RGBG pixel value sets is equal to the length of the other set of the three RGBG pixel value sets.
4. The method according to claim 2, wherein, The data format converter is configured to: for each of the sets of the three RGBG pixel values, perform the mapping of the red component and the blue component of the three RGBG pixel values and the first three green components, and perform the mapping of the last three green components of the three RGBG pixel values.
5. The method of claim 1, further comprising: The data format converter supplies the mapped RGB pixel values to a codec device configured to compress the mapped RGB pixel values to generate compressed RGB values, and to store the compressed RGB values in a memory for later retrieval.
6. The method according to claim 1, wherein, The mapping of the red and blue components of the three RGBG pixel values, as well as the first three green components, includes: The data format converter maps the red component of the three RGBG pixel values to the red component of the first three RGB pixel values. The data format converter maps the blue component of the three RGBG pixel values to the blue component of the first three RGB pixel values; and The data format converter maps the first three green components of the three RGBG pixel values to the green components of the first three RGB pixel values.
7. The method according to claim 6, wherein, The step of mapping the red component of the three RGBG pixel values to the red component of the first three RGB pixel values includes: The data format converter maps the first red component, the second red component, and the third red component of the three RGBG pixel values to the first red component, the second red component, and the third red component of the first three RGB pixel values, respectively.
8. The method according to claim 6, wherein, The step of mapping the blue component of the three RGBG pixel values to the blue component of the first three RGB pixel values includes: The data format converter maps the first blue component, the second blue component, and the third blue component of the three RGBG pixel values to the first blue component, the second blue component, and the third blue component of the first three RGB pixel values, respectively.
9. The method according to claim 6, wherein, The step of mapping the first three green components of the three RGBG pixel values to the green components of the first three RGB pixel values includes: The data format converter maps the first green component, the second green component, and the third green component of the three RGBG pixel values to the first green component, the second green component, and the third green component of the first three RGB pixel values, respectively.
10. The method according to claim 1, wherein, The last three green components that map the three RGBG pixel values include: The fourth, fifth, and sixth green components of the three RGBG pixel values are mapped to the red, green, and blue components of the fourth RGB pixel value, respectively.
11. The method according to claim 1, wherein, Each of the three RGBG pixel values corresponds to a pixel on the display, and Each of the three RGBG pixel values includes a red component, two green components, and a blue component corresponding to a red sub-pixel, two green sub-pixels, and a blue sub-pixel of the pixel on the display.
12. A method for mapping red-green-blue RGB format data to red-green-blue-green RGBG format data, the method comprising: The data format converter receives four RGB pixel values for mapping to three RGBG pixel values, wherein the four RGB pixel values and the three RGBG pixel values include a red component, a green component and a blue component; The data format converter maps the first three RGB pixel values of the four RGB pixel values to the red component, the blue component, and the first three green components of the three RGBG pixel values, wherein each of the first three RGB pixel values has a continuous red, green, and blue data format. as well as The data format converter maps the red, green, and blue components of the fourth RGB pixel value among the four RGB pixel values to the last three green components of the three RGBG pixel values according to the mapping mode.
13. The method according to claim 12, wherein, Receiving the four RGB pixel values includes: The data format converter receives image data including multiple RGB pixel values corresponding to multiple pixels of the display device; and The data format converter divides the plurality of RGB pixel values into four sets of RGB pixel values, each set including the four RGB pixel values. The data format converter is configured to perform the mapping of the red, green and blue components of the first three RGB pixel values and the fourth RGB pixel value for each of the four sets of RGB pixel values.
14. The method according to claim 13, wherein, Receiving the image data includes: The plurality of RGB pixel values are received from a codec device configured to decompress compressed RGB pixel values stored in memory via the data format converter.
15. The method according to claim 12, wherein, Mapping the first three RGB pixel values includes: The data format converter maps the red component of the first three RGB pixel values to the red component of the three RGBG pixel values. The data format converter maps the blue component of the first three RGB pixel values to the blue component of the three RGBG pixel values; and The data format converter maps the green component of the first three RGB pixel values to the first three green components of the three RGBG pixel values.
16. The method according to claim 15, wherein, The step of mapping the red component of the first three RGB pixel values to the red component of the three RGBG pixel values includes: The data format converter maps the first red component, the second red component, and the third red component of the first three RGB pixel values to the first red component, the second red component, and the third red component of the three RGBG pixel values, respectively.
17. The method according to claim 15, wherein, The step of mapping the blue component of the first three RGB pixel values to the blue component of the three RGBG pixel values includes: The data format converter maps the first blue component, the second blue component, and the third blue component of the first three RGB pixel values to the first blue component, the second blue component, and the third blue component of the three RGBG pixel values, respectively.
18. The method according to claim 15, wherein, The step of mapping the green component of the first three RGB pixel values to the first three green components of the three RGBG pixel values includes: The data format converter maps the first green component, the second green component, and the third green component of the first three RGB pixel values to the first green component, the second green component, and the third green component of the three RGBG pixel values, respectively.
19. The method according to claim 12, wherein, The red component, the green component, and the blue component that map the fourth RGB pixel value include: The red, green, and blue components of the fourth RGB pixel value are mapped to the fourth, fifth, and sixth green components of the three RGBG pixel values, respectively.
20. A data compression system, comprising: Memory; A data format converter, configured to receive red-green-blue-green RGBG image data and generate red-green-blue RGB image data corresponding to the RGBG image data; as well as A codec device configured to: compress the RGB image data and store the compressed RGB image data in the memory. The data format converter is further configured to perform: The RGBG image data is received for mapping to three RGBG pixel values of the four RGB pixel values of the RGB image data, wherein the three RGBG pixel values and the four RGB pixel values include a red component, a green component, and a blue component; The red and blue components of the three RGBG pixel values, along with the first three green components, are mapped to the first three RGB pixel values among the four RGB pixel values, where each of the first three RGB pixel values has a continuous red, green, and blue data format. as well as According to the mapping mode, the last three green components of the three RGBG pixel values are mapped to the red component, the green component, and the blue component of the fourth RGB pixel value among the four RGB pixel values.
Citation Information
Patent Citations
Obtaining and using vehicle related data
US10115117B2
Redundancy assisted noise control for accumulated iterative compression error
US20200372858A1
Image data compressing and decompressing methods and display driving device using same
CN102542969A