Search

US-12626653-B2 - Display panel and method for rendering subpixels of the display panel

US12626653B2US 12626653 B2US12626653 B2US 12626653B2US-12626653-B2

Abstract

The present disclosure provides a method for rendering subpixels of a display panel. The method includes: selecting a repeating module from a first database based on correspondences between a driving unit of a driving circuit of the display panel and a number of subpixels driven by the driving unit; dividing the subpixels of the display panel into a plurality of regions based on the selected repeating module; selecting a sampling range for each subpixel from a second database based on a position of the subpixel within the repeating module; sampling input display data for each subpixel based on the selected sampling range of the subpixel; and rendering the subpixel according to the sampled input display data. The first database comprises a plurality of pre-stored repeating modules, and the second database comprises a plurality of pre-stored sampling ranges.

Inventors

  • Xixi Luo

Assignees

  • KUNSHAN YUNYINGGU ELECTRONIC TECHNOLOGY CO., LTD.

Dates

Publication Date
20260512
Application Date
20230616

Claims (20)

  1. 1 . A method for rendering sub-pixels of a display panel, wherein the sub-pixels comprise a plurality of first sub-pixels driven by a plurality of first driving units, and the method comprises: determining, for each first driving unit, a first number of first sub-pixels driven by one first driving unit, wherein the first number is greater than one; selecting, based on the first number, a first module of pixels from a first database, wherein each pixel of the first module corresponds to one first sub-pixel respectively, an arrangement of the pixels corresponds to an arrangement of the first sub-pixels, and a number of the pixels in the first module equals the first number of the first sub-pixels driven by one first driving unit; dividing the sub-pixels of the display panel into a plurality of rendering regions based on the first module, wherein a second number of the first sub-pixels in each rendering region equals the first number; obtaining, from a second database, respective sampling ranges for the first sub-pixels of each rendering region; sampling input display data for each first sub-pixel of each rendering region based on the sampling ranges; and rendering each first sub-pixel of each rendering region according to the sampled input display data.
  2. 2 . The method of claim 1 , wherein the sub-pixels comprise: a plurality of second sub-pixels driven by a plurality of second driving units, wherein a third number of the second sub-pixels driven by the second driving unit is smaller than the first number; and a plurality of third sub-pixels driven by a plurality of third driving units, wherein a fourth number of the third sub-pixels driven by the third driving unit is smaller than the first number; and each pixel of the first module is represented by one first sub-pixel and at least one of the second sub-pixel and the third sub-pixel.
  3. 3 . The method of claim 2 , wherein the first database is configured to store a plurality of modules of pixels comprising the first module and a second module, wherein a first size of the first module is different from a second size of the second module; or a first arrangement of the first module is different from a second arrangement of the second module.
  4. 4 . The method of claim 3 , wherein each module of pixels is assigned with a rendering index number; and the first module is selected by retrieving a first rendering index number corresponding to the first module.
  5. 5 . The method of claim 2 , obtaining sampling ranges for the first sub-pixels of each rendering region comprising: determining positions of the first sub-pixels in each rendering region, wherein the positions of the first sub-pixels in each rendering region correspond to the positions of the pixels represented by the first sub-pixels in the first module, respectively.
  6. 6 . The method of claim 5 , wherein selecting sampling ranges for the first sub-pixels comprises: selecting a first sampling range corresponding to the first sub-pixel at a first position of a first rendering region of the rendering regions; and selecting a second sampling range corresponding to the first sub-pixel at a second position of the first rendering region, wherein the first position is different from the second position.
  7. 7 . The method of claim 6 , further comprising: selecting respective sampling ranges for the second sub-pixels and the third sub-pixels.
  8. 8 . The method of claim 6 , wherein the first sampling range comprises: a central pixel represented by the first sub-pixel at the first position.
  9. 9 . The method of claim 8 , wherein the first sampling range further comprises: a peripheral pixel represented by the first sub-pixel at a third position adjacent to the first position.
  10. 10 . The method of claim 9 , wherein a maximum distance between the peripheral pixel and the central pixel is smaller than or equal to two pixels.
  11. 11 . The method of claim 6 , wherein each sampling range is assigned with a respective sampling index number; the first sampling range is selected by retrieving a first sampling index number corresponding to the first sampling range; and the second sampling range is selected by retrieving a second sampling index number corresponding to the second sampling range.
  12. 12 . The method of claim 6 , wherein two adjacent rendering regions are rendered at different times, and the sub-pixels in one of the rendering regions are rendered at a same time.
  13. 13 . A method for rendering sub-pixels of a display panel, wherein the sub-pixels comprise a plurality of first sub-pixels driven by a plurality of first driving units, and the method comprises: determining, for each first driving unit, a first number of first sub-pixels driven by one first driving unit, wherein the first number is greater than one; selecting, based on the first number, a first module of pixels from a first database, wherein each pixel of the first module corresponds to one first sub-pixel respectively, an arrangement of the pixels corresponds to an arrangement of the first sub-pixels, and a number of the pixels in the first module equals the first number of the first sub-pixels driven by one first driving unit; dividing the sub-pixels of the display panel into a plurality of rendering regions based on the first module, wherein a second number of the first sub-pixels in each rendering region equals the first number; obtaining, from a second database, respective sampling ranges to the first sub-pixels of each rendering region based on positions of the first sub-pixels in each rendering region; sampling input display data for each sub-pixel of each rendering region based on the sampling ranges; and rendering each sub-pixel of the rendering region according to the sampled input display data.
  14. 14 . The method of claim 13 , wherein the sub-pixels further comprise: a plurality of second sub-pixels driven by a plurality of second driving units, wherein a third number of the second sub-pixels driven by the second driving unit is smaller than the first number; and a plurality of third sub-pixels driven by a plurality of third driving units, wherein a fourth number of the third sub-pixels driven by the third driving unit is smaller than the first number; and each pixel of the first module is represented by one first sub-pixel and at least one of the second sub-pixel and the third sub-pixel.
  15. 15 . The method of claim 13 , wherein each module of pixels is assigned a rendering index number; and the first module is selected by retrieving a first rendering index number corresponding to the first module.
  16. 16 . The method of claim 13 , wherein the positions of the first sub-pixels in each rendering region correspond to positions of the pixels represented by the first sub-pixels in the first module, respectively.
  17. 17 . The method of claim 13 , wherein obtaining the sampling ranges for the first sub-pixels of each rendering region comprises: assigning a first sampling range corresponding to the first sub-pixel at a first position of a first rendering region of the rendering regions; and assigning a second sampling range corresponding to the first sub-pixel at a second position of the first rendering region, wherein the first position is different from the second position.
  18. 18 . The method of claim 17 , wherein the first sampling range comprises: a central pixel represented by the first sub-pixel at the first position; and a peripheral sub-pixel represented by the first sub-pixel at a third position adjacent to the first position.
  19. 19 . The method of claim 17 , wherein two adjacent rendering regions are rendered at different times, and the sub-pixels in one of the rendering regions are rendered at a same time.
  20. 20 . A display panel comprising sub-pixels and a processor, wherein the sub-pixels comprise a plurality of first sub-pixels driven by a plurality of first driving units, and the processor is configured to, upon executing instructions: determining, for each first driving unit, a first number of first sub-pixels driven by one first driving unit, wherein the first number is greater than one; selecting, based on the first number, a first module of pixel from a first database, wherein each pixel of the first module corresponds to one first sub-pixel respectively, an arrangement of the pixels corresponds to an arrangement of the first sub-pixels, and a number of the pixels in the first module equals the first number of the first sub-pixels driven by one first driving unit; dividing the sub-pixels of the display panel into a plurality of rendering regions based on the first module, wherein a second number of the first sub-pixels in each rendering region equals the first number; obtaining, from a second database, respective sampling ranges for the first sub-pixels of each rendering region from a second database; sampling input display data for each first sub-pixel of each rendering region based on the sampling ranges; and rendering each first sub-pixel of each rendering region according to the sampled input display data.

