CN-122023123-A - Image processing method, image processing apparatus, electronic device, and readable storage medium
Abstract
The application discloses an image processing method, an image processing device, electronic equipment and a readable storage medium, and belongs to the technical field of computers. The image processing method comprises the steps of creating an auxiliary rendering layer corresponding to a target application program, mapping rendering information corresponding to a rendering pipeline of the target application program to the auxiliary rendering layer, transmitting the rendering information obtained by mapping the auxiliary rendering layer to an independent display chip, and performing super-division processing on an image of the target application program through the independent display chip according to the rendering information obtained by mapping.
Inventors
- CHEN WEIBIN
Assignees
- 维沃移动通信有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20260119
Claims (12)
- 1. An image processing method, comprising: Creating an auxiliary rendering layer corresponding to the target application program; Mapping rendering information corresponding to a rendering pipeline of the target application program to the auxiliary rendering layer; Transmitting the rendering information obtained by mapping the auxiliary rendering layer to an independent display chip; And performing super-resolution processing on the image of the target application program according to the rendering information obtained by mapping through the independent display chip.
- 2. The method of claim 1, wherein the rendering information comprises UI data, color data, motion vectors, and depth data, wherein the auxiliary rendering layers comprise an auxiliary rendering layer corresponding to the UI data, an auxiliary rendering layer corresponding to the color data, and an auxiliary rendering layer corresponding to the motion vectors and depth data; The mapping the rendering information corresponding to the rendering pipeline of the target application program to the auxiliary rendering layer includes: And mapping the UI data, the color data, the motion vector and the depth data to the corresponding auxiliary rendering layers respectively.
- 3. The method according to claim 2, wherein the method further comprises: and adjusting the hierarchy sequence between the auxiliary rendering layer corresponding to the UI data and the auxiliary rendering layer corresponding to the color data, wherein the adjusted hierarchy sequence is that the auxiliary rendering layer corresponding to the UI data is positioned at the upper layer of the auxiliary rendering layer corresponding to the color data.
- 4. The method of claim 1, wherein creating the auxiliary rendering layer corresponding to the target application program comprises: A rendering request sent by a target rendering layer is obtained, wherein the rendering request is used for requesting to render the target rendering layer, the rendering request carries a rendering interface type and a layer name of the target rendering layer, and the target rendering layer is a rendering layer corresponding to the target application program; acquiring an instance object corresponding to the target rendering layer from a preset buffer zone under the condition that the rendering interface type is a target rendering type and the layer name comprises target characters; determining a root view corresponding to the target application program based on the instance object; And creating an auxiliary rendering layer corresponding to the target application program based on the root view.
- 5. The method according to claim 1, wherein the method further comprises: In case a close request for the super resolution mode of the target application is obtained, disabling the separate display chip and/or removing the auxiliary rendering layer.
- 6. An image processing apparatus, comprising: The creation module is used for creating an auxiliary rendering layer corresponding to the target application program; The mapping module is used for mapping the rendering information corresponding to the rendering pipeline of the target application program to the auxiliary rendering layer; The transmission module is used for transmitting the rendering information obtained by mapping the auxiliary rendering layer to an independent display chip; and the super processing module is used for performing super processing on the image of the target application program according to the rendering information obtained by mapping through the independent display chip.
- 7. The image processing apparatus according to claim 6, wherein the rendering information includes UI data, color data, motion vectors, and depth data, and wherein the auxiliary rendering layers include an auxiliary rendering layer corresponding to the UI data, an auxiliary rendering layer corresponding to the color data, and an auxiliary rendering layer corresponding to the motion vectors and depth data; The mapping module is specifically configured to map the UI data, the color data, the motion vector, and the depth data to the corresponding auxiliary rendering layers respectively.
- 8. The image processing apparatus of claim 7, further comprising an adjustment module configured to adjust a hierarchical order between a secondary rendering layer corresponding to the UI data and a secondary rendering layer corresponding to the color data, wherein the adjusted hierarchical order is that the secondary rendering layer corresponding to the UI data is located at an upper layer of the secondary rendering layer corresponding to the color data.
- 9. The image processing device according to claim 6, wherein the creation module is specifically configured to obtain a rendering request sent by a target rendering layer, where the rendering request is used for requesting to render the target rendering layer, the rendering request carries a rendering interface type and a layer name of the target rendering layer, the target rendering layer is a rendering layer corresponding to the target application program, obtain an instance object corresponding to the target rendering layer from a preset cache area when the rendering interface type is the target rendering type and the layer name includes a target character, determine a root view corresponding to the target application program based on the instance object, and create an auxiliary rendering layer corresponding to the target application program based on the root view.
- 10. The image processing apparatus of claim 6, further comprising a processing module configured to disable the independent display chip and/or remove the auxiliary rendering layer if a close request for the super resolution mode of the target application is obtained.
- 11. An electronic device comprising a processor and a memory storing a program or instructions executable on the processor and a program or instructions stored on the memory and executable on the processor, which program or instructions when executed by the processor implement the steps of the image processing method according to any of claims 1-5.
- 12. A readable storage medium, characterized in that the readable storage medium has stored thereon a program or instructions which, when executed by a processor, implement the steps of the image processing method according to any of claims 1-5.
Description
Image processing method, image processing apparatus, electronic device, and readable storage medium Technical Field The application belongs to the technical field of computers, and particularly relates to an image processing method, an image processing device, electronic equipment and a readable storage medium. Background In the super-division mode based on the independent display chip, after the graphic processor (Graphics Processing Unit, GPU) finishes image rendering and synthesizes via the graphic layer synthesizer, the synthesized image is transmitted to the independent display chip, and super-processing is performed on the synthesized image by the independent display chip. However, because the independent display chip is positioned at the tail end of the display link, the problem of information deficiency exists, so that the independent display chip can only perform spatial domain super-division based on the synthesized image, and the image quality after super-division processing is poor. Disclosure of Invention An object of an embodiment of the present application is to provide an image processing method, an image processing apparatus, an electronic device, and a readable storage medium, capable of improving image quality after super-resolution processing. In a first aspect, an embodiment of the present application provides an image processing method, including creating an auxiliary rendering layer corresponding to a target application, mapping rendering information corresponding to a rendering pipeline of the target application to the auxiliary rendering layer, transmitting the rendering information obtained by mapping the auxiliary rendering layer to an independent display chip, and performing super-resolution processing on an image of the target application according to the rendering information obtained by mapping by the independent display chip. In a second aspect, an embodiment of the present application provides an image processing apparatus, where the apparatus includes a creation module configured to create an auxiliary rendering layer corresponding to a target application, a mapping module configured to map rendering information corresponding to a rendering pipeline of the target application to the auxiliary rendering layer, a transmission module configured to transmit the rendering information mapped by the auxiliary rendering layer to an independent display chip, and a super processing module configured to perform super processing on an image of the target application according to the rendering information mapped by the independent display chip. In a third aspect, an embodiment of the present application provides an electronic device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the method as described in the first aspect. In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor perform the steps of the method according to the first aspect. In a fifth aspect, an embodiment of the present application provides a chip, the chip including a processor and a communication interface, the communication interface being coupled to the processor, the processor being configured to execute a program or instructions to implement the steps of the method according to the first aspect. In a sixth aspect, embodiments of the present application provide a computer program product stored in a storage medium, the program product being executed by at least one processor to carry out the steps of the method according to the first aspect. In the embodiment of the application, the auxiliary rendering layer corresponding to the target application program is created, the rendering information corresponding to the rendering pipeline of the target application program is mapped to the auxiliary rendering layer, the rendering information obtained by mapping the auxiliary rendering layer is transmitted to the independent display chip, and the image of the target application program is subjected to super-resolution processing according to the rendering information obtained by mapping through the independent display chip, so that the independent display chip does not need to perform super-resolution processing on the full-screen image synthesized by the layer synthesizer, but can perform super-resolution processing in combination with the rendering information, thereby improving the image quality obtained by performing image super-resolution on the independent display chip. Drawings Fig. 1 shows a flowchart of an image processing method according to an embodiment of the present application; FIG. 2 is a schematic diagram illustrating a hierarchical sequence of layers according to an embodiment of the present application; FIG. 3 is a schematic diagram illustrating a hierarchical sequence of layer