# US 2024/0021176 A1 · Image Processing Method Based on Vertical Sychronization Signal and Electronic Device

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2024/0021176 A1
- Document ID: US20240021176A1
- Status: Published application
- Kind: A1
- Application number: 18/247,244
- Filed: 2021-08-30
- Published: 2024-01-18
- Earliest claimed: 2020-09-30
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Jian Chen; Tanqi Yu; Yu Li; Liang Wang; Xingchun Ji
- Web page: https://patentgrep.com/patent/US20240021176A1

## CPC

- G09G 5/377: for mixing or overlaying two or more graphic patterns (G09G5/02, G09G5/397 take precedence)
- G09G 5/14: Display of multiple viewports
- G09G 2340/0435: Change or adaptation of the frame rate of the video stream
- G09G 2340/10: Mixing of images, i.e. displayed pixel being the result of an operation, e.g. adding, on the corresponding input pixels
- G09G 2340/12: Overlay of images, i.e. displayed pixel being the result of switching between the corresponding input pixels
- H04N 5/10: Separation of line synchronising signal from frame synchronising signal {or vice versa}
- H04N 21/43072: {of multiple content streams on the same device}
- H04N 21/440281: {by altering the temporal resolution, e.g. by frame skipping (television signal recording using magnetic recording on tape for reproducing at a rate different from the recording rate H04N5/783)}
- G09G: ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION (arrangements for transferring data between digital computers and displays G06F3/14; static indicating arrangements comprising an association of a number of separate sources or light control cells G09F9/00; static indicating arrangements comprising integral associations of a number of light sources H01J, H01K, H10H, H05B33/12; scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission, details thereof H04N1/00)
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

An image processing method based on a vertical synchronization signal and an electronic device, related to the field of image processing and display technologies. The method includes that the electronic device draws one or more layers in response to a first vertical synchronization signal; and the electronic device renders, in response to a second vertical synchronization signal, the layers drawn by the electronic device.

## Claims

### Claim at position 1

1-13. (canceled)

### Claim 14

An image processing method, comprising
drawing, by an electronic device, one or more layers in response to a first vertical synchronization signal; and
rendering, by the electronic device in response to a second vertical synchronization signal, the one or more layers.

### Claim 15 (depends on 14)

The method according to claim 14, wherein the rendering, by the electronic device, the one or more layers in response to the second vertical synchronization signal comprises:
rendering, by the electronic device, based on the electronic device meeting at least one of the following preset conditions, the one or more layers in response to the second vertical synchronization signal;
wherein the preset conditions comprise:
a screen refresh rate of the electronic device is greater than a preset refresh rate threshold;
a current application of the electronic device is a preset application, and the preset application does not comprise a game application; or
first processing duration of the electronic device in a first statistics collecting period is greater than preset single-frame duration, the first processing duration is a sum of a first drawing duration and a first rendering duration, the first drawing duration is a duration required by the electronic device to draw a layer, and the first rendering duration is a duration required by the electronic device to render a layer.

### Claim 16 (depends on 14)

The method according to claim 14, wherein the second vertical synchronization signal has the same frequency as the first vertical synchronization signal.

### Claim 17 (depends on 14)

The method according to claim 14, wherein the method further comprises, after the rendering, by the electronic device, the one or more layers in response to a second vertical synchronization signal,
adjusting, by the electronic device, the second vertical synchronization signal, wherein the second vertical synchronization signal is delayed by first delay duration compared with the first vertical synchronization signal; and
rendering, by the electronic device, in response to the adjusted second vertical synchronization signal, the one or more layers.

### Claim 18 (depends on 17)

The method according to claim 17, wherein the adjusting, by the electronic device, the second vertical synchronization signal, and the second vertical synchronization signal is delayed by the first delay duration compared with the first vertical synchronization signal comprises:
adjusting, by the electronic device, based on second drawing duration of a second statistics collecting period being greater than preset single-frame duration, the second vertical synchronization signal, and the second vertical synchronization signal is delayed by the first delay duration compared with the first vertical synchronization signal;
wherein the first delay duration is greater than or equal to a difference between the second drawing duration and the preset single-frame duration.

### Claim 19 (depends on 14)

The method according to claim 14, wherein the method further comprises, after the rendering, by the electronic device, the one or more layers in response to the second vertical synchronization signal:
adjusting, by the electronic device, the second vertical synchronization signal, wherein the first vertical synchronization signal is advanced by a second delay duration compared with the second vertical synchronization signal; and
rendering, by the electronic device, in response to the adjusted second vertical synchronization signal, the one or more layers.

### Claim 20 (depends on 19)

