US 11,950,013 B2
Method for processing an image frame and electronic device
Lihua Geng, Beijing (CN); and Xitong Ma, Beijing (CN)
Assigned to BOE TECHNOLOGY GROUP CO., LTD., Beijing (CN)
Filed by BOE TECHNOLOGY GROUP CO., LTD., Beijing (CN)
Filed on Sep. 23, 2021, as Appl. No. 17/482,605.
Claims priority of application No. 202011026511.2 (CN), filed on Sep. 25, 2020.
Prior Publication US 2022/0103871 A1, Mar. 31, 2022
Int. Cl. H04N 5/268 (2006.01); H03M 13/09 (2006.01)
CPC H04N 5/268 (2013.01) [H03M 13/09 (2013.01)] 12 Claims
OG exemplary drawing
 
1. A method for processing an image frame applied to an electronic device, the electronic device including a processor, a memory coupled to the processor and a display panel coupled to the processor; the method comprising:
obtaining, by the processor, an image frame to be displayed;
determining, by the processor, whether pixel data in the image frame to be displayed is lost;
using, by the processor, preset replacement data as data of target pixels in the image frame to be displayed, in response to determining that the pixel data in the image frame to be displayed is lost;
storing, by the memory, image frames to be displayed; and
displaying, by the display panel, the image frames to be displayed;
wherein the image frame to be displayed includes M pixel arrays, and M is an integer greater than 1; and determining whether the pixel data in the image frame to be displayed is lost includes:
determining whether pixel data in each of the M pixel arrays is lost wherein determining whether the pixel data in each pixel array is lost includes:
checking a cyclic redundancy check (CRC) code in data of each row of pixels in the pixel array;
determining whether a ratio of a number of first pixel rows to a number of second pixel rows in the pixel array is greater than or equal to a first threshold value, wherein the number of first pixel rows is a number of pixel rows that fail to pass the CRC code check in the pixel array, and the number of second pixel rows is a total number of pixel rows in the pixel array; and
determining that the pixel data in the pixel array is lost in response to determining that the ratio of the number of the first pixel rows to the number of the second pixel rows in the pixel array is greater than or equal to the first threshold value, so as to determine that the pixel data in the image frame to be displayed is lost.