Description

CROSS REFERENCE TO RELATED APPLICATIONS This application is a continuation of International Application No. PCT/CN2023/098178, filed on Jun. 3, 2023, which is hereby incorporated by reference in its entirety. BACKGROUND The disclosure relates generally to display technologies, and more particularly, to a display panel and a method for rendering thereof. Under-display cameras (UDC) are designed to achieve a full-screen display effect, which are popular in cell phone screens. A region of a display panel above the UDC is specially designed with through holes for light to pass through. The through holes are distributed among and remove part of a plurality of driving units that are impervious to light, so that the region above the UDC allows light to pass through while performing display functions. Therefore, each driving unit above the UDC drives more than one subpixel. For example, “two by one” means two subpixels are controlled by a same driving unit, and “four by one” means four subpixels are controlled by the same driving unit. Similar designs include “three by one,” “six by one,” etc. The correspondences between the subpixels and the driving units are designed based on practical needs and vary with the type of the display panel. Method and algorithm for rendering a display are closely related to the correspondence, as the correspondences of different types of display panel vary, it is necessary to tailor-make method and algorithm to a certain display to get a great display effect, which brings a large workload. SUMMARY In one example, a method for rendering subpixels of a display panel is provided. The method includes: selecting a repeating module from a first database based on correspondences between a driving unit of a driving circuit of the display panel and a number of subpixels driven by the driving unit; dividing the subpixels of the display panel into a plurality of regions based on the selected repeating module, each region of the plurality of regions including at least one subpixel; selecting a sampling range for each subpixel from a second database based on a position of the subpixel within the repeating module; sampling input display data for each subpixel based on the selected sampling range of the subpixel; and rendering the subpixel according to the sampled input display data. The first database includes a plurality of pre-stored repeating modules corresponding to the correspondences one by one, and the second database includes a plurality of pre-stored sampling ranges corresponding to a plurality of positions in a plurality of repeating modules. In one implementation, the subpixels driven by a same driving unit have a same color, and a minimal number of subpixels driven by a same driving unit is one. In one implementation, the correspondences include: a first correspondence between a number of red subpixels driven by a same driving unit; a second correspondence between a number of green subpixels driven by a same driving unit; and a third correspondence between a number of blue subpixels driven by a same driving unit. In one implementation, the subpixels are arranged based on Pentile arrangement, delta arrangement, or a GGRB arrangement. In one implementation, each repeating module in the first database is assigned with a first index number, and a repeating module is selected by retrieving the first index number relating to the repeating module. In one implementation, subpixels in different positions of a repeating module have different sampling strategies. In one implementation, a minimal number of subpixels in a repeating module is one, and a maximal number of subpixels in a repeating module is sixteen. In one implementation, each sampling range includes a anchored subpixel for sampling, when the sampling range is resigned to a subpixel, the subpixel is placed as the anchored subpixel. In one implementation, each sampling range includes a plurality of peripheral subpixels around the anchored subpixel. In one implementation, a distance between a peripheral subpixel and the anchored subpixel is smaller than two subpixels. In one implementation, each sampling range in the second database is assigned with a second index number, and a sampling range is selected by retrieving the second index number corresponding to the sampling range. In one implementation, the plurality of regions are rendered based on a sequence carried by the input display data, and the subpixels in a same region are rendered at a same time. In another example, a method for rendering subpixels of a display panel is provided. The method includes: selecting a repeating module from a first database based on correspondences between a driving unit of a driving circuit of the display panel and a number of subpixels driven by the driving unit; dividing the subpixels of the display panel into a plurality of regions based on the selected repeating module, each region of the plurality of regions including at least one subpixel, and ea