The method according to claim 19, wherein the adjusting, by the electronic device, the second vertical synchronization signal, wherein the second vertical synchronization signal is delayed by first delay duration compared with the first vertical synchronization signal comprises:
adjusting, by the electronic device, based on second drawing duration of a second statistics collecting period being less than preset single-frame duration, and second rendering duration of the second statistics collecting period is greater than the preset single-frame duration, the second vertical synchronization signal, wherein the first vertical synchronization signal is advanced by second delay duration compared with the second vertical synchronization signal;
wherein the second delay duration is greater than or equal to a difference between the preset single-frame duration and the second drawing duration.

### Claim 21

An image processing method, comprising
drawing, by an electronic device, one or more layers in response to a first vertical synchronization signal;
rendering the one or more layers;
performing, by the electronic device, based on the electronic device having not completed the rendering of the one or more layers within preset single-frame duration, layer composition on the one or more layers in response to the first second vertical synchronization signal after the rendering of the one or more layers is completed; and
obtaining an image frame by performing, by the electronic device, based on the electronic device completing the rendering of the one or more layers within the preset single-frame duration, layer composition on the one or more layers in response to the second second vertical synchronization signal after the rendering of the one or more layers is completed.

### Claim 22 (depends on 21)

The method according to claim 21, wherein the drawing,
by the electronic device, the one or more layers in response to the first vertical synchronization signal and rendering the one or more layers comprises:
rendering, by the electronic device, based on the electronic device meeting at least one of the following conditions, the one or more layers in response to the first vertical synchronization signal;
wherein the conditions comprise:
a screen refresh rate of the electronic device is greater than a preset refresh rate threshold;
a current application of the electronic device is a preset application, wherein the preset application does not comprise a game application; o
a first processing duration of the electronic device in a first statistics collecting period is greater than a preset single-frame duration, the first processing duration is a sum of a first drawing duration and a first rendering duration, the first drawing duration is a duration required by the electronic device to draw a layer, and the first rendering duration is a duration required by the electronic device to render a layer.

### Claim 23

An electronic device, comprising:
a processor; and
a non-transitory computer-readable storage medium storing a program to be executed by the processor, the program including instructions for:
drawing one or more layers in response to a first vertical synchronization signal; and
rendering the one or more layers in response to a second vertical synchronization signal.

### Claim 24 (depends on 23)

The electronic device according to claim 23, wherein the rendering the one or more layers in response to a second vertical synchronization signal comprises:
rendering, based on the electronic device meeting at least one of the following preset conditions, the one or more layers in response to the second vertical synchronization signal;
wherein the preset conditions comprise:
a screen refresh rate of the electronic device is greater than a preset refresh rate threshold;
a current application of the electronic device is a preset application, wherein the preset application does not comprise a game application; or
a first processing duration of the electronic device in a first statistics collecting period is greater than preset single-frame duration, the first processing duration is a sum of a first drawing duration and a first rendering duration, the first drawing duration is a duration required to draw a layer, and the first rendering duration is a duration required to render a layer.

### Claim 25 (depends on 23)

The electronic device according to claim 23, wherein the second vertical synchronization signal has the same frequency as the first vertical synchronization signal.

### Claim 26 (depends on 23)

The electronic device according to claim 23, wherein the instructions further include instructions for:
adjusting the second vertical synchronization signal, wherein the second vertical synchronization signal is delayed by a first delay duration compared with the first vertical synchronization signal; and
rendering the one or more layers in response to the adjusted second vertical synchronization signal.

### Claim 27 (depends on 26)

The electronic device according to claim 26, wherein the adjusting the second vertical synchronization signal, wherein the second vertical synchronization signal is delayed by first delay duration compared with the first vertical synchronization signal comprises:
adjusting, based on second drawing duration of a second statistics collecting period being greater than preset single-frame duration, the second vertical synchronization signal, wherein the second vertical synchronization signal is delayed by the first delay duration compared with the first vertical synchronization signal;
wherein the first delay duration is greater than or equal to a difference between the second drawing duration and the preset single-frame duration.

### Claim 28 (depends on 23)

The electronic device according to claim 23, wherein the instructions further include instructions for:
adjusting the second vertical synchronization signal, wherein the first vertical synchronization signal is advanced by second delay duration compared with the second vertical synchronization signal; and
rendering the one or more layers in response to the adjusted second vertical synchronization signal.

### Claim 29 (depends on 28)

The electronic device according to claim 28, wherein the adjusting the second vertical synchronization signal, wherein the second vertical synchronization signal is delayed by a first delay duration compared with the first vertical synchronization signal comprises:
adjusting, based on second drawing duration of a second statistics collecting period being less than preset single-frame duration, and a second rendering duration of the second statistics collecting period is greater than the preset single-frame duration, the second vertical synchronization signal, wherein the first vertical synchronization signal is advanced by a second delay duration compared with the second vertical synchronization signal;
wherein the second delay duration is greater than or equal to a difference between the preset single-frame duration and the second drawing duration.
