Image data processing device and method
Through sub-pixel rendering technology and encoding processing, the problem of high power consumption in high-resolution image transmission is solved, more efficient image data transmission and processing is achieved, and user experience and device performance are improved.
Patent Information
- Application Number
- CN202410756927.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2019-03-22
- Publication Date
- 2024-08-23
AI Technical Summary
When displaying high-resolution images, existing technology is difficult to effectively reduce the power consumption of the display device, resulting in poor user experience and reduced device performance.
Sub-pixel rendering (SPR) technology is used to convert the original image data into a sub-pixel rendering image and encode it through the application processor (AP) to reduce the amount of data, transmission bandwidth and power consumption, using the display driver integrated circuit ( DDIC) for decoding and display.
Through sub-pixel rendering technology, the amount of image data and the bandwidth and power consumption required for transmission are significantly reduced, the performance of the image processing device is improved, the hardware logic area and cost are reduced, and the quality and efficiency of image display are improved.
Smart Images

Figure CN118540494A
Abstract
Description
[0001] This application is a divisional application. The application number of the original application is 201980092287.6, and the original application date is March 22, 2019. The entire contents of the original application are incorporated into this application by reference. Technical Field
[0002] The present application relates to the field of display technology, and in particular to a device and method for image data processing. Background Art
[0003] In order to provide users with a better experience, the current market has increasingly higher requirements for display panels, such as requiring display panels to have high resolution, high contrast, and wide color gamut, and also requiring display panels to have faster response speed, be thinner, have lower power consumption, and be foldable. In a display device, image processing and image display are usually completed by different modules, and the processed image data needs to be sent from the image processing module to the image display module for display. As the display resolution of the display panel increases, the amount of data to be displayed also increases significantly, so the bandwidth and power consumption required to transmit the image data to be displayed from the image processing module to the image display module also increase accordingly.
[0004] How to reduce the power consumption of a display device as much as possible while displaying high-resolution images is crucial to improving user experience and meeting user needs. Summary of the invention
[0005] The embodiments of the present application provide an apparatus and method for processing image data, which are used to reduce the bandwidth and power consumption of image data transmission.
[0006] In a first aspect, the present application provides an image data processing device, which includes: an application processor AP, a display driver integrated circuit DDIC and a transmission interface; the AP is used to perform sub-pixel rendering SPR on an original image to be displayed to obtain an SPR image, and the SPR image can be displayed on a sub-pixel arrangement SPA display screen, the number of physical sub-pixels of the SPA display screen is less than the number of sub-pixels of the original image to be displayed, and the number of sub-pixels of the SPR image is less than the number of sub-pixels of the original image to be displayed; the AP is also used to encode the SPR image to obtain a first data stream; the AP is also used to send the first data stream to the DDIC through the transmission interface; the DDIC is used to decode the first data stream to obtain a decoded image.
[0007] In order to meet the ever-increasing resolution requirements, electronic devices with high-quality image or video display requirements usually use SPA display screens. The original input three-component image data must be processed by SPR before it can be correctly displayed on the SPA display screen. In the architecture of the image processing device proposed in the embodiment of the present application, after the AP performs SPR processing on the data, the number of sub-pixels contained in each pixel of the image data becomes smaller, and the amount of image data is greatly reduced. For example, if the image data after SPR processing is RGBG arranged or RGB delta arranged, the data after SPR processing is 2 / 3 of the original image data; if the image data after SPR processing is SPR1.5 arranged, the data after SPR processing is 1 / 2 of the original image data. Since the amount of image data after SPR processing is greatly reduced, the amount of data after encoding the image data is also greatly reduced, and the bandwidth and power consumption required to transmit the image data from the AP to the DDIC are also greatly reduced. Furthermore, the amount of data processed by the DDIC and the storage space on the DDIC side are greatly reduced, which greatly improves the performance of the image processing device. Furthermore, for the SPR processing core, due to the higher integration of the SOC side, the hardware logic area occupied by the SPR processing core is smaller, and the cost and power consumption of the SPR processing core or the SPR intellectual property (IP) core itself will also be reduced.
[0008] It should be understood that both the AP and DDIC sides include transmission interfaces, and the transmission interface includes a sending interface and a receiving interface. When the AP sends image data to the DDIC, the transmission interface on the AP side is the sending interface, and the transmission interface on the DDIC side is the receiving interface.
[0009] In a possible implementation, the AP includes: an SPR integrated circuit or an SPR fixed hardware logic, wherein the SPR integrated circuit or the SPR fixed hardware logic is specifically used to perform sub-pixel rendering SPR on the original image to be displayed to obtain the SPR image.
[0010] In a possible implementation, the SPR image is an RGBG image, and the AP further includes four processing channels for: respectively encoding and processing the four components R, G, B, and G of the RGBG image to obtain the first data stream, wherein each of the four processing channels processes one component respectively.
[0011] In a possible implementation, the AP is specifically used to: convert the RGBG image into a brightness and color separated SPR image, the brightness and color separated SPR image includes four components U, Y, V and Y, wherein U and V are chrominance signal components, and Y is a brightness signal component; the four processing channels are specifically used to encode the four components U, Y, V and Y of the brightness and color separated SPR image, respectively, to obtain the first data stream, wherein each of the four processing channels processes one component respectively.
[0012] In an embodiment of the present application, RGBG is converted into a color space with brightness and color separation, which further reduces the amount of image data and saves transmission bandwidth; and since the correlation between the brightness and chromaticity of the image is reduced, at the same compression ratio, the image distortion caused by compression and decoding is reduced, so that the decoded image display effect is better and less distorted.
[0013] In a possible implementation manner, the brightness-color separated SPR image includes: a UYVY image, a YVYU image, a YUYV image or a VYUY image.
[0014] In a possible implementation, the decoded image includes the four components U, Y, V and Y, and the DDIC is further used to: convert the four components U, Y, V and Y of the decoded image into four components R, G, B, G of an RGBG image.
[0015] In a possible implementation, the SPR image is an RGB delta image, and the AP is specifically used to: perform format mapping on the RGBdelta image to obtain a mapped RGB image, the number of sub-pixels of the mapped RGB image is equal to the number of sub-pixels of the RGBdelta image; convert the RGB image to a YCoCg color space with brightness and color separation to obtain a YCoCg image, the YCoCg image includes three components Y, Co, and Cg; and encode the YCoCg image to obtain the first data stream.
[0016] In a possible implementation, the AP includes four processing channels, and three of the four processing channels are used to respectively encode the three components R, G, and B of the RGB image to obtain the first data stream, wherein one processing channel processes one component; or, three of the four processing channels are used to respectively encode the three components Y, Co, and Cg of the YCoCg image to obtain the first data stream, wherein one processing channel processes one component.
[0017] The four processing channels of the AP can encode the data of four components at the same time, or encode the data of three components at the same time. When encoding the data of three components, any three processing channels of the four channels can encode the three components of the image respectively at the same time.
[0018] In a possible implementation, the decoded image is the YCoCg image, and the DDIC is further used to: convert the three components Y, Co, Cg of the YCoCg image into the three components R, G, B of the RGB image; and convert the RGB image into an RGB delta image that can be displayed on the SPA display.
[0019] In a possible implementation manner, the AP is integrated on a system on a chip (SOC), and the DDIC is outside the SOC.
[0020] In a possible implementation, the device further includes: a folding screen, the folding screen including a first display screen and a second display screen; the DDIC includes: a first DDIC and a second DDIC, the first DDIC is used to drive the first display screen, and the second DDIC is used to drive the second display screen.
[0021] There are multiple DDICs for the image processing device of multiple folding screens. Since SPR processing needs to refer to the surrounding pixels, if SPR processing is in the DDIC, the pixels at the junction of the folding screens need to refer to the pixels of the adjacent display screen when performing SPR processing. Therefore, there is data interaction between multiple DDICs. The embodiment of the present application places the SPR processing on the AP side, avoiding data interaction between multiple DDICs, reducing data interaction and data processing between chips, and avoiding electromagnetic interference (EMI) and electrostatic discharge (ESD) problems.
[0022] In a possible implementation, the transmission interface is a mobile industry processor interface MIPI, a display serial interface DSI standardized by MIPI, or an embedded display port eDP standardized by the Video Electronics Standards Association VESA.
[0023] According to a second aspect of the present application, there is provided an image data processing device, which includes: an application processor AP and a display driver integrated circuit DDIC; the AP includes a sub-pixel rendering processing core, an encoder and a sending interface, and the DDIC includes a receiving interface and a decoder; the sub-pixel rendering processing core is used to perform sub-pixel rendering SPR on an original image to be displayed to obtain an SPR image, and the SPR image can be displayed on a sub-pixel arrangement SPA display screen, the number of physical sub-pixels of the SPA display screen is less than the number of sub-pixels of the original image to be displayed, and the number of sub-pixels of the SPR image is less than the number of sub-pixels of the original image to be displayed; the encoder is used to encode the SPR image to obtain a first data stream; the sending interface is used to send the first data stream to the receiving interface of the DDIC; the decoder is used to decode the first data stream to obtain a decoded SPR image.
[0024] In order to meet the ever-increasing resolution requirements, electronic devices with high-quality image or video display requirements usually use SPA display screens. The original input three-component image data must be processed by SPR before it can be correctly displayed on the SPA display screen. In the architecture of the image processing device proposed in the embodiment of the present application, the SPR processing is completed in the AP. Since the number of sub-pixels contained in each pixel of the image data after SPR processing becomes smaller, the amount of image data is greatly reduced. For example, if the image data after SPR processing is RGBG arranged or RGB delta arranged data, the data after SPR processing is 2 / 3 of the original image data; if the image data after SPR processing is SPR1.5 arranged data, the data after SPR processing is 1 / 2 of the original image data. Since the amount of image data after SPR processing is greatly reduced, the amount of data after encoding the image data is also greatly reduced, and the bandwidth and power consumption required to transmit the image data from the AP to the DDIC are also greatly reduced. The amount of data processed by the DDIC and the storage space on the DDIC side are greatly reduced, which greatly improves the performance of the image processing device. Furthermore, for the SPR processing core, due to the higher integration of the AP side, the hardware logic area occupied by the SPR processing core is smaller, and the cost and power consumption of the SPR processing core or the SPR intellectual property (IP) core itself will also be reduced.
[0025] In a possible implementation, the sub-pixel rendering processing core is a dedicated integrated hardware circuit or a dedicated solidified hardware core.
[0026] In a possible implementation manner, the DDIC further includes: a driver, configured to drive a display screen to display the decoded SPR image.
[0027] In a possible implementation, the AP further includes: a first color space conversion module, used to convert the SPR image into a color space of brightness and color separation to obtain a brightness and color separation SPR image; and the encoder, specifically used to encode the brightness and color separation SPR image to obtain the first data stream.
[0028] In an embodiment of the present application, RGBG is converted into a color space with brightness and color separation, which further reduces the amount of image data and saves transmission bandwidth; and since the correlation between the brightness and chromaticity of the image is reduced, at the same compression ratio, the image distortion caused by compression and decoding is reduced, so that the decoded image display effect is better and less distorted.
[0029] In a possible implementation manner, the first color space conversion module is used to stretch and rotate the SPR image.
[0030] In a possible implementation manner, the first color space conversion module is specifically configured to perform color space conversion on the SPR image based on a color space conversion matrix.
[0031] In a possible implementation, the decoded SPR image is located in the color space of the brightness and color separation, and the DDIC further includes: a second color space conversion module, configured to convert the decoded SPR image from the color space of the brightness and color separation to the color space where the SPR image is located.
[0032] In a possible implementation, the SPR image is an RGBG image, the color space of the brightness and color separation is a YUV color space, and the first color space conversion module is specifically used to: convert the RGBG image to the YUV color space to obtain the brightness and color separated SPR image, and the brightness and color separated SPR image includes four components P0, P1, P2 and P3, and the four components P0, P1, P2 and P3 include two brightness signal components and two chrominance signal components.
[0033] In a possible implementation manner, the brightness-color separated SPR image includes: a UYVY image, a YVYU image, a YUYV image or a VYUY image.
[0034] In a possible implementation, the decoded SPR image is located in the YUV color space, and the decoded SPR image contains the four components P0, P1, P2 and P3. The second color space conversion module is specifically used to convert the four components P0, P1, P2 and P3 of the decoded SPR image into the four components R, G, B, G of the RGBG image.
[0035] In a possible implementation, the SPR image is an RGB delta image, the color space of the bright color separation is a YCoCg color space, and the AP further includes: a first format mapping module, used to convert the RGB delta image into an RGB image; the first color space conversion module is specifically used to: convert the RGB image into the YCoCg color space to obtain a YCoCg image, and the YCoCg image includes three components Y, Co, and Cg.
[0036] In a possible implementation, the decoded SPR image is the YCoCg image, and the second color space conversion module is specifically used to: convert the three components Y, Co, and Cg of the YCoCg image into the three components R, G, and B of the RGB image; the DDIC also includes: a second format mapping unit, which is used to convert the RGB image into the RGB delta image.
[0037] In a possible implementation, the encoder includes: 4 processing channels; the SPR image is an RGBG image, and the 4 processing channels are used to encode the 4 components R, G, B, and G of the RGBG image respectively to obtain the first data stream, wherein one processing channel processes one component; or, the SPR image is an RGB delta image, and the device also includes: a first format mapping unit, used to convert the RGB delta image into an RGB image; 3 processing channels of the 4 processing channels encode the 3 components R, G, and B of the RGB image respectively to obtain the first data stream, wherein one processing channel processes one component.
[0038] In one possible implementation, the encoder includes: 4 processing channels; the 4 processing channels are used to encode the 4 components P0, P1, P2 and P3 respectively to obtain the first data stream; or, 3 processing channels of the 4 processing channels are used to encode the 3 components Y, Co, Cg of the YCoCg image respectively to obtain the first data stream.
[0039] In a possible implementation manner, the AP is integrated on a system on a chip (SOC), and the DDIC is outside the SOC.
[0040] In a possible implementation, the transmission interface is a mobile industry processor interface MIPI, a display serial interface DSI standardized by MIPI, or an embedded display port eDP standardized by the Video Electronics Standards Association VESA.
[0041] In an optional implementation, the transmission interface includes an HDMI or V-By-One interface.
[0042] In a possible implementation manner, the DDIC further includes: a screen brightness compensator, configured to perform Demura processing on the decoded SPR image to obtain an SPR image for target display.
[0043] In a possible implementation, the AP further includes: an encapsulation module, configured to perform format encapsulation on the first data stream to obtain a second data stream, wherein the second data stream is a data stream that matches the sending interface and the receiving interface; the sending interface is specifically configured to send the second data stream to the receiving interface of the DDIC. The DDIC further includes: a decapsulation module, configured to decapsulate the second data stream received by the receiving interface to obtain the first data stream.
[0044] In one possible implementation, the sending interface is used to format the first data stream to obtain a second data stream, and the second data stream is a data stream that matches the sending interface and the receiving interface; the sending interface is also used to send the second data stream to the receiving interface of the DDIC; the receiving interface is used to decapsulate the second data stream to obtain the first data stream.
[0045] According to a third aspect of the present application, there is provided an image data processing device, the device comprising: a processor and a transmission interface; the processor is used to: perform sub-pixel rendering SPR on an original image to be displayed to obtain an SPR image, the SPR image being capable of being displayed on a sub-pixel arrangement SPA display screen, the number of physical sub-pixels of the SPA display screen being smaller than the number of sub-pixels of the original image to be displayed, the number of sub-pixels of the SPR image being smaller than the number of sub-pixels of the original image to be displayed; encode the SPR image to obtain a first data stream; and send the first data stream through the transmission interface.
[0046] It should be understood that the transmission interface can be considered as a part of the processor, and the processor sends or receives data through the transmission interface. When the image data processing device is a chip with image data processing function, the processor and the transmission interface together constitute the chip, the processor is a fixed hardware circuit and / or fixed hardware logic with arithmetic processing function in the chip, and these hardware circuits or hardware logics are fixed with drivers and other program instructions, and the transmission interface is an interface for receiving or sending data in the chip.
[0047] In a possible real-time manner, the processor sends the first data stream to the display driver integrated circuit DDIC through the transmission interface.
[0048] In a possible implementation, the SPR image is an RGBG image, and the processor further includes four processing channels for respectively encoding and processing the four components R, G, B, and G of the RGBG image to obtain the first data stream, wherein each of the four processing channels processes one component respectively.
[0049] In a possible implementation, the processor is specifically used to: convert the RGBG image into a brightness and color separated SPR image, the brightness and color separated SPR image includes four components U, Y, V and Y, wherein U and V are chrominance signal components, and Y is a brightness signal component; the four processing channels are specifically used to encode the four components U, Y, V and Y of the brightness and color separated SPR image, respectively, to obtain the first data stream, wherein each of the four processing channels processes one component respectively.
[0050] In a possible implementation, the SPR image is an RGB delta image, and the processor is specifically used to: perform format mapping on the RGB delta image to obtain a mapped RGB image, the number of sub-pixels of the mapped RGB image is equal to the number of sub-pixels of the RGB delta image; convert the RGB image to a YCoCg color space with brightness and color separation to obtain a YCoCg image, the YCoCg image includes three components Y, Co, and Cg; and encode the YCoCg image to obtain the first data stream.
[0051] In a possible implementation, the processor is integrated on a system on chip (SOC), and the DDIC is outside the SOC.
[0052] In a possible implementation, the transmission interface is a mobile industry processor interface MIPI, a display serial interface DSI standardized by MIPI, or an embedded display port eDP standardized by the Video Electronics Standards Association VESA.
[0053] In a possible implementation, the processor includes four processing channels, and three of the four processing channels are used to respectively encode the three components R, G, and B of the RGB image to obtain the first data stream, wherein one processing channel processes one component; or, three of the four processing channels are used to respectively encode the three components Y, Co, and Cg of the YCoCg image to obtain the first data stream, wherein one processing channel processes one component.
[0054] In a fourth aspect of the present application, a display driver integrated circuit DDIC is provided, which includes: a decoder and a transmission interface; the transmission interface is used to receive a first data stream, the first data stream includes a sub-pixel rendered SPR image, the SPR image can be displayed on a sub-pixel arrangement SPA display screen, the number of physical sub-pixels of the SPA display screen is less than the number of sub-pixels of the original image to be displayed, and the number of sub-pixels of the SPR image is less than the number of sub-pixels of the original image to be displayed; the decoder is used to decode the first data stream to obtain decoded image data.
[0055] In a possible implementation manner, the first data stream is sent by an application processor AP.
[0056] In a possible implementation, the SPR image is an RGBG image, the decoded image data includes four components U, Y, V and Y, wherein U and V are chrominance signal components, and Y is a brightness signal component, and the DDIC also includes a first color space conversion processing integrated circuit; the color space conversion processing integrated circuit is used to convert the four components U, Y, V and Y of the decoded image into four components R, G, B, G of the RGBG image.
[0057] In a possible implementation, the SPR image is an RGB delta image, the decoded image data is an RGB image, and the DDIC further includes: a format mapping processing integrated circuit or a format mapping processing fixed hardware logic; the format mapping processing integrated circuit or the format mapping processing fixed hardware logic is used to perform format mapping on the RGB image to obtain the RGBdelta image.
[0058] In one possible implementation, the decoder includes four processing channels.
[0059] In a possible implementation manner, the DDIC includes a first sub-DDIC and a second sub-DDIC, and the first sub-DDIC and the second sub-DDIC are coupled.
[0060] In a possible implementation manner, the AP is integrated on a system on a chip (SOC), and the DDIC is outside the SOC.
[0061] In a possible implementation, the transmission interface is a mobile industry processor interface MIPI, a display serial interface DSI standardized by MIPI, or an embedded display port eDP standardized by the Video Electronics Standards Association VESA.
[0062] In a fifth aspect, the present application provides a method for image data processing, the method comprising: performing sub-pixel rendering SPR on an original image to be displayed to obtain an SPR image, the SPR image being capable of being displayed on a sub-pixel arrangement SPA display screen, the number of physical sub-pixels of the SPA display screen being smaller than the number of sub-pixels of the original image to be displayed, and the number of sub-pixels of the SPR image being smaller than the number of sub-pixels of the original image to be displayed; encoding the SPR image to obtain a first data stream; and sending the first data stream through a transmission interface.
[0063] In a possible implementation, the SPR image is an RGBG image, and encoding the SPR image to obtain the first data stream specifically includes: encoding four components R, G, B, and G of the RGBG image respectively to obtain the first data stream.
[0064] In a possible implementation, the SPR image is encoded to obtain a first data stream, specifically including: converting the RGBG image into a brightness-color separated SPR image, the brightness-color separated SPR image including four components U, Y, V and Y, wherein U and V are chrominance signal components, and Y is a brightness signal component; encoding the four components U, Y, V and Y of the brightness-color separated SPR image respectively to obtain the first data stream.
[0065] In a possible implementation manner, the brightness-color separated SPR image includes: a UYVY image, a YVYU image, a YUYV image or a VYUY image.
[0066] In a possible implementation, the SPR image is an RGB delta image, and encoding the SPR image to obtain a first data stream specifically includes: format mapping the RGB delta image to obtain a mapped RGB image, the number of sub-pixels of the mapped RGB image is equal to the number of sub-pixels of the RGB delta image; converting the RGB image to a YCoCg color space with brightness and color separation to obtain a YCoCg image, the YCoCg image includes three components Y, Co, and Cg; encoding the YCoCg image to obtain the first data stream.
[0067] In a sixth aspect of the present application, a method for image data processing is provided, the method comprising: receiving a first data stream, the first data stream comprising a sub-pixel rendered SPR image, the SPR image being displayable on a sub-pixel arrangement SPA display screen, the number of physical sub-pixels of the SPA display screen being smaller than the number of sub-pixels of the original image to be displayed, and the number of sub-pixels of the SPR image being smaller than the number of sub-pixels of the original image to be displayed; decoding the first data stream to obtain decoded image data.
[0068] In a possible implementation, the SPR image is an RGBG image, and the decoded image data includes four components U, Y, V and Y, wherein U and V are chrominance signal components, and Y is a luminance signal component. The method further includes: converting the four components U, Y, V and Y of the decoded image into four components R, G, B, G of the RGBG image.
[0069] In a possible implementation manner, the SPR image is an RGB delta image, the decoded image data is an RGB image, and the method further includes: performing format mapping on the RGB image to obtain the RGB delta image.
[0070] In a possible implementation, the SPR image is an RGB delta image, the decoded image data is the YCoCg image, and the method further includes: converting the three components Y, Co, and Cg of the YCoCg image into the three components R, G, and B of the RGB image; and converting the RGB image into an RGB delta image that can be displayed on the SPA display screen.
[0071] In a seventh aspect, the present application provides a method for image data processing, the method comprising: an AP performs sub-pixel rendering SPR on an original image to be displayed to obtain an SPR image, the SPR image being displayable on a sub-pixel arrangement SPA display screen, the number of physical sub-pixels of the SPA display screen being smaller than the number of sub-pixels of the original image to be displayed, and the number of sub-pixels of the SPR image being smaller than the number of sub-pixels of the original image to be displayed; the AP encodes the SPR image to obtain a first data stream; the AP sends the first data stream to a DDIC; the DDIC decodes the first data stream to obtain a decoded SPR image.
[0072] In a possible implementation manner, the method further includes: the DDIC driving a display screen to display the decoded SPR image.
[0073] In a possible implementation, the AP encodes the SPR image to obtain a first data stream, specifically including: the AP converts the SPR image into a brightness-color separation color space to obtain a brightness-color separation SPR image; the AP encodes the brightness-color separation SPR image to obtain the first data stream.
[0074] In an embodiment of the present application, RGBG is converted into a color space with brightness and color separation, which further reduces the amount of image data and saves transmission bandwidth; and since the correlation between the brightness and chromaticity of the image is reduced, at the same compression ratio, the image distortion caused by compression and decoding is reduced, so that the decoded image display effect is better and less distorted.
[0075] In a possible implementation manner, the AP converts the SPR image into a color space for brightness and color separation, specifically including: the AP converts the SPR image into a color space for brightness and color separation based on a color space conversion matrix.
[0076] In a possible implementation manner, the decoded SPR image is located in the color space of the brightness and color separation, and the method further includes: DDIC converting the decoded SPR image from the color space of the brightness and color separation to the color space where the SPR image is located.
[0077] In a possible implementation, the SPR image is an RGBG image, the color space of the brightness and color separation is a YUV color space, and the AP converts the SPR image into the color space of the brightness and color separation, specifically including: the AP converts the RGBG image into the YUV color space to obtain the brightness and color separated SPR image, and the brightness and color separated SPR image includes four components P0, P1, P2 and P3, and the four components P0, P1, P2 and P3 include two brightness signal components and two chrominance signal components.
[0078] In a possible implementation manner, the brightness-color separated SPR image includes: a UYVY image, a YVYU image, a YUYV image or a VYUY image.
[0079] In a possible implementation, the decoded SPR image is located in the YUV color space, the decoded SPR image contains the four components P0, P1, P2 and P3, and the DDIC converts the decoded SPR image from the bright color separation color space to the color space where the SPR image is located, specifically including: the DDIC converts the four components P0, P1, P2 and P3 of the decoded SPR image into the four components R, G, B, G of the RGBG image.
[0080] In a possible implementation, the SPR image is an RGB delta image, the color space of brightness and color separation is a YCoCg color space, and the AP converts the SPR image into the color space of brightness and color separation, specifically including: the AP converts the RGB delta image into an RGB image; the AP converts the RGB image into the YCoCg color space to obtain a YCoCg image, and the YCoCg image includes three components Y, Co, and Cg.
[0081] In a possible implementation, the decoded SPR image is the YCoCg image, and the DDIC converts the decoded SPR image from the color space of the bright color separation to the color space where the SPR image is located, specifically including: the DDIC converts the three components Y, Co, and Cg of the YCoCg image into the three components R, G, and B of the RGB image; the DDIC converts the RGB image into the RGB delta image.
[0082] In a possible implementation, the method further includes: the DDIC performing Demura processing on the decoded SPR image to obtain an SPR image for target display.
[0083] In a possible implementation, the method further includes: the AP formatting the first data stream to obtain a second data stream, the second data stream being a data stream that matches the sending interface and the receiving interface; sending the second data stream to the receiving interface of the DDIC; and the DDIC decapsulating the second data stream received by the receiving interface to obtain the first data stream.
[0084] In an eighth aspect, the present application provides a computer-readable storage medium, which stores instructions. When the computer-readable storage medium is executed on a computer or a processor, the computer or the processor executes the method in the fifth aspect or any possible implementation manner thereof.
[0085] In a ninth aspect, the present application provides a computer-readable storage medium, which stores instructions. When the computer-readable storage medium is executed on a computer or a processor, the computer or the processor executes the method in the sixth aspect or any possible implementation manner thereof.
[0086] In a tenth aspect, the present application provides a computer-readable storage medium, which stores instructions. When the computer-readable storage medium is executed on a computer or a processor, the computer or the processor executes the method in the seventh aspect or any possible implementation manner thereof.
[0087] In an eleventh aspect, the present application provides a computer program product comprising instructions, which, when executed on a computer or a processor, enables the computer or the processor to execute the method in the fifth aspect or any possible implementation manner thereof.
[0088] A twelfth aspect of the present application provides a computer program product comprising instructions, which, when executed on a computer or a processor, enables the computer or the processor to execute the method as described in the sixth aspect or any possible implementation manner thereof.
[0089] The thirteenth aspect of the present application provides a computer program product comprising instructions, which, when executed on a computer or a processor, enables the computer or the processor to execute the method as described in the seventh aspect or any possible implementation manner thereof. BRIEF DESCRIPTION OF THE DRAWINGS
[0090] Figure 1a An exemplary RGB Stripe display screen with a commonly used pixel arrangement mode of a traditional display screen provided in an embodiment of the present application;
[0091] Figure 1b An exemplary SPA arrangement display screen provided in an embodiment of the present application;
[0092] Figure 1c Another exemplary SPA arrangement display screen provided in an embodiment of the present application;
[0093] Figure 1d Another exemplary SPA arrangement display screen provided in an embodiment of the present application;
[0094] Figure 2a A schematic diagram of the architecture of an exemplary image processing device provided in an embodiment of the present application;
[0095] Figure 2b A schematic diagram of the architecture of another exemplary image processing device provided in an embodiment of the present application;
[0096] Figure 3 An exemplary example of encoding SPR image data provided in an embodiment of the present application;
[0097] Figure 4a Another example of encoding SPR image data provided in an embodiment of the present application;
[0098] Figure 4b Another example of encoding SPR image data provided in an embodiment of the present application;
[0099] Figure 5a A schematic diagram of the architecture of another exemplary image processing device provided in an embodiment of the present application;
[0100] Figure 5b A schematic diagram of the architecture of another exemplary image processing device provided in an embodiment of the present application;
[0101] Figure 5c A schematic diagram of the architecture of another exemplary image processing device provided in an embodiment of the present application;
[0102] Figure 6a A schematic diagram of the architecture of another exemplary image processing device provided in an embodiment of the present application;
[0103] Figure 6b A schematic diagram of the architecture of another exemplary image processing device provided in an embodiment of the present application;
[0104] Figure 6c A schematic diagram of the architecture of another exemplary image processing device provided in an embodiment of the present application;
[0105] Figure 7 An exemplary input and output diagram of color space conversion provided in an embodiment of the present application;
[0106] Figure 8 Another exemplary input and output diagram of color space conversion provided in an embodiment of the present application;
[0107] Fig. 9 A schematic diagram of the hardware architecture of an exemplary image processing device provided in an embodiment of the present application;
[0108] Fig.10 A schematic diagram of a method flow for image processing provided in an embodiment of the present application;
[0109] Fig.11 A flowchart of another image processing method provided in an embodiment of the present application. DETAILED DESCRIPTION
[0110] The terms "first", "second", etc. in the specification embodiments and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or precedence. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, including a series of steps or units. The method, system, product or device is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0111] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0112] First of all, in order to facilitate understanding of the embodiments of the present application, some concepts or terms involved in the embodiments of the present application are explained.
[0113] Video Electronics Standards Association (VESA): An international organization that develops standards for computer and small workstation video equipment. It is one of the standard working groups for image compression. VESA released the Display Stream Compression (DSC) algorithm in 2014.
[0114] DSC: One of the standard compression algorithms for image compression, released by VESA in 2014, with the characteristics of real-time encoding and decoding, fixed compression ratio, low cost and high display quality. Compared with traditional compression algorithms, the DSC compression algorithm does not require more frame data, does not require more storage resources inside the multimedia chip, and is compatible with the display interface. DSC is mainly aimed at the high-quality audio and video transmission needs of high-end electronic devices. For example, the DSC compression algorithm is suitable for encoding audio and video data when transmitting audio and video data based on the Mobile Industry Processor Interface (MIPI).
[0115] Color Space: Color can be the different perceptions of the eyes for light of different frequencies, or it can represent objectively existing light of different frequencies. Color space is a color range defined by a coordinate system established by people to represent colors. The color gamut and color model together define a color space. Among them, the color model is an abstract mathematical model that represents color with a set of color components. The color model can include, for example, a three-primary color light model (red green blue, RGB) and a four-color printing model (cyan magenta yellow key plate, CMYK). The color gamut refers to the sum of colors that a system can produce. For example, Adobe RGB and sRGB are two different color spaces based on the RGB model.
[0116] RGB color space (Red Green Blue color space): RGB defines the colors of the three primary colors of red, green and blue, where the color value of one of the three primary colors is the maximum value and the color values of the other two colors are zero, and the corresponding color represents the color of the maximum value. For example, in the three primary colors of red, green and blue, the color values of R, G and B are all 0-255, then when the values of R and G are both zero, the color corresponding to the value of B is 255 represents blue. Each pixel in an RGB format image contains three sub-pixels: R, G and B.
[0117] YUV: A color space that separates brightness and color. Each pixel in a YUV format image contains a brightness component Y, a chrominance component U, and a chrominance component V, where Y represents brightness (Luminance, Luma), and U and V represent chrominance (Chroma).
[0118] YCoCg: A color space with brightness and color separation, with good transform coding gain. Each pixel in the YCoCg format image contains a brightness value Y, two chrominance values Co and Cg, where Co represents the chrominance orange and Cg represents the chrominance green. The conversion relationship between the RGB color space and the YCoCg color space is shown in Formula 1:
[0119]
[0120] UYVY: A data format belonging to the YUV color space. Every 2 pixels in an image in UYVY format contain two Y components, one U component and one V component.
[0121] Table 1
[0122]
[0123] As shown in Table 1, P0-P3 represent 4 pixels. When these 4 pixels are in the RGB color space, each pixel contains one R, G, and B. When these 4 pixels are in the YUV color space, each pixel contains one Y, U, and V. When these 4 pixels are in the UVYV color space, every 2 pixels contain two Ys, one U, and one V.
[0124] A display panel with a higher number of pixels per inch (PPI) can provide a more delicate and exquisite picture, improving the visual effect of customers. The higher the PPI, the more pixels the display panel contains, and the higher the display resolution. However, the size of the display panel of the display device is often limited. It is desirable to increase the resolution of the display panel without expanding the size of the display panel as much as possible, which greatly increases the process difficulty and manufacturing cost of the display panel. In order to overcome this problem, the industry adopts a display panel with a sub-pixel arrangement. The number of physical sub-pixels of the SPA display panel is less than the number of sub-pixels of the image to be displayed.
[0125] like Figure 1a As shown, an RGB Stripe display screen, which is a commonly used pixel arrangement method for a traditional display screen provided in an embodiment of the present application, is shown. In the RGB Stripe display screen, each pixel includes three sub-pixels, namely a red sub-pixel R, a green sub-pixel G, and a blue sub-pixel B.
[0126] like Figure 1b As shown, an exemplary SPA display screen provided in an embodiment of the present application is shown. Figure 1b The SPA display in the display adopts RGBG arrangement, and each pixel contains two sub-pixels. Figure 1b Pixel 1 in the ath row includes two sub-pixels of R and G, pixel 2 includes two sub-pixels of B and G, pixel 3 includes two sub-pixels of R and G, and pixel 4 includes two sub-pixels of B and G, which appear alternately in the combination of RG and BG.
[0127] like Figure 1c As shown, another exemplary SPA display screen provided in an embodiment of the present application is shown. Figure 1c The SPA display in the RGB delta layout is adopted. Each pixel contains three RGB sub-pixels. Two adjacent pixels have shared sub-pixels. Figure 1c Taking the ath row in FIG. 1 as an example, pixel 1 and pixel 2 share a blue sub-pixel B2, and pixel 2 and pixel 3 share a red sub-pixel R2 and a green sub-pixel G3.
[0128] It can be seen that in the display screen with RGB Stripe arrangement, three pixels are composed of 9 sub-pixels; in the display screen with RGBG arrangement, three pixels are composed of 6 sub-pixels; in the display screen with RGB delta arrangement, three pixels are composed of 6 sub-pixels. Therefore, when the number of pixels is the same, the number of sub-pixels required for RGBG arrangement and RGB delta arrangement is less than that of RGB Stripe arrangement. For example, if the size of the image to be displayed is 3840*2160*3, the SPA display screen with RGBG arrangement only needs 3840*2160*2 sub-pixels to display the image to be displayed normally, which greatly reduces the number of sub-pixels of the display screen while ensuring the resolution. However, the original image data must be processed by sub-pixel rendering (SPR) before it can be displayed normally on the SPA screen. SPR technology is a technology that enables high-resolution images to be displayed on low-resolution display panels through a proprietary sub-pixel rendering algorithm. It should be understood that both RGB and RGBG belong to the RGB color space.
[0129] RGBG arrangement and RGB delta arrangement are two exemplary arrangements of SPA display screens, and the ratio of the number of pixels to the number of sub-pixels in these two arrangements is 1:2. Optionally, there are SPA display screens with other arrangements. In some SPA display screens, the number of sub-pixels contained in a pixel may also be less than 2, for example, a pixel may only contain 1.75 sub-pixels or a pixel may only contain 1.5 sub-pixels, such as Figure 1d As shown, an exemplary SPA arrangement SPR1.5 is shown. In the SPR1.5 arrangement, one pixel contains 1.5 sub-pixels. In this display panel, there are 4 pixels and 6 sub-pixels, which means that each pixel contains 1.5 sub-pixels.
[0130] As the display resolution of the display screen becomes higher and higher, the amount of data transmitted between the image processing module and the image display module is also increasing, so the bandwidth and power consumption of transmitting image data are increasing accordingly. The embodiment of the present application proposes a new architecture of an image processing device. In the image processing device provided in the embodiment of the present application, the amount of data transmitted from the image processing module to the image display driver module is greatly reduced, thereby reducing the transmission bandwidth and power consumption required for the image data to be transmitted from the image processing module to the image display driver module. The architecture proposed in the embodiment of the present application is applicable to display screens such as active-matrix organic light emitting diode (AMOLED), liquid crystal display (LCD), and light emitting diode display (Micro Light Emitting Diode Display, microLED), and the applicable product form is not limited to mobile terminals such as mobile phones, tablet computers, cameras, and video cameras, and can also be applied to electronic devices with display screens such as computers and televisions. Exemplarily, the architecture proposed in the embodiment of the present application is particularly suitable for electronic devices with high-quality image or video display requirements.
[0131] like Figure 2a , which is a schematic diagram of the architecture of an exemplary image processing device provided in an embodiment of the present application.
[0132] The image processing device 200 includes a system on chip (SOC) 201 , a display driving integrated circuit (DDIC) 202 , and a display screen 203 . Figure 2a In the architecture shown, SOC and DDIC are two independent chips. After the image data to be displayed is processed in SOC 201, it is transmitted to DDIC 202 for processing and finally displayed on display screen 203. DDIC is an integrated circuit chip of the display screen and is the main part of the display screen imaging system. DDIC 202 is used to drive the display screen 203 and can also be used to control the driving current. Optionally, the image processing device can include multiple DDICs. Exemplarily, the display screen 203 can be an LCD, AMOLED, microLED, a light emitting diode (Light Emitting Diode, LED) display, an organic light emitting diode (Organic Light-Emitting Diode, OLED) display, a cathode ray tube (Cathode Ray Tube, CRT) display, etc. The display screen 203 is a SPA display screen, and its arrangement includes but is not limited to RGBG arrangement, RGB delta arrangement or SPR1.5 arrangement, etc.
[0133] SOC 201 includes a sub-pixel rendering module 2011 , an encoder 2012 , and a sending interface 2013 .
[0134] The sub-pixel rendering module 2011 is used to perform sub-pixel rendering SPR processing on the image to be displayed to obtain SPR image data.
[0135] Since the display screen 203 is a SPA display screen, the number of physical sub-pixels contained in the display screen is less than the number of sub-pixels of the original image to be displayed. The original image to be displayed cannot be displayed on the display screen 203 with a lower resolution without SPR processing. After the sub-pixel rendering module 2011 performs SPR processing on the image to be displayed, SPR image data is obtained. The number of sub-pixels and the arrangement of sub-pixels in the SPR image data conform to the display screen 203, so the SPR data can be correctly displayed on the display screen 203. Exemplarily, the obtained SPR image data can be image data arranged in RGBG or image data arranged in RGB delta. SPR processing includes various existing sub-pixel rendering processing, for example, it can be the SPR processing in the Chinese patent application with application number 201810281666.7 and invention name "Pixel Processing Method and Device". Exemplarily, the sub-pixel rendering module 2011 is a dedicated solidified hardware logic or a dedicated hardware integrated circuit in the SOC, for example, it can be a solidified hardware core in the GPU. In an optional scheme, the sub-pixel rendering module can also be a software module running on the processor.
[0136] The encoder 2012 is used to encode and compress the SPR data obtained by the processing in 2011 to obtain compressed image data.
[0137] In an optional solution, the encoder 2012 includes 4 processing channels. The encoder 2012 can encode and compress image data of 4 input components, or can encode and compress image data of less than 4 input components, for example, 3 input components can be encoded. When the encoder 2012 encodes 3 input components, there is no correspondence between the input components and the channels, and 3 channels can be selected from the 4 channels of the encoder.
[0138] like Figure 3As shown, an example of encoding SPR image data provided by an embodiment of the present application. The SPR image data is data arranged in RGB delta format, and the encoder includes 4 channels: channel one, channel two, channel three, and channel four. Before the encoder encodes and compresses the RGB delta arranged data, the RGB delta data is format mapped to obtain mapped RGB data. Each pixel of the mapped RGB data contains three components R, G, and B. It should be understood that before and after the mapping, the number of sub-pixels remains unchanged, and format mapping the RGB delta image to the RGB image will not increase the amount of data. Figure 3 In the example, the R component is processed by channel one, the G component is processed by channel two, the B component is processed by channel three, and channel four is idle. It should be understood that Figure 3 The channel allocation method in is only an example. Optionally, the idle channel can be any one of the four channels, and there is no correspondence between the channels and the data components. For example, channel one can process the G component, channel two can process the B component, and channel three can process the R component. The embodiments of the present application do not limit this.
[0139] In an optional solution, the encoder also includes a color space conversion (CSC) module. Exemplarily, the CSC module can be implemented by a dedicated hardware integrated circuit or hardware logic. The CSC module is used to convert RGB data into YUV or YCoCg data. The YUV or YCoCg data contains 3 sub-components, and each sub-component is processed by a channel. Optionally, the CSC module can also be outside the encoder, and the CSC module sends the YUV or YCoCg data to the encoder for processing.
[0140] like Figure 4a As shown, another example of encoding SPR image data provided by an embodiment of the present application is shown.
[0141] SPR image data is arranged in RGBG format. The encoder also includes 4 channels: channel 1, channel 2, channel 3 and channel 4, which can process image data of four input components at the same time. In the data arranged in RGBG format, every two pixels have 4 components R, G, B, G, which are processed by channels 1 to 4 of the encoder respectively to obtain compressed data. It should be understood that there is no correspondence between input components and channels. Figure 4a Only one exemplary correspondence form between input components and channels is shown; other correspondence forms may exist, and the present application does not limit this.
[0142] In an alternative approach, Figure 4bAs shown, before the encoder encodes the RGBG data, the RGBG data is converted to UYVY data through color space conversion CSC. Every two pixels of the UYVY data contain four components: one U component, one V component, and two Y components. These four components are sent to the four channels of the encoder respectively, and each channel processes one component data to obtain compressed data. In an optional solution, format mapping or color space conversion can also be implemented in the encoder, and the encoder also includes a CSC module.
[0143] Exemplarily, the encoding algorithm used by encoder 2012 may be DSC1.2, which is a compression algorithm proposed by VESA. DSC1.2 has four processing channels and can encode UVYV data, RGBG arrangement or RGB delta arrangement of SPR image data. Encoder 2012 may also use the DSC1.1 compression algorithm to encode SPR data, but since DSC1.1 can only encode three-component image data, before using DSC1.1 to encode SPR data, it is necessary to upsample the SPR image data so that each pixel in the processed SPR image data also contains three components. It should be understood that three-component data refers to image data in which one pixel contains three sub-pixels.
[0144] The sending interface 2013 is used to send the compressed data obtained by the encoder 2012 to the DDIC 202 .
[0145] Exemplarily, the transmission interface 2013 may be a MIPI transmission interface (or a MIPI transmitter), a MIPI standardized display serial interface (DSI) or a VESA standardized embedded display port (eDP). In an optional case, the transmission interface 2013 may also be a high definition multimedia interface (HDMI) or a V-By-One interface, which is a digital interface standard developed for image transmission.
[0146] In an optional solution, the compressed data obtained by compression encoding by the encoder 2012 matches the sending interface 2013 , or in other words, the format of the compressed data meets the format requirement of the sending interface 2013 .
[0147] In an optional solution, the system chip 201 further includes a packaging module for packaging the compressed data obtained by the encoder, and the packaged data stream complies with the format requirements of the sending interface 2013. It should be understood that the packaging module can be a fixed hardware logic or a dedicated integrated circuit.
[0148] In an optional solution, the data stream sent by the sending interface 2013 is transmitted to the receiving interface of the DDIC in accordance with the transmission protocol of the sending interface. Exemplarily, the transmission protocol is D-phy or C-phy of MIPI.
[0149] It should be understood that, although not shown in the figure, SOC 201 may also include at least one of the following: memory, microprocessor and microcontroller (Microcontroller Unit, MCU), application processor (Application Processor, AP), image data processor (Image Signal Processor, ISP), digital signal processor (Digital Signal Processor, DSP), graphics processing unit (Graphics Processing Unit, GPU) or integrated circuit with image or video processing function, etc. SOC 201 may also include a clarity processing module, a contrast processing module and a color correction module, etc. It should be understood that the clarity processing module, the contrast processing module and the color correction module, etc. can all be solidified hardware logic or dedicated integrated circuits. The sub-pixel rendering module 2011 can be located in AP, ISP, GPU or other general-purpose processors, and the embodiment of the present application does not limit the position of the sub-pixel rendering module.
[0150] DDIC 202 includes a receiving interface 2021 and a decoder 2022 . Optionally, DDIC 202 may further include a screen brightness compensator 2023 .
[0151] The receiving interface 2021 is used to receive the compressed data sent by the sending interface 2013.
[0152] Exemplarily, the receiving interface can be a MIPI receiver, a MIPI standardized DSI, a VESA standardized eDP, an HDMI receiver or a V-By-One interface. The receiving interface 2021 is matched with the transmitting interface 2013. When the transmitting interface 2013 is a MIPI transmitter, the receiving interface 2021 is a MIPI receiver. When the transmitting interface 2013 is an HDMI transmitter, the receiving interface 2021 is an HDMI receiver, and so on.
[0153] In an optional solution, the compressed data received by the receiving interface 2021 matches the format requirement of the receiving interface 2021 .
[0154] In an optional solution, DDIC 202 further includes a decapsulation module, which is used to decapsulate the received compressed data to obtain compressed data that can be recognized by the decoder.
[0155] The decoder 2022 is used to decode the compressed image data to obtain SPR image data.
[0156] It should be understood that the decoder 2022 matches the encoder 2012, and the decoder 2022 can identify the coded compressed data obtained by the encoder 2012, and can decompress the coded compressed data into the SPR image data before compression, and the SPR image data contains color information and can be displayed on the display screen. Exemplarily, when the encoder 2012 adopts the DSC1.2 compression algorithm, the decoder 2022 adopts the decoding algorithm corresponding to DCS1.2.
[0157] The screen brightness compensator 2023 is used to perform brightness compensation on the SPR image data to compensate for the problem of inconsistent brightness of the screen.
[0158] It should be understood that the display screen can control the switch of each sub-pixel individually. Due to the limitations of the manufacturing process, the display units of each sub-pixel are not completely consistent. Various types of display screens will more or less have a phenomenon of uneven brightness, which is also called the Mura phenomenon in the industry. The so-called Mura phenomenon means that when the same pixel value is set for the display unit of each sub-pixel, the brightness displayed by each sub-pixel display unit is inconsistent, so the brightness of the display panel appears uneven to the human eye.
[0159] Exemplarily, the screen brightness correction module is a Demura module. The Demura technology detects the Mura area, obtains compensation data of the pixels in the Mura area, and compensates the pixels in the Mura area based on the compensation data to eliminate the uneven brightness caused by the process limitations of the display screen. The Demura module is used to perform Demura on the SPR image data to compensate for the uneven brightness caused by the screen Mura phenomenon.
[0160] Optionally, the DDIC 202 further includes a gamma corrector for performing gamma correction on the display screen 203 .
[0161] It should be understood that when image data is displayed on a display screen, due to the inconsistency of the human eye's sensitivity to different brightness and the photoelectric characteristics of the screen itself, there is a certain deviation between the brightness of the image displayed on the screen and the original brightness of the image. Therefore, the image displayed on the screen is distorted compared to the input image. The physical characteristics of the screen display determine that if the input grayscale value changes linearly, the output brightness value is not linear. Gamma correction of the screen can eliminate the deviation between the image displayed on the screen and the input image. It should be understood that in an optional case, the gamma corrector can also be in the AP of the SOC.
[0162] Optionally, DDIC 202 also includes a digital to analog converter (DAC) for converting a digital image into an analog signal. Exemplarily, the analog signal is a driving current. DDIC controls the magnitude of the driving current according to the pixel value of the digital image so that pixels with different pixel values display different brightness values on the display screen.
[0163] Optionally, DDIC 202 further includes a memory, for example, a static random access memory (SRAM). Since the amount of image data after SPR processing is greatly reduced, the storage space occupied on the DDIC side is also reduced.
[0164] The DDIC 202 sends the SPR image data after demura and gamma correction to the display screen 203 for display.
[0165] In order to meet the ever-increasing resolution requirements, electronic devices with high-quality image or video display requirements usually use SPA display screens. The original input three-component image data must be processed by SPR before it can be correctly displayed on the SPA display screen. In the prior art, the SPR processing of image data to adapt to the display screen is completed in DDIC. In the architecture of the image processing device proposed in the embodiment of the present application, the SPR processing is completed in SOC. Since the number of sub-pixels contained in each pixel of the image data after SPR processing becomes smaller, the amount of image data is greatly reduced. For example, if the image data after SPR processing is RGBG arranged or RGB delta arranged, the data after SPR processing is 2 / 3 of the original image data; if the image data after SPR processing is SPR1.5 arranged, the data after SPR processing is 1 / 2 of the original image data. Since the amount of image data after SPR processing is greatly reduced, the amount of data after encoding the image data is also greatly reduced, and the bandwidth and power consumption required to transmit the image data from SOC to DDIC are also greatly reduced. The amount of data processed by DDIC and the storage space on the DDIC side are greatly reduced, which greatly improves the performance of the image processing device.
[0166] Furthermore, for the SPR module, due to the higher integration of the SOC side, the hardware logic area occupied by the SPR module is smaller, and the cost and power consumption of the SPR module or the SPR intellectual property (IP) core itself will also be reduced.
[0167] Furthermore, the encoder of the embodiment of the present application includes 4 processing channels, which can encode image data with less than or equal to 4 components, so the RGBG and RGB delta data after SPR processing can be directly encoded and compressed data that complies with the transmission interface format and transmission protocol can be obtained.
[0168] In an optional solution, the image processing device may also include a SOC and a DDIC, but not a display screen, and the display screen is a display screen of a display device outside the image processing device, such as Figure 2b For more information about system chips and display driver chips, please refer to Figure 2a The display screen 300 is a display screen of an electronic device other than the image processing device 200. Exemplarily, in this case, the image processing device can be an integrated chip or processor product including SOC and DDIC in a mobile phone, and the display screen 300 is a display screen of the mobile phone. In this case, the image processing device 200 and the display screen 300 together constitute a mobile phone or other terminal with a display screen.
[0169] like Figure 5a As shown, it is a schematic diagram of the architecture of another exemplary image processing device provided in an embodiment of the present application. The image processing device 500 includes an application processor AP 501, a display driver integrated circuit DDIC 502 and a display screen 503, wherein AP 501 and DDIC 502 are integrated inside the system chip SOC. AP 501 includes a sub-pixel rendering module 5011, an encoder 5012 and a sending interface 5013, and DDIC 502 includes a receiving interface 5021, a decoder 5022 and a screen brightness compensator 5023. Optionally, the application processor AP 501 may also include an encapsulation module, and DDIC 502 may also include a decapsulation module, a gamma corrector and a memory, etc. For the sub-pixel rendering module 5011, the encoder 5012, the sending interface 5013, the receiving interface 5021, the decoder 5022, the screen brightness compensator 5023, the encapsulation module, the decapsulation module, and the gamma corrector, please refer to the aforementioned embodiments, which will not be repeated here. The memory of the DDIC is used to store the coded compressed data stream of the receiving interface, or the SPR image data decoded by the decoder. The display screen 503 is a SPA display screen, and the types of the display screen 503 include but are not limited to LCD, AMOLED, microLED, LED, OLED and CRT.
[0170] After the image data to be displayed is subjected to sub-pixel rendering and encoding compression processing in AP 501, the compressed image data is transmitted to DDIC 502 through the sending interface. After the receiving interface receives the compressed image data, it is decoded to obtain SPR image data that can be displayed on the screen. Further, the screen brightness compensator 5023 performs brightness compensation on the decoded SPR image data to compensate for the uneven brightness of the screen. Exemplarily, 5023 performs Demura processing on the SPR image data to compensate for the uneven brightness caused by the Mura phenomenon of the screen. Optionally, DDIC 502 also includes a DAC for converting image data into a driving current, and DDIC drives the display screen 503 to display the image on the display screen. Optionally, AP 501 may also include a preprocessing module for processing image data, which is used to perform clarity processing, contrast adjustment, color enhancement, color correction, scaling, etc. on the data image.
[0171] In a possible solution, AP 501 is integrated inside the SOC, and DDIC 502 is located outside the SOC and is an independently integrated chip, such as Figure 5b shown.
[0172] In a possible solution, the image processing device 500 includes an AP 501 and a DDIC 502, but does not include a display screen 503. Figure 5c shown.
[0173] In a possible solution, the image processing device may include an AP but does not include a DDIC and a display screen.
[0174] like Figure 6a , which is a schematic diagram of the architecture of another image processing device provided in an embodiment of the present application.
[0175] The image processing device 600 includes a system on chip SOC 601 , a display driver integrated circuit DDIC 602 and a display screen 603 .
[0176] SOC 601 includes:
[0177] Sub-pixel rendering module 6011: used to perform sub-pixel rendering SPR processing on the image to be displayed to obtain SPR image data, which is image data that can be normally displayed on the SPA screen. Exemplarily, the sub-pixel rendering module 6011 is a dedicated fixed hardware logic or a dedicated hardware integrated circuit in the SOC, for example, it can be a fixed hardware core in the GPU.
[0178] Please refer to the description of the sub-pixel rendering module 2011 for details, which will not be repeated here.
[0179] The color space conversion module 6012 is used to convert the SPR image into a color space of brightness and color separation to obtain a brightness and color separated SPR image.
[0180] Exemplarily, the SPR image may belong to an RGB color space, the SPR image may be an RGBG image or an RGBdelta image, and the color space for brightness and color separation may be a YUV color space or a YCoCg color space.
[0181] Exemplarily, the SPR image is an RGBG image, and the color space of the brightness and color separation is a YUV color space.
[0182] At this time, the color space conversion module 6012 is specifically used to convert the RGBG image into the YUV color space to obtain the SPR image of the brightness separation, and the SPR image of the brightness separation includes 4 components P0, P1, P2 and P3, and the 4 components P0, P1, P2 and P3 include two brightness signal components and two chrominance signal components. Exemplarily, P0, P1, P2 and P3 can be: U, Y, V and Y. The SPR image of the brightness separation includes but is not limited to: UYVY image, YVYU image, YUYV image or VYUY image.
[0183] Exemplarily, the SPR image is an RGB delta image, and the color space of the brightness and color separation is a YCoCg color space. At this time, the SOC 601 further includes a first format mapping module for converting the RGB delta image into an RGB image. It should be understood that when the RGB delta image is format mapped to the mapped RGB image, the number of sub-pixels of the data before and after the mapping remains unchanged, and the format mapping of the RGB delta image to the RGB image does not result in an increase in the amount of data; Exemplarily, Figure 1c The figure shows the RGB delta arrangement. The ath row contains 3 pixels, namely pixel 1, pixel 2, and pixel 3. Pixel 1 contains (R1, G1, B2), pixel 2 contains (R2, G3, B2), and pixel 3 contains (R2, G3, B3). Pixel 1 and pixel 2 share a blue sub-pixel B2, and pixel 2 and pixel 3 share a red sub-pixel R2 and a green sub-pixel G3. The number of sub-pixels in the mapped RGB image obtained after format mapping of the RGB delta image remains unchanged. The ath row contains 2 pixels, namely (R1, G1, B2) and (R2, G3, B3). The number of sub-pixels does not change before and after format mapping.
[0184] Color space conversion module 6012: specifically used to convert the RGB image into the YCoCg color space to obtain a YCoCg image. The YCoCg image includes three components: Y, Co, and Cg.
[0185] Converting the SPR image into a color space with brightness and color separation further reduces the amount of image data and saves transmission bandwidth; and, at the same compression ratio, reduces image distortion caused by compression and decoding, making the decoded image display better.
[0186] Exemplarily, the color space conversion module 6012 is a dedicated fixed hardware logic or a dedicated hardware integrated circuit in the SOC. Optionally, 6012 can be a fixed hardware logic or a fixed hardware core in the AP, or can be a fixed hardware logic or a fixed hardware core in the GPU.
[0187] Exemplarily, the color space conversion module 6012 includes a 4*4 color space conversion coefficient matrix, which includes 16 decorrelation coefficients: X0-X15, the input is the four components R, G, B, G of the RGBG image, and the output is also the four components P0, P1, P2 and P3, such as Figure 7 At this time, the color space conversion matrix is solidified in the hardware logic or hardware core, and the correlation between the brightness and chromaticity of the output P0, P1, P2, and P3 is greatly reduced compared with the input R, G, B, and G.
[0188] Encoder 6013: used to encode the SPR image data after decorrelation processing to obtain compressed image data.
[0189] Please refer to the description of encoder 2012 for details, which will not be repeated here.
[0190] The sending interface 6014 is used to send the compressed image data to the DDIC 602. Please refer to the description of the sending interface 2013 for details, which will not be repeated here.
[0191] Optionally, SOC 601 also includes a packaging module, an image preprocessing module, etc.
[0192] DDIC 602 includes:
[0193] The receiving interface 6021 is used to receive the compressed image data sent by the sending interface 6015. Please refer to the description of the receiving interface 2021 for details, which will not be repeated here.
[0194] The decoder 6022 is used to decode the compressed image data to obtain decoded SPR image data. Please refer to the description of the decoder 2022 for details, which will not be repeated here.
[0195] The color space conversion module 6023 is used to convert the decoded SPR image data obtained by the decoder into the color space where the SPR image data is located.
[0196] The decoded SPR image data obtained by the decoder is in the YUV color space, and the decoded SPR image includes four components P0, P1, P2 and P3. Exemplarily, the decoded SPR image data may include but is not limited to: UYVY image, YVYU image, YUYV image or VYUY image. At this time, the color space conversion module 6023 is specifically used to convert the four components P0, P1, P2 and P3 of the decoded SPR image into the four components R, G, B, G of the RGBG image.
[0197] When the decoded SPR image is a YCoCg image, the color space conversion module 6023 is specifically used to convert the three components Y, Co, Cg of the YCoCg image into the three components R, G, B of the RGB image. At this time, the DDIC also includes a second format mapping unit for converting the RGB image into an RGB delta image. It should be understood that the second format mapping unit is the inverse mapping of the format mapping in the first format mapping unit. The first format mapping unit maps the RGB delta data into RGB data, and the second format mapping unit maps the RGB data into RGB delta data. In this process, the number of sub-pixels of the image remains unchanged.
[0198] Exemplarily, the color space conversion module 6023 is a dedicated fixed hardware logic or a dedicated hardware integrated circuit in the SOC. Optionally, 6023 can be a fixed hardware logic or a fixed hardware core in the AP, or can be a fixed hardware logic or a fixed hardware core in the GPU.
[0199] Exemplarily, the color space conversion module 6023 also includes a 4*4 color space conversion matrix, which includes 16 coefficients: Y0-Y15, the input is four pixel components P0, P1, P2 and P3, and the output is four pixel components R, G, B, G of the RGBG image, such as Figure 8 As shown. At this time, the matrix is solidified in the hardware logic or hardware core. Exemplarily, the matrix is the inverse matrix of the color space conversion matrix in the color space conversion module 6012. Optionally, the matrix is not the inverse matrix of the color space conversion matrix in 6012. For example, the inverse matrix of the color space conversion matrix can be fine-tuned or several coefficients can be replaced to obtain the matrix in 6023.
[0200] The screen brightness compensator 6024 is used to perform brightness compensation on the SPR image data to eliminate the problem of inconsistent screen brightness. For details, please refer to the description of the screen brightness compensator 2023, which will not be repeated here.
[0201] Optionally, the DDIC 602 further includes a gamma corrector, a DAC and a memory. Please refer to the description of the above embodiment for details, which will not be repeated here.
[0202] Sub-pixel rendering SPR processing is performed on the SOC side for the image data to be displayed, which greatly reduces the amount of data to be transmitted, reduces the bandwidth and power consumption required to send the image data from the SOC to the DDIC, and at the same time, reduces the amount of data and storage space processed by the DDIC side, reduces the power consumption of the image processing device, and improves the performance of the device. Furthermore, the embodiment of the present application performs color space conversion on the SOC side, converts the SPR image into a bright and color separated SPR image, further reduces the amount of image data, saves transmission bandwidth, and reduces the correlation between the brightness and chromaticity of the image, reduces the image distortion caused by compression and decoding, and under the premise of ensuring the same compression ratio, the image obtained after decoding is displayed on the display screen with better effect and less distortion.
[0203] Furthermore, for the SPR module, due to the higher integration of the SOC side, the hardware logic area occupied by the SPR module is smaller, and the cost and power consumption of the SPR module or the SPR intellectual property (IP) core itself will also be reduced.
[0204] In an optional solution, the image processing device 600 includes a system chip 601 and a DDIC 602, but does not include a display screen 603. Figure 6b As shown, at this time, the product form of the image processing device 600 can be a processor chip, and the processor chip and the display screen together constitute an electronic device or a mobile terminal, such as a smart phone, a camera or a television.
[0205] In an optional solution, the sub-pixel rendering module, the color space conversion module, the encoder and the transmission interface are all integrated in the AP, and the AP and the DDIC are integrated in the SOC, such as Figure 6c shown.
[0206] In one possible solution, the image processing device includes a folding screen, for example, the folding screen of the image processing device includes a first display screen and a second display screen, the first display screen and the second display screen are coupled, and the first display screen and the second display screen can be used together to display the same image; the image processing device also includes a first DDIC and a second DDIC, wherein the first DDIC is used to drive the first display screen, and the second DDIC is used to drive the second display screen, and data transmission and communication are performed between multiple display screens based on multiple DDICs. Since SPR processing needs to refer to surrounding pixels, if SPR processing is in DDIC, then for the image processing device with multiple folding screens, there is data interaction between multiple DDICs. The embodiment of the present application places the SPR processing on the SOC side, avoids data interaction between multiple DDICs, reduces data interaction and data processing between chips, and avoids electromagnetic interference (EMI) and electrostatic discharge (ESD) problems.
[0207] like Fig. 9 , which is a schematic diagram of a hardware architecture of an exemplary image processing device provided in an embodiment of the present application. The hardware architecture of the image processing device 900 can be applicable to SOC and AP.
[0208] Exemplarily, the image processing device 900 includes at least one central processing unit (CPU), at least one memory, GPU, decoder, dedicated video or graphics processor, receiving interface and sending interface, etc. Optionally, the image processing device 900 may also include a microprocessor and a microcontroller MCU, etc. In an optional case, the above-mentioned various parts of the image processing device 900 are coupled through a connector. It should be understood that in various embodiments of the present application, coupling refers to mutual connection in a specific manner, including direct connection or indirect connection through other devices, such as through various interfaces, transmission lines or buses, etc. These interfaces are usually electrical communication interfaces, but it is not excluded that they may be mechanical interfaces or other forms of interfaces, which are not limited in this embodiment. In an optional case, the above-mentioned various parts are integrated on the same chip; in another optional case, the CPU, GPU, decoder, receiving interface and sending interface are integrated on one chip, and the various parts inside the chip access the external memory through the bus. The dedicated video / graphics processor can be integrated with the CPU on the same chip, or it can exist as a separate processor chip, for example, the dedicated video / graphics processor can be a dedicated ISP. The chip involved in the embodiments of the present application is a system manufactured on the same semiconductor substrate using an integrated circuit process, also called a semiconductor chip, which can be a collection of integrated circuits formed on a substrate (usually a semiconductor material such as silicon) using an integrated circuit process, and its outer layer is usually encapsulated by a semiconductor packaging material. The integrated circuit may include various functional devices, each of which includes transistors such as logic gate circuits, metal oxide semiconductor (MOS) transistors, bipolar transistors or diodes, and may also include other components such as capacitors, resistors or inductors. Each functional device can work independently or under the action of necessary driver software, and can realize various functions such as communication, calculation, or storage.
[0209] Optionally, the CPU may be a single-core processor or a multi-core processor; Optionally, the CPU may be a processor group consisting of multiple processors, and the multiple processors are coupled to each other through one or more buses. In an optional case, the processing of the image signal or video signal is partially completed by the GPU, partially completed by a dedicated video / graphics processor, and possibly completed by software code running on a general-purpose CPU or GPU.
[0210] The memory can be used to store computer program instructions, including an operating system (OS), various user applications, and various types of computer program codes including program codes for executing the scheme of the present application; the memory can also be used to store video data, image data, etc.; the CPU can be used to execute the computer program code stored in the memory to implement the method in the embodiment of the present application. Optionally, the memory can be a non-power-off volatile memory, such as an embedded Multi Media Card (EMMC), universal flash storage (UFS) or read-only memory (ROM), or other types of static storage devices that can store static information and instructions. It can also be a power-off volatile memory (volatile memory), such as a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions. It can also be an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other computer-readable storage medium that can be used to carry or store program code in the form of instructions or data structures and can be accessed by a computer, but is not limited to these.
[0211] The receiving interface may be a data input interface of a processor chip. In an optional case, the receiving interface may be MIPI, HDMI or Display Port (DP) and the like.
[0212] like Fig.10 FIG. 1 is a flow chart of an image processing method provided by an embodiment of the present application. Fig.10 In the corresponding method example, the format of the input image is RGB, the SPR image data obtained after sub-pixel rendering is an RGBG image, and the display screen is a SPA display screen. It should be understood that the embodiments of the present application do not limit the input image format, the image format after SPR processing, etc. For example, the input image format can also be YUV, YCoCg, raw image format, etc., and the SPR data can also be RGB delta or SPR1.5, etc.
[0213] The method includes:
[0214] Step 1: Perform sub-pixel rendering SPR processing on the image to be displayed to obtain SPR image data, which is an image that can be normally displayed on the SPA display screen. Exemplarily, the image to be displayed is an RGB image, and the image obtained by SPR processing is an RGBG image. The RGBG image contains 4 components for every 2 pixels: one R component, one B component, and two G components. The number of sub-pixels contained in the RGBG image is less than the number of sub-pixels contained in the RGB image.
[0215] Step 2: Encode the RGBG image to obtain a first data stream. Exemplarily, the first data stream is a bit stream, and the data volume of the first data stream is less than the data volume of the input RGBG image. The encoding is completed by an encoder, and the encoder includes 4 processing channels. The 4 components of 2 pixels of RGBG are encoded simultaneously, and each channel processes one component. The processing results of the 4 channels together constitute the first data stream.
[0216] Step three, encapsulate the first data stream to obtain a second data stream. The second data stream is a data stream that matches the transmission interface (including the AP's transmitting interface and the DDIC's receiving interface) and the transmission protocol. For example, when the transmitting interface is a MIPI transmitter, the receiving interface is a MIPI receiver, and the transmission protocol is the C-phy protocol of the MIPI standard, the second data stream is a data stream that complies with the MIPI standard. Exemplarily, the encapsulation can be completed by the AP's transmitting interface or by an encapsulation module, which can be a dedicated solidified hardware logic in the AP.
[0217] Step 4: Send the second data stream to the DDIC. Exemplarily, the second data stream is sent to the receiving interface of the DDIC via the sending interface of the AP.
[0218] Step 5: Decapsulate the second data stream to obtain the first data stream. Exemplarily, the decapsulation can be completed by the receiving interface of the DDIC, or by a decapsulation module, which can be a dedicated fixed hardware logic in the DDIC. The first data stream obtained by decapsulation is a data stream that can be processed or recognized by the decoder.
[0219] Step six: decode the first data stream to obtain RGBG image data that can be displayed on a display screen.
[0220] Due to the limitation of the display manufacturing process, the display has a mura phenomenon. In order to compensate for the mura phenomenon of the display, the method may further include:
[0221] Step 7: Perform screen brightness compensation processing on the decoded RGBG image data to obtain compensated RGBG image data. Exemplarily, perform demura processing on the decoded RGBG image data, and compensate for pixels in the mura area based on the compensation data.
[0222] Step 8: Drive the SPA display screen to display the compensated RGBG image data on the display screen.
[0223] Fig.10 In the corresponding method embodiment, steps 1 to 3 are completed by the AP side, step 4 is completed by the AP and DDIC in cooperation, and steps 5 to 8 are completed by DDIC.
[0224] In an optional case, the image after SPR processing is an RGB delta image.
[0225] Encoding the SPR image to obtain a first data stream specifically includes:
[0226] Performing format mapping on the RGB delta image to obtain a mapped RGB image. It should be understood that the total number of sub-pixels of the image will not change before and after the format mapping, and will not lead to an increase in the amount of image data;
[0227] The RGB image is converted into a YCoCg color space with brightness and color separation to obtain a YCoCg image. The YCoCg image includes three components: Y, Co, and Cg.
[0228] The YCoCg image is encoded to obtain the first data stream.
[0229] At this time, the encoder on the AP side may have only three processing channels, and the three processing channels encode the three components Y, Co, and Cg simultaneously; or the encoder on the AP side may have four processing channels, and any three of the four processing channels encode the three components Y, Co, and Cg simultaneously.
[0230] In an optional case, the AP sends the first data stream to the DDIC through the transmission interface;
[0231] Correspondingly, after receiving the first data stream through the transmission interface, the DDIC decodes the first data stream, and the obtained decoded image is a YCoCg image. The method further includes:
[0232] DDIC converts the three components Y, Co, Cg of the YCoCg image into the three components R, G, B of the RGB image;
[0233] Convert an RGB image to an RGB delta image that can be displayed on a SPA display.
[0234] In the embodiment of the present application, when the encoder on the AP side has 4 processing channels, it can encode and process the input of 4 components at the same time, or it can encode and process the input of 3 components at the same time.
[0235] like Fig.11 FIG. 1 is a flow chart of another method for image processing provided by an embodiment of the present application. Fig.10 Compared with the method embodiment shown, Fig.11 The corresponding method embodiment performs color space conversion on the RGBG data obtained by sub-pixel rendering in the AP, and converts the RGBG data into a color space with brightness and color separation, thereby further reducing the data volume of the image, saving transmission bandwidth, and reducing the correlation between the brightness and chromaticity of the image. After encoding and decoding the image, the image obtained has less distortion and better display effect.
[0236] The method includes:
[0237] Step 1: Perform sub-pixel rendering on the image to be displayed to obtain SPR image data.
[0238] Exemplarily, the image to be displayed is an RGB image, and the SPR image is an RGBG image. It should be understood that the image to be displayed can also be in YUV, YCoCg, raw and other formats. At this time, the image to be displayed can be converted into an RGB image by color space conversion, and the SPR image data can be an RGB delta or SPR1.5 image. Optionally, step one can be completed by the AP, or by other general or dedicated processors on the SOC, or by the aforementioned sub-pixel rendering module, sub-pixel rendering processing core, or sub-pixel rendering processing solidified hardware logic.
[0239] Step 2: Perform color space conversion on the RGBG image data, convert the RGBG image to a color space with brightness and color separation, and obtain 4 output components P0, P1, P2, and P3. The 4 output components include two brightness signals and two chrominance signals. It should be understood that every 2 pixels correspond to 4 input components and 4 output components. With 2 pixels as a group of input, the input includes four input components of R, G, B, and G, and the output includes four output components of P0, P1, P2, and P3. Exemplarily, the RGBG image can be converted into the YUV space. At this time, the 4 output components are: U, Y, V, and Y. The result of the color space conversion can be a UYVY image, a YVYU image, a YUYV image, or a VYUY image. Optionally, step 2 can be completed by other general or dedicated processors on the AP or SOC, or can be completed by the aforementioned color space conversion module, a dedicated color space conversion integrated circuit, or a dedicated color space conversion solidified hardware core.
[0240] The output image is an image signal with brightness and chrominance separated. If the chrominance signal is disturbed during transmission, it will not affect the brightness of the image when it is restored to the RGB space for display, thereby reducing the correlation between the chrominance and brightness signals of the image, and the data volume of the image after conversion is further reduced, thereby further saving bandwidth.
[0241] Step 3: Encode the four output components to obtain a first data stream.
[0242] The encoding is implemented by the AP encoder, which includes 4 processing channels, which are used to process the 4 components R, G, B and G of the RGBG image respectively, where one channel processes one component. Fig.10 The description of step 2 in is not repeated here.
[0243] Optionally, the method may further include:
[0244] Step 4: Encapsulate the first data stream to obtain the second data stream. For details, please refer to Fig.10 The description of step 3 in is not repeated here. Optionally, the encapsulation can be completed by a sending interface on the AP side, or by an encapsulation module or a dedicated encapsulation integrated circuit on the AP side.
[0245] Step 5: Send the second data stream to the DDIC. Exemplarily, the second data stream is sent to the receiving interface of the DDIC via the sending interface of the AP.
[0246] Exemplarily, please refer to the description of the sending interface 2013 of the AP's sending interface, which will not be repeated here.
[0247] Optionally, the method may further include:
[0248] Step 6: Decapsulate the second data stream to obtain the first data stream. Fig.10 The description of step 5 in the above is not repeated here. Optionally, the decapsulation can be completed by the receiving interface of the DDIC, or by the decapsulation module or decapsulation dedicated integrated circuit on the DDIC side.
[0249] Step 7: Decode the first data stream to obtain a decoded image, which is located in a color space of brightness and color separation, and includes four components P0, P1, P2, and P3. Exemplarily, the decoded image may be a UYVY image, a YVYU image, a YUYV image, or a VYUY image. Optionally, the decoding is performed by a decoder on the DDIC side.
[0250] Step 8: Perform color space conversion on the decoded image to obtain an RGBG image, which can be displayed on the SPA display. Optionally, the color space conversion can be completed by a color space conversion module on the DDIC side, which is a dedicated integrated circuit or dedicated fixed hardware logic.
[0251] Optionally, the method may further include:
[0252] Step 9: Perform screen brightness compensation processing on the RGBG image data to obtain compensated RGBG image data. Exemplarily, perform Demura processing on the decoded RGBG image data, and compensate the pixels in the mura area based on the compensation data. Optionally, the screen brightness compensation processing can be completed by the screen brightness compensator on the DDIC side.
[0253] Step 10: drive the SPA display screen to display the compensated RGBG image data on the display screen. Optionally, step 10 is completed by a driver on the DDIC side.
[0254] It should be understood that for ease of understanding, Fig.10 , 11 The corresponding method embodiments describe the method in the form of steps, but in some cases, the steps described may be performed in an order different from that shown here.
[0255] An embodiment of the present application also provides a computer-readable storage medium, which stores instructions. When the computer-readable storage medium is executed on a computer or a processor, the computer or the processor executes part or all of the functions of the method provided in the embodiment of the present application.
[0256] The embodiments of the present application also provide a computer program product comprising instructions, which, when executed on a computer or a processor, enables the computer or the processor to execute any one of the methods provided in the embodiments of the present application.
[0257] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A device for image data processing, characterized in that: include: System on chip SOC and display driver integrated circuit DDIC; The SOC includes an application processor AP, which includes: a sub-pixel rendering module, an encoder and a transmission interface; the DDIC includes a receiving interface, a decoder and a screen brightness compensator; the DDIC is used to drive a sub-pixel arrangement SPA display screen; The sub-pixel rendering module is used to perform sub-pixel rendering SPR on the original image to be displayed to obtain an RGBG image, and the RGBG image can be displayed on the SPA display screen, and the number of physical sub-pixels of the SPA display screen and the number of sub-pixels of the RGBG image are both smaller than the number of sub-pixels of the original image to be displayed; The encoder includes four processing channels, which are used to encode the four components R, G, B, and G of the RGBG image respectively to obtain a first data stream, wherein each of the four processing channels processes one component respectively; The sending interface is used to send the first data stream to the receiving interface; The decoder is used to decode the first data stream to obtain the RGBG image; The screen brightness compensator is used to perform brightness compensation on the RGBG image.
2. The device according to claim 1, characterized in that The SPA display screen is a folding screen, and the SPA display screen includes a first display screen and a second display screen; The DDIC includes: a first DDIC and a second DDIC, the first DDIC is used to drive the first display screen, and the second DDIC is used to drive the second display screen.
3. The device according to claim 1 or 2, characterized in that: The sub-pixel rendering module is a solidified hardware logic or a hardware integrated circuit.
4. The device according to any one of claims 1 to 3, characterized in that The transmitting interface and the receiving interface are both the mobile industry processor interface MIPI, the display serial interface DSI standardized by MIPI, or the embedded display port eDP standardized by the Video Electronics Standards Association VESA.
5. A device for processing image data, characterized in that: include: System on chip SOC and display driver integrated circuit DDIC; the SOC includes: a sub-pixel rendering module, an encoder and a transmission interface; the DDIC includes a receiving interface, a decoder and a screen brightness compensator; the DDIC is used to drive a sub-pixel arrangement SPA display screen; The sub-pixel rendering module is used to perform sub-pixel rendering SPR on the original image to be displayed to obtain an RGBG image, and the RGBG image can be displayed on the SPA display screen, the number of physical sub-pixels of the SPA display screen is smaller than the number of sub-pixels of the original image to be displayed, and the number of sub-pixels of the RGBG image is smaller than the number of sub-pixels of the original image to be displayed; The encoder is used to convert the RGBG image into a brightness-color separated SPR image, wherein the brightness-color separated SPR image includes four components U, Y, V and Y, wherein U and V are chrominance signal components, and Y is a brightness signal component; The encoder includes four processing channels for encoding four components U, Y, V and Y of the brightness and color separated SPR image to obtain a first data stream, wherein each of the four processing channels processes one component respectively; The sending interface sends the first data stream to the receiving interface; The decoder is used to decode the first data stream to obtain a decoded image, wherein the decoded image includes the four components U, Y, V and Y; The decoder is also used to convert the four components U, Y, V and Y of the decoded image into the four components R, G, B, G of the RGBG image; The screen brightness compensator is used to perform brightness compensation on the RGBG image.
6. The device according to claim 5, characterized in that The brightness-color separated SPR image includes: a UYVY image, a YVYU image, a YUYV image or a VYUY image.
7. The device according to claim 5 or 6, characterized in that The SPA display screen is a folding screen, and the SPA display screen includes a first display screen and a second display screen; The DDIC includes: a first DDIC and a second DDIC, the first DDIC is used to drive the first display screen, and the second DDIC is used to drive the second display screen.
8. The device according to any one of claims 5 to 7, characterized in that: The sub-pixel rendering module is a solidified hardware logic or a hardware integrated circuit.
9. The device according to any one of claims 5 to 8, characterized in that The transmitting interface and the receiving interface are both the mobile industry processor interface MIPI, the display serial interface DSI standardized by MIPI, or the embedded display port eDP standardized by the Video Electronics Standards Association VESA.
10. A system-on-chip (SOC), characterized in that: The SOC includes an application processor AP, and the application processor AP includes: a sub-pixel rendering module, an encoder and a transmission interface; The sub-pixel rendering module is used to perform sub-pixel rendering SPR on the original image to be displayed to obtain an RGBG image, and the RGBG image can be displayed on a sub-pixel arrangement SPA display screen, and the number of physical sub-pixels of the SPA display screen and the number of sub-pixels of the RGBG image are both smaller than the number of sub-pixels of the original image to be displayed; The encoder includes four processing channels, which are used to encode the four components R, G, B, and G of the RGBG image respectively to obtain a first data stream, wherein each of the four processing channels processes one component respectively; The sending interface is used to send the first data stream.
11. The SOC according to claim 10, characterized in that: The SPA display screen is a folding screen, and the SPA display screen includes a first display screen and a second display screen.
12. The SOC according to claim 10 or 11, characterized in that: The sub-pixel rendering module is a solidified hardware logic or a hardware integrated circuit.
13. The SOC according to any one of claims 10 to 12, characterized in that: The transmission interface is the mobile industry processor interface MIPI, the display serial interface DSI standardized by MIPI, or the embedded display port eDP standardized by the Video Electronics Standards Association VESA.
14. A system-on-chip (SOC), characterized in that: The SOC includes an application processor AP, and the application processor AP includes: a sub-pixel rendering module, an encoder and a transmission interface; The sub-pixel rendering module is used to perform sub-pixel rendering SPR on the original image to be displayed to obtain an RGBG image, and the RGBG image can be displayed on a sub-pixel arrangement SPA display screen, the number of physical sub-pixels of the SPA display screen is smaller than the number of sub-pixels of the original image to be displayed, and the number of sub-pixels of the RGBG image is smaller than the number of sub-pixels of the original image to be displayed; The encoder is used to convert the RGBG image into a brightness-color separated SPR image, wherein the brightness-color separated SPR image includes four components U, Y, V and Y, wherein U and V are chrominance signal components, and Y is a brightness signal component; The encoder includes four processing channels for encoding four components U, Y, V and Y of the brightness and color separated SPR image to obtain a first data stream, wherein each of the four processing channels processes one component respectively; The sending interface is used to send the first data stream.
15. The SOC according to claim 14, characterized in that: The brightness-color separated SPR image includes: a UYVY image, a YVYU image, a YUYV image or a VYUY image.
16. The SOC according to claim 14 or 15, characterized in that: The SPA display screen is a folding screen, and the SPA display screen includes a first display screen and a second display screen.
17. The SOC according to any one of claims 14 to 16, characterized in that: The sub-pixel rendering module is a solidified hardware logic or a hardware integrated circuit.
18. The SOC according to any one of claims 14 to 17, characterized in that: The transmission interface is the mobile industry processor interface MIPI, the display serial interface DSI standardized by MIPI, or the embedded display port eDP standardized by the Video Electronics Standards Association VESA.
19. A display driver integrated circuit DDIC, characterized in that: The DDIC includes: a receiving interface, a decoder and a screen brightness compensator; the DDIC is used to drive a sub-pixel arrangement SPA display screen; The transmission interface is used to receive a first data stream, wherein the first data stream is obtained by encoding four components R, G, B, and G of an RGBG image respectively, and the RGBG image is obtained by performing sub-pixel rendering SPR on an original image to be displayed; the RGBG image can be displayed on the SPA display screen, and the number of physical sub-pixels of the SPA display screen and the number of sub-pixels of the RGBG image are both smaller than the number of sub-pixels of the original image to be displayed; The decoder is used to decode the first data stream to obtain the RGBG image; The screen brightness compensator is used to perform brightness compensation on the RGBG image.
20. The DDIC according to claim 19, characterized in that The SPA display screen is a folding screen, and the SPA display screen includes a first display screen and a second display screen; The DDIC includes: a first DDIC and a second DDIC, the first DDIC is used to drive the first display screen, and the second DDIC is used to drive the second display screen.
21. The DDIC according to claim 19 or 20, characterized in that The receiving interface is the mobile industry processor interface MIPI, the display serial interface DSI standardized by MIPI, or the embedded display port eDP standardized by the Video Electronics Standards Association VESA.
22. A display driver integrated circuit DDIC, characterized in that: The DDIC includes: a receiving interface, a decoder and a screen brightness compensator; the DDIC is used to drive a sub-pixel arrangement SPA display screen; The transmission interface is used to receive a first data stream, wherein the first data stream is obtained by respectively encoding and processing four components U, Y, V and Y of a brightness-color separated SPR image, wherein the brightness-color separated SPR image includes four components U, Y, V and Y, wherein U and V are chrominance signal components, and Y is a brightness signal component; the brightness-color separated SPR image is obtained by converting an RGBG image; the RGBG image is obtained by performing sub-pixel rendering SPR on an original image to be displayed; the RGBG image can be displayed on the SPA display screen, and the number of physical sub-pixels of the SPA display screen and the number of sub-pixels of the RGBG image are both less than the number of sub-pixels of the original image to be displayed; The decoder is used to decode the first data stream to obtain a decoded image, wherein the decoded image includes the four components U, Y, V and Y; The decoder is also used to convert the four components U, Y, V and Y of the decoded image into the four components R, G, B, G of the RGBG image; The screen brightness compensator is used to perform brightness compensation on the RGBG image.
23. The DDIC according to claim 22, characterized in that The brightness-color separated SPR image includes: a UYVY image, a YVYU image, a YUYV image or a VYUY image.
24. The DDIC according to claim 22 or 23, characterized in that The SPA display screen is a folding screen, and the SPA display screen includes a first display screen and a second display screen; The DDIC includes: a first DDIC and a second DDIC, the first DDIC is used to drive the first display screen, and the second DDIC is used to drive the second display screen.
25. The DDIC according to any one of claims 22 to 24, characterized in that: The receiving interface is the mobile industry processor interface MIPI, the display serial interface DSI standardized by MIPI, or the embedded display port eDP standardized by the Video Electronics Standards Association VESA.
26. A method for image data processing, characterized in that: The method is executed by a system chip SOC, the SOC includes an application processor AP, the application processor AP includes: a sub-pixel rendering module, an encoder and a transmission interface; the encoder includes 4 processing channels; the method includes: The sub-pixel rendering module performs sub-pixel rendering SPR on the original image to be displayed to obtain an RGBG image, and the RGBG image can be displayed on a sub-pixel arrangement SPA display screen, and the number of physical sub-pixels of the SPA display screen and the number of sub-pixels of the RGBG image are both smaller than the number of sub-pixels of the original image to be displayed; The four processing channels of the encoder respectively encode the four components R, G, B, and G of the RGBG image to obtain a first data stream, wherein each of the four processing channels processes one component respectively; The sending interface sends the first data stream.
27. The method according to claim 26, characterized in that The SPA display screen is a folding screen, and the SPA display screen includes a first display screen and a second display screen.
28. The method according to claim 26 or 27, characterized in that The sub-pixel rendering module is a solidified hardware logic or a hardware integrated circuit.
29. The method according to any one of claims 26 to 28, characterized in that The transmission interface is the mobile industry processor interface MIPI, the display serial interface DSI standardized by MIPI, or the embedded display port eDP standardized by the Video Electronics Standards Association VESA.
30. A method for image data processing, characterized in that: The method is executed by a system chip SOC, the SOC includes an application processor AP, the application processor AP includes: a sub-pixel rendering module, an encoder and a transmission interface; the encoder includes 4 processing channels, and the method includes: The sub-pixel rendering module performs sub-pixel rendering SPR on the original image to be displayed to obtain an RGBG image, and the RGBG image can be displayed on a sub-pixel arrangement SPA display screen, the number of physical sub-pixels of the SPA display screen is smaller than the number of sub-pixels of the original image to be displayed, and the number of sub-pixels of the RGBG image is smaller than the number of sub-pixels of the original image to be displayed; The encoder converts the RGBG image into a brightness-color separated SPR image, wherein the brightness-color separated SPR image includes four components U, Y, V, and Y, wherein U and V are chrominance signal components, and Y is a brightness signal component; The four processing channels of the encoder respectively encode the four components U, Y, V and Y of the brightness and color separated SPR image to obtain a first data stream, wherein each of the four processing channels processes one component respectively; The sending interface sends the first data stream.
31. The method according to claim 30, characterized in that The brightness-color separated SPR image includes: a UYVY image, a YVYU image, a YUYV image or a VYUY image.
32. The method according to claim 30 or 31, characterized in that The SPA display screen is a folding screen, and the SPA display screen includes a first display screen and a second display screen.
33. The method according to any one of claims 30 to 32, characterized in that: The sub-pixel rendering module is a solidified hardware logic or a hardware integrated circuit.
34. The method according to any one of claims 30 to 33, characterized in that The transmission interface is the mobile industry processor interface MIPI, the display serial interface DSI standardized by MIPI, or the embedded display port eDP standardized by the Video Electronics Standards Association VESA.
35. A method for image data processing, characterized in that: The method is performed by a display driver integrated circuit DDIC, the DDIC comprising: a receiving interface, a decoder and a screen brightness compensator; the DDIC is used to drive a sub-pixel arrangement SPA display screen; the method comprises: The transmission interface receives a first data stream, wherein the first data stream is obtained by respectively encoding four components R, G, B, and G of an RGBG image, wherein the RGBG image is obtained by performing sub-pixel rendering SPR on an original image to be displayed; the RGBG image can be displayed on the SPA display screen, and the number of physical sub-pixels of the SPA display screen and the number of sub-pixels of the RGBG image are both smaller than the number of sub-pixels of the original image to be displayed; The decoder decodes the first data stream to obtain the RGBG image; The screen brightness compensator performs brightness compensation on the RGBG image.
36. The method according to claim 35, characterized in that The SPA display screen is a folding screen, and the SPA display screen includes a first display screen and a second display screen; The DDIC includes: a first DDIC and a second DDIC, the first DDIC is used to drive the first display screen, and the second DDIC is used to drive the second display screen.
37. The method according to claim 35 or 36, characterized in that The receiving interface is the mobile industry processor interface MIPI, the display serial interface DSI standardized by MIPI, or the embedded display port eDP standardized by the Video Electronics Standards Association VESA.
38. A method for image data processing, characterized in that: The method is performed by a display driver integrated circuit DDIC, the DDIC comprising: a receiving interface, a decoder and a screen brightness compensator; the DDIC is used to drive a sub-pixel arrangement SPA display screen; the method comprises: The transmission interface receives a first data stream, wherein the first data stream is obtained by respectively encoding four components U, Y, V and Y of a brightness-color separated SPR image, wherein the brightness-color separated SPR image includes four components U, Y, V and Y, wherein U and V are chrominance signal components, and Y is a brightness signal component; the brightness-color separated SPR image is obtained by converting an RGBG image; the RGBG image is obtained by performing sub-pixel rendering SPR on an original image to be displayed; the RGBG image can be displayed on the SPA display screen, and the number of physical sub-pixels of the SPA display screen and the number of sub-pixels of the RGBG image are both less than the number of sub-pixels of the original image to be displayed; The decoder decodes the first data stream to obtain a decoded image, wherein the decoded image includes the four components U, Y, V and Y; The decoder converts the four components U, Y, V and Y of the decoded image into the four components R, G, B, G of the RGBG image; The screen brightness compensator performs brightness compensation on the RGBG image.
39. The method according to claim 38, characterized in that The brightness-color separated SPR image includes: a UYVY image, a YVYU image, a YUYV image or a VYUY image.
40. The method according to claim 38 or 39, characterized in that The SPA display screen is a folding screen, and the SPA display screen includes a first display screen and a second display screen; The DDIC includes: a first DDIC and a second DDIC, the first DDIC is used to drive the first display screen, and the second DDIC is used to drive the second display screen.
41. The method according to any one of claims 38 to 40, characterized in that The receiving interface is the mobile industry processor interface MIPI, the display serial interface DSI standardized by MIPI, or the embedded display port eDP standardized by the Video Electronics Standards Association VESA.
42. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions; When the instructions are executed on a computer or a processor, the computer or the processor is caused to perform the method according to any one of claims 26 to 29; Or, when the instructions are executed on a computer or a processor, the computer or the processor is caused to perform the method according to any one of claims 30 to 34; Or, when the instructions are executed on a computer or a processor, the computer or the processor is caused to perform the method according to any one of claims 35 to 37; Alternatively, when the instructions are executed on a computer or a processor, the computer or the processor is caused to execute the method according to any one of claims 38 to 41.
