[go: up one dir, main page]

CN110941413B - Display screen generation method and related device - Google Patents

Display screen generation method and related device Download PDF

Info

Publication number
CN110941413B
CN110941413B CN201911252526.8A CN201911252526A CN110941413B CN 110941413 B CN110941413 B CN 110941413B CN 201911252526 A CN201911252526 A CN 201911252526A CN 110941413 B CN110941413 B CN 110941413B
Authority
CN
China
Prior art keywords
type
digital signal
picture
signal processor
layer data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911252526.8A
Other languages
Chinese (zh)
Other versions
CN110941413A (en
Inventor
王猛猛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201911252526.8A priority Critical patent/CN110941413B/en
Publication of CN110941413A publication Critical patent/CN110941413A/en
Application granted granted Critical
Publication of CN110941413B publication Critical patent/CN110941413B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1407General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Image Processing (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The embodiment of the application discloses a display picture generation method and a related device, wherein the method comprises the following steps: the method comprises the steps that a graphics processor obtains first type graphics layer data; the digital signal processor acquires second type image layer data; the graphics processor generates at least one first type image layer picture according to the first type image layer data; the digital signal processor generates at least one second type layer picture according to the second type layer data; the distributed processing unit receives a first type layer picture sent by the graphic processor and a second type layer picture sent by the digital signal processor; and the decentralized processing unit synthesizes a display picture according to the first type layer picture and the second type layer picture. Therefore, the image data processing method and device are beneficial to improving the processing efficiency of the image data.

Description

Display screen generation method and related device
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a method and a related apparatus for generating a display screen.
Background
With the progress of electronic technology, the quality of a display screen of electronic equipment is higher and higher, and a picture with higher quality can be displayed; the current electronic equipment has limited capability of processing image data and low processing efficiency, so that the electronic equipment cannot generate high-quality image data, and hardware resources of a display screen are wasted.
Disclosure of Invention
The embodiment of the application provides a display image generation method and a related device, which are beneficial to improving the processing efficiency of image data.
In a first aspect, an embodiment of the present application provides a method for generating a display screen, which is applied to an electronic device, where a chip of the electronic device is provided with a graphics processor, a decentralized processing unit, and a digital signal processor, and the method includes:
the graphics processor obtains first type graphics layer data;
the digital signal processor acquires second type image layer data;
the graphics processor generates at least one first type image layer picture according to the first type image layer data;
the digital signal processor generates at least one second type layer picture according to the second type layer data;
the distributed processing unit receives the first type layer picture sent by the graphic processor and the second type layer picture sent by the digital signal processor;
and the decentralized processing unit synthesizes a display picture according to the first type layer picture and the second type layer picture.
In a second aspect, the present application provides a display screen generating apparatus, which is applied to an electronic device, a chip of the electronic device is provided with a graphics processor, a decentralized processing unit and a digital signal processor, the display screen generating apparatus includes a processing unit, wherein,
the processing unit is used for the graphics processor to obtain first type of graphics layer data; and for the digital signal processor to obtain a second type of graphics layer data; the graphics processor is used for generating at least one first type image layer picture according to the first type image layer data; the digital signal processor is used for generating at least one second type layer picture according to the second type layer data; the decentralized processing unit is used for receiving the layer picture of the first type sent by the graphics processor and the layer picture of the second type sent by the digital signal processor; and the distributed processing unit is used for synthesizing a display picture according to the first type layer picture and the second type layer picture.
In a third aspect, an embodiment of the present application provides an electronic device, including a controller, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the controller, and the programs include instructions for executing steps in any method in the first aspect of the embodiment of the present application.
In a fourth aspect, the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program makes a computer perform part or all of the steps described in any one of the methods of the first aspect of the present application.
In a fifth aspect, embodiments of the present application provide a computer program product, where the computer program product includes a non-transitory computer-readable storage medium storing a computer program, where the computer program is operable to cause a computer to perform some or all of the steps as described in any one of the methods of the first aspect of the embodiments of the present application. The computer program product may be a software installation package.
It can be seen that, in the embodiment of the present application, a graphics processor in an electronic device obtains first type layer data; the digital signal processor acquires second type image layer data; the graphics processor generates at least one first type image layer picture according to the first type image layer data; the digital signal processor generates at least one second type image layer picture according to the second type image layer data; the distributed processing unit receives a first type image layer picture sent by the graphic processor and a second type image layer picture sent by the digital signal processor; and the decentralized processing unit synthesizes a display picture according to the first type layer picture and the second type layer picture. Therefore, the digital signal processor and the graphic processor can synchronously process the graphic layer data, and the processing efficiency of the image data is improved; because the digital signal processor and the graphic processor can synchronously process data, the data processing capacity of the electronic equipment is stronger, the effective processing of the layer data is further ensured, and the quality of the finally synthesized display picture is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a method for generating a display screen according to an embodiment of the present application;
fig. 3 is a schematic flowchart of another display screen generation method according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a terminal according to an embodiment of the present application;
fig. 5 is a block diagram of functional units of a display screen generation apparatus according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," and the like in the description and claims of the present application and in the foregoing drawings are used for distinguishing between different objects and not for describing a particular sequential order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The following describes embodiments of the present application in detail.
Referring to fig. 1, please refer to fig. 1, where fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure, and as shown in the drawing, the electronic device includes a graphics processor, a digital signal processor, and a decentralized processing unit, where a picture finally displayed by the electronic device is an effect of synthesizing a plurality of layers, and each layer needs to perform operations such as drawing, rendering, and the like when displayed.
The electronic device may include various handheld devices, vehicle-mounted devices, wearable devices (such as smartwatches, smartbands, pedometers, and the like), computing devices, or other processing devices connected to a wireless modem, and various forms of User Equipment (UE), mobile Stations (MS), terminal devices (terminal device), and the like. For convenience of description, the above-mentioned devices are collectively referred to as a terminal.
Referring to fig. 2, fig. 2 is a schematic flowchart of a method for generating a display image according to an embodiment of the present application, and the method is applied to an electronic device, where a chip of the electronic device is provided with a graphics processor, a distributed processing unit, and a digital signal processor, and as shown in the figure, the method for generating a display image includes:
at step 201, the graphics processor obtains first type of graphics layer data.
Wherein, the first type of layer data can be preset; specifically, the type division may be performed according to a system-level layer and a third-party application layer, the system-level layer is divided into first-type layer data, and the third-party application layer is divided into second-type layer data; for example, the final composite display includes a title bar, a navigation bar, and a third-party application interface; and if the title bar and the navigation bar are provided by the service of the system level, determining the image layer data corresponding to the title bar and the navigation bar as the first type of image layer data. And if the third party application interface is provided by the third party application, determining the layer data corresponding to the third party application interface as second type layer data.
The first type of layer data may be generated by a graphics processor from data sent by a central processing unit of the electronic device.
Optionally, the first type of layer data and the second type of layer data may be divided according to the type of the application program: the method comprises the steps that the electronic equipment determines display interfaces corresponding to at least two third-party applications in the display interfaces, if the third-party applications are video/game applications, layer data corresponding to the third-party applications are determined to be second-type layer data, and if the third-party applications are application types other than the video/game applications, the layer data corresponding to the third-party applications are determined to be first-type layer data; the system-level layers are divided into a first type of layer data.
At step 202, the digital signal processor obtains a second type of layer data.
Wherein the second type of graphics layer data may be sent by the graphics processor to the digital signal processor.
The digital signal processor and the graphic processor can process the image layer data in parallel.
Step 203, the graphics processor generates at least one first type layer picture according to the first type layer data.
The first type of layer data may include a plurality of layer data, each layer data may be regarded as one set of the first type of layer data, and each set generates a first type of layer image correspondingly.
And 204, the digital signal processor generates at least one second type layer picture according to the second type layer data.
The second type layer data may include a plurality of layer data, each layer data may be regarded as a set, and each set generates a second type layer image correspondingly.
In step 205, the decentralized processing unit receives the first type layer picture sent by the graphics processor and the second type layer picture sent by the digital signal processor.
The distributed processing unit is used for combining the layers into a final display picture.
Step 206, the decentralized processing unit synthesizes a display picture according to the first type layer picture and the second type layer picture.
It can be seen that, in the embodiment of the present application, a graphics processor in an electronic device obtains first type layer data; the digital signal processor acquires second type image layer data; the graphics processor generates at least one first type image layer picture according to the first type image layer data; the digital signal processor generates at least one second type layer picture according to the second type layer data; the distributed processing unit receives a first type layer picture sent by the graphic processor and a second type layer picture sent by the digital signal processor; and the decentralized processing unit synthesizes a display picture according to the first type layer picture and the second type layer picture. Therefore, the digital signal processor and the graphic processor can synchronously process the graphic layer data, and the processing efficiency of the image data is improved; because the digital signal processor and the graphic processor can synchronously process data, the data processing capacity of the electronic equipment is stronger, the effective processing of the layer data is further ensured, and the quality of the finally synthesized display picture is improved.
In one possible example, the graphics processor generating at least one first type of graphics layer picture from the first type of graphics layer data includes: the graphics processor executes rendering operation according to a first number of layer data sets included in the first type of layer data to obtain a first number of first type of layer pictures, wherein the first number is a positive integer.
As can be seen, in this example, the graphics processor performs a rendering operation on the first type of layer data to generate a layer picture that may be displayed.
In one possible example, the digital signal processor generates at least one second type of layer picture according to the second type of layer data, including: the digital signal processor executes rendering operation according to a second number of image layer data sets included in the second type of image layer data to obtain a second number of reference images, wherein the second number is a positive integer; the digital signal processor executes a preprocessing operation aiming at a second number of the reference pictures to obtain a second number of the second type layer pictures, wherein the preprocessing operation comprises at least one of the following operations: adjusting sharpness, adjusting saturation, and adjusting brightness.
Optionally, the digital signal processor may analyze the second number of layer data sets to obtain data information of each layer data set in the second number of layer data sets, where the data information includes information such as sharpness, saturation, and brightness; the digital signal processor updates data information (adjusts sharpness, saturation and brightness) according to a preset algorithm, and then the digital signal processor performs rendering according to the updated data information to generate a layer picture corresponding to each layer.
As can be seen, in this example, the digital signal processor may process the second type of layer data while the graphics processor processes the first type of layer data, which improves the data processing efficiency of the electronic device; meanwhile, the digital signal processor can perform preprocessing operation on the reference picture to adjust the sharpness, saturation, brightness and the like of the picture, so that the quality of the finally synthesized picture is improved.
In one possible example, the second number of reference pictures comprises a first game picture, the digital signal processor performing pre-processing operations for the second number of reference pictures comprising: the digital signal processor judges the scene type corresponding to the first game picture, wherein the scene type comprises a dark scene and a white-light scene; and if the scene type is the dark scene, the digital signal processor promotes the saturation and the brightness of the first game picture to obtain the first game picture.
In this example, in a game scene, the digital signal processor may increase the saturation and brightness of the game picture when the game picture is in a dark scene, so as to meet the requirements of users in the game scene, and increase the intelligence of the electronic device.
In one possible example, the determining the scene type corresponding to the first game screen includes: the digital signal processor determines N RGB color values corresponding to the first game picture, wherein N is a positive integer; determining M RGB color values in a preset RGB value range in the N RGB color values; and determining the scene type corresponding to the first game picture according to the ratio of the M to the N.
The preset RGB value range can be a value range corresponding to a dark scene, when the ratio of M to N is larger than a first threshold value, the scene type corresponding to the first game picture is determined to be the dark scene, and when the ratio of M to N is smaller than the first threshold value, the scene type corresponding to the first game picture is determined to be a white and bright scene. For example, the predetermined RGB value range may be a value where R, G and B are all between 0 and 100, such as one RGB color value is (30, 40, 50) and R =30, G =40, B =50, which are all between 0 and 100, so that the RGB color value is within the predetermined RGB value range, if the first threshold is 0.6, N =100, M =70 in the first game frame, and the ratio of M to N is 0.7 > 0.6, so that the scene type corresponding to the first game frame is a dark scene.
Therefore, in this example, the electronic device can determine the scene type corresponding to the game picture according to the RGB color value range in the game picture, and further perform different rendering operations, thereby improving the intelligence of the electronic device.
In one possible example, the graphics processor obtains a first type of graphics layer data, comprising: the graphics processor determines at least one application program corresponding to the display picture to be displayed; determining a first type of application of the at least one application; and acquiring the layer data of the first type of application program.
The first type of application program may be preset by a user or a manufacturer of the electronic device.
Therefore, in this example, the graphics processor may determine the corresponding first type layer data according to the type of the application program, and then acquire the corresponding layer data, so that the electronic device may perform ordered processing on the different types of layer data, thereby improving the data processing efficiency of the electronic device.
In one possible example, the digital signal acquires second type of graphics layer data, including: the digital signal processor determines at least one application program corresponding to the display picture to be displayed; determining a second type of application of the at least one application; and acquiring the layer data of the second type of application program.
Wherein the second type of application program may be preset by a user or a factory of the electronic device.
In this example, the digital signal processor may determine the second type of layer data according to the type required by the application program, and acquire the second type of layer data, so that the digital signal processor processes the second type of layer data in parallel while the graphics processor processes the first type of layer data, thereby improving the data processing efficiency of the electronic device.
Referring to fig. 3, fig. 3 is a schematic flow chart of a method for generating a display frame according to an embodiment of the present application, and the method is applied to an electronic device, where a chip of the electronic device is provided with a graphics processor, a distributed processing unit, and a digital signal processor. As shown in the drawing, the method for generating a display screen includes:
in step 301, the graphics processor obtains first type of graphics layer data.
At step 302, the digital signal processor obtains a second type of layer data.
Step 303, the graphics processor performs a rendering operation according to a first number of layer data sets included in the first type of layer data to obtain a first number of first type of layer pictures, where the first number is a positive integer.
Step 304, the digital signal processor performs a rendering operation according to a second number of layer data sets included in the second type of layer data to obtain a second number of reference pictures, where the second number is a positive integer.
Step 305, the digital signal processor performs a pre-processing operation on a second number of reference pictures to obtain a second number of pictures of the second type layer, where the pre-processing operation includes at least one of: adjusting sharpness, adjusting saturation, and adjusting brightness.
Step 306, the graphics processor sends the first type of layer picture to the decentralized processing unit.
Step 307, the digital signal processor sends the second type layer picture to the decentralized processing unit.
Step 308, the decentralized processing unit synthesizes a display picture according to the first type layer picture and the second type layer picture.
It can be seen that, in the embodiment of the present application, a graphics processor in an electronic device obtains first type layer data; the digital signal processor acquires second type image layer data; the graphics processor generates at least one first type image layer picture according to the first type image layer data; the digital signal processor generates at least one second type layer picture according to the second type layer data; the distributed processing unit receives a first type image layer picture sent by the graphic processor and a second type image layer picture sent by the digital signal processor; and the decentralized processing unit synthesizes a display picture according to the first type layer picture and the second type layer picture. Therefore, the digital signal processor and the graphic processor can synchronously process the graphic layer data, and the processing efficiency of the image data is improved; because the digital signal processor and the graphic processor can synchronously process data, the data processing capacity of the electronic equipment is stronger, the effective processing of the layer data is further ensured, and the quality of the finally synthesized display picture is improved.
Referring to fig. 4, fig. 4 is a schematic structural diagram of an electronic device 400 provided in an embodiment of the present application, as shown in the figure, a chip of the electronic device is provided with a graphics processor, a distributed processing unit, and a digital signal processor, the electronic device 400 includes an application processor 410, a memory 420, a communication interface 430, and one or more programs 421, where the one or more programs 421 are stored in the memory 420 and configured to be executed by the application processor 410, and the one or more programs 421 include instructions for performing the following steps:
the graphics processor obtains first type of graphics layer data;
the digital signal processor acquires second type image layer data;
the graphics processor generates at least one first type image layer picture according to the first type image layer data;
the digital signal processor generates at least one second type layer picture according to the second type layer data;
the distributed processing unit receives the first type layer picture sent by the graphic processor and the second type layer picture sent by the digital signal processor;
and the decentralized processing unit synthesizes a display picture according to the first type layer picture and the second type layer picture.
It can be seen that, in the embodiment of the present application, a graphics processor in an electronic device obtains first type layer data; the digital signal processor acquires second type image layer data; the graphics processor generates at least one first type image layer picture according to the first type image layer data; the digital signal processor generates at least one second type layer picture according to the second type layer data; the distributed processing unit receives a first type layer picture sent by the graphic processor and a second type layer picture sent by the digital signal processor; and the decentralized processing unit synthesizes a display picture according to the first type layer picture and the second type layer picture. Therefore, the digital signal processor and the graphic processor can synchronously process the graphic layer data, and the processing efficiency of the image data is improved; because the digital signal processor and the graphic processor can synchronously process data, the data processing capacity of the electronic equipment is stronger, the effective processing of the layer data is further ensured, and the quality of the finally synthesized display picture is improved.
In one possible example, in terms of the graphics processor generating at least one first type of graphics layer picture from the first type of graphics layer data, the instructions in the program are specifically configured to perform the following: the graphics processor executes rendering operation according to a first number of layer data sets included in the first type of layer data to obtain a first number of first type of layer pictures, wherein the first number is a positive integer.
In one possible example, in terms of the digital signal processor generating at least one second type layer picture according to the second type layer data, the instructions in the program are specifically configured to perform the following operations: the digital signal processor executes rendering operation according to a second number of image layer data sets included in the second type of image layer data to obtain a second number of reference images, wherein the second number is a positive integer; the digital signal processor executes a preprocessing operation on a second number of reference pictures to obtain a second number of pictures of the second type of picture layer, where the preprocessing operation includes at least one of: adjusting sharpness, adjusting saturation, and adjusting brightness.
In one possible example, the second number of reference pictures comprises a first game picture, and in terms of the digital signal processor performing pre-processing operations for the second number of reference pictures, the instructions in the program are specifically for performing the following: the digital signal processor judges the scene type corresponding to the first game picture, wherein the scene type comprises a dark scene and a white-light scene; and if the scene type is the dark scene, the digital signal processor promotes the saturation and the brightness of the first game picture to obtain the first game picture.
In one possible example, in the aspect of determining the scene type corresponding to the first game screen, the instructions in the program are specifically configured to perform the following operations: the digital signal processor determines N RGB color values corresponding to the first game picture, wherein N is a positive integer; determining M RGB color values in a preset RGB value range in the N RGB color values; and determining the scene type corresponding to the first game picture according to the ratio of the M to the N.
In one possible example, in terms of the graphics processor obtaining the first type of graphics layer data, the instructions in the program are specifically configured to: the graphics processor determines at least one application program corresponding to the display picture to be displayed; determining a first type of application of the at least one application; and acquiring the layer data of the first type of application program.
In one possible example, in terms of the digital signal obtaining second type of layer data, the instructions in the program are specifically configured to perform the following operations: the digital signal processor determines at least one application program corresponding to the display picture to be displayed; determining a second type of application of the at least one application; and acquiring the layer data of the second type of application program.
The above description has introduced the solution of the embodiment of the present application mainly from the perspective of the method-side implementation process. It is understood that the electronic device comprises corresponding hardware structures and/or software modules for performing the respective functions in order to realize the functions. Those of skill in the art would readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the electronic device may be divided into the functional units according to the method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one control unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that, in the embodiment of the present application, the division of the unit is schematic, and is only one logic function division, and when the actual implementation is realized, another division manner may be provided.
Fig. 5 is a block diagram showing functional units of a display screen generation apparatus 500 according to an embodiment of the present application. The display screen generating apparatus 500 is applied to an electronic device, a chip of the electronic device is provided with a graphics processor, a distributed processing unit and a digital signal processor, the display screen generating apparatus 500 includes a processing unit 501, wherein:
the processing unit 501 is configured to obtain a first type of layer data by the graphics processor; and for the digital signal processor to obtain a second type of graphics layer data; and the graphics processor is used for generating at least one first type image layer picture according to the first type image layer data; the digital signal processor is used for generating at least one second type layer picture according to the second type layer data; the distributed processing unit is used for receiving the first type layer picture sent by the graphics processor and the second type layer picture sent by the digital signal processor; and the image processing unit is used for synthesizing a display image according to the first type image layer image and the second type image layer image.
The display screen generating apparatus 500 may further include a communication unit 502 and a storage unit 503, where the storage unit 503 is configured to store program codes and data of the electronic device. The processing unit 501 may be a processor, the communication unit 502 may be a touch display screen or a transceiver, and the storage unit 503 may be a memory.
It can be seen that, in the embodiment of the present application, a graphics processor in an electronic device obtains first type layer data; the digital signal processor acquires second type image layer data; the graphics processor generates at least one first type image layer picture according to the first type image layer data; the digital signal processor generates at least one second type layer picture according to the second type layer data; the distributed processing unit receives a first type layer picture sent by the graphic processor and a second type layer picture sent by the digital signal processor; and the decentralized processing unit synthesizes a display picture according to the first type layer picture and the second type layer picture. Therefore, the digital signal processor and the graphic processor can synchronously process the graphic layer data, and the processing efficiency of the image data is improved; because the digital signal processor and the graphic processor can synchronously process data, the data processing capacity of the electronic equipment is stronger, the effective processing of the layer data is further ensured, and the quality of the finally synthesized display picture is improved.
In one possible example, in terms of the graphics processor generating at least one first type of layer picture according to the first type of layer data, the processing unit 501 is specifically configured to: the graphics processor executes rendering operation according to a first number of image layer data sets included in the first type of image layer data to obtain a first number of first type of image layer pictures, wherein the first number is a positive integer.
In a possible example, in terms of the digital signal processor generating at least one second type image layer picture according to the second type image layer data, the processing unit 501 is specifically configured to: the digital signal processor executes rendering operation according to a second number of image layer data sets included in the second type of image layer data to obtain a second number of reference images, wherein the second number is a positive integer; the digital signal processor executes a preprocessing operation aiming at a second number of the reference pictures to obtain a second number of the second type layer pictures, wherein the preprocessing operation comprises at least one of the following operations: adjusting sharpness, adjusting saturation, and adjusting brightness.
In one possible example, the second number of reference pictures comprises a first game picture, and in terms of the digital signal processor performing a pre-processing operation on the second number of reference pictures, the processing unit 501 is specifically configured to: the digital signal processor judges the scene type corresponding to the first game picture, wherein the scene type comprises a dark scene and a white-light scene; and if the scene type is the dark scene, the digital signal processor promotes the saturation and the brightness of the first game picture to obtain the first game picture.
In a possible example, in terms of the determining the scene type corresponding to the first game screen, the processing unit 501 is specifically configured to: the digital signal processor determines N RGB color values corresponding to the first game picture, wherein N is a positive integer; determining M RGB color values in a preset RGB value range in the N RGB color values; and determining the scene type corresponding to the first game picture according to the ratio of the M to the N.
In one possible example, in terms of the graphics processor obtaining the first type of graphics layer data, the processing unit 501 is specifically configured to: the graphics processor determines at least one application program corresponding to the display picture to be displayed; determining a first type of application of the at least one application; and acquiring the layer data of the first type of application program.
In one possible example, in terms of obtaining the second type of layer data from the digital signal, the processing unit 501 is specifically configured to: the digital signal processor determines at least one application program corresponding to the display picture to be displayed; determining a second type of application of the at least one application; and acquiring the layer data of the second type of application program.
Embodiments of the present application also provide a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any one of the methods described in the above method embodiments, and the computer includes a mobile terminal.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as described in the above method embodiments. The computer program product may be a software installation package, the computer comprising a mobile terminal.
It should be noted that for simplicity of description, the above-mentioned embodiments of the method are described as a series of acts, but those skilled in the art should understand that the present application is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units is only one type of division of logical functions, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed coupling or direct coupling or communication connection between each other may be through some interfaces, indirect coupling or communication connection between devices or units, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated into one control unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit may be stored in a computer readable memory if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solutions of the present application, which are essential or part of the technical solutions contributing to the prior art, or all or part of the technical solutions, may be embodied in the form of a software product, which is stored in a memory and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the above methods of the embodiments of the present application. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, read-Only memories (ROMs), random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, the specific implementation manner and the application scope may be changed, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A method for generating a display screen is applied to an electronic device, a chip of the electronic device is provided with a graphic processor, a dispersion processing unit and a digital signal processor, and the method comprises the following steps:
the graphics processor obtains first type graphics layer data;
the digital signal processor acquires second type image layer data;
the graphics processor generates at least one first type image layer picture according to the first type image layer data;
the digital signal processor generates at least one second type layer picture according to the second type layer data;
the distributed processing unit receives the first type layer picture sent by the graphics processor and the second type layer picture sent by the digital signal processor;
and the decentralized processing unit synthesizes a display picture according to the first type layer picture and the second type layer picture.
2. The method of claim 1, wherein the graphics processor generating at least one first type of graphics layer picture from the first type of graphics layer data comprises:
the graphics processor executes rendering operation according to a first number of layer data sets included in the first type of layer data to obtain a first number of first type of layer pictures, wherein the first number is a positive integer.
3. The method according to claim 1 or 2, wherein the digital signal processor generates at least one second type image layer picture from the second type image layer data, comprising:
the digital signal processor executes rendering operation according to a second number of image layer data sets included in the second type of image layer data to obtain a second number of reference images, wherein the second number is a positive integer;
the digital signal processor executes a preprocessing operation aiming at a second number of the reference pictures to obtain a second number of the second type layer pictures, wherein the preprocessing operation comprises at least one of the following operations: adjusting sharpness, adjusting saturation, and adjusting brightness.
4. The method of claim 3, wherein the second number of reference pictures comprises a first game picture, and wherein the digital signal processor performs pre-processing operations for the second number of reference pictures, comprising:
the digital signal processor judges the scene type corresponding to the first game picture, wherein the scene type comprises a dark scene and a white-light scene;
and if the scene type is the dark scene, the digital signal processor promotes the saturation and the brightness of the first game picture to obtain the first game picture.
5. The method according to claim 4, wherein the determining the scene type corresponding to the first game screen comprises:
the digital signal processor determines N RGB color values corresponding to the first game picture, wherein N is a positive integer;
determining M RGB color values in a preset RGB value range in the N RGB color values;
and determining the scene type corresponding to the first game picture according to the ratio of the M to the N.
6. The method of claim 1, wherein the graphics processor obtaining the first type of graphics layer data comprises:
the graphics processor determines at least one application program corresponding to the display picture to be displayed;
determining a first type of application of the at least one application;
and acquiring the layer data of the first type of application program.
7. The method of claim 1, wherein the digital signal processor obtaining the second type of picture layer data comprises:
the digital signal processor determines at least one application program corresponding to the display picture to be displayed;
determining a second type of application of the at least one application;
and acquiring the layer data of the second type of application program.
8. A display screen generating device is applied to electronic equipment, a chip of the electronic equipment is provided with a graphic processor, a dispersion processing unit and a digital signal processor, the display screen generating device comprises a processing unit, wherein,
the processing unit is used for the graphics processor to obtain first type of graph layer data; and for the digital signal processor to obtain a second type of graphics layer data; the graphics processor is used for generating at least one first type image layer picture according to the first type image layer data; the digital signal processor is used for generating at least one second type layer picture according to the second type layer data; the decentralized processing unit is used for receiving the layer picture of the first type sent by the graphics processor and the layer picture of the second type sent by the digital signal processor; and the distributed processing unit is used for synthesizing a display picture according to the first type layer picture and the second type layer picture.
9. An electronic device comprising a processor, a memory, a communication interface, and one or more programs stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps in the method of any of claims 1-7.
10. A computer-readable storage medium, characterized in that a computer program for electronic data exchange is stored, wherein the computer program causes a computer to perform the method according to any one of claims 1-7.
CN201911252526.8A 2019-12-09 2019-12-09 Display screen generation method and related device Active CN110941413B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911252526.8A CN110941413B (en) 2019-12-09 2019-12-09 Display screen generation method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911252526.8A CN110941413B (en) 2019-12-09 2019-12-09 Display screen generation method and related device

Publications (2)

Publication Number Publication Date
CN110941413A CN110941413A (en) 2020-03-31
CN110941413B true CN110941413B (en) 2023-04-11

Family

ID=69909579

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911252526.8A Active CN110941413B (en) 2019-12-09 2019-12-09 Display screen generation method and related device

Country Status (1)

Country Link
CN (1) CN110941413B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116069279B (en) * 2021-11-04 2024-03-01 博泰车联网(大连)有限公司 Screen display method and vehicle-mounted terminal

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105139792A (en) * 2015-08-18 2015-12-09 京东方科技集团股份有限公司 Display method and display device
CN105227860A (en) * 2014-07-02 2016-01-06 索尼公司 Image generating method, device and mobile terminal
CN106126139A (en) * 2016-06-13 2016-11-16 北京金山安全软件有限公司 Terminal display processing method and device and electronic equipment
CN106339224A (en) * 2016-08-24 2017-01-18 北京小米移动软件有限公司 Readability enhancing method and device
CN106408536A (en) * 2016-09-14 2017-02-15 北京小米移动软件有限公司 Image synthesis method and device
CN106548500A (en) * 2016-09-26 2017-03-29 中国电子科技集团公司第二十九研究所 A kind of two-dimension situation image processing method and device based on GPU
CN106933527A (en) * 2017-03-10 2017-07-07 广东欧珀移动通信有限公司 Display control method and device of a mobile terminal and mobile terminal
CN106951055A (en) * 2017-03-10 2017-07-14 广东欧珀移动通信有限公司 Display control method and device of a mobile terminal and mobile terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103294439B (en) * 2013-06-28 2016-03-02 华为技术有限公司 A kind of image updating method, system and device
JP7032233B2 (en) * 2018-05-18 2022-03-08 ヤフー株式会社 Information processing equipment, information processing methods, and information processing programs

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105227860A (en) * 2014-07-02 2016-01-06 索尼公司 Image generating method, device and mobile terminal
CN105139792A (en) * 2015-08-18 2015-12-09 京东方科技集团股份有限公司 Display method and display device
CN106126139A (en) * 2016-06-13 2016-11-16 北京金山安全软件有限公司 Terminal display processing method and device and electronic equipment
CN106339224A (en) * 2016-08-24 2017-01-18 北京小米移动软件有限公司 Readability enhancing method and device
CN106408536A (en) * 2016-09-14 2017-02-15 北京小米移动软件有限公司 Image synthesis method and device
CN106548500A (en) * 2016-09-26 2017-03-29 中国电子科技集团公司第二十九研究所 A kind of two-dimension situation image processing method and device based on GPU
CN106933527A (en) * 2017-03-10 2017-07-07 广东欧珀移动通信有限公司 Display control method and device of a mobile terminal and mobile terminal
CN106951055A (en) * 2017-03-10 2017-07-14 广东欧珀移动通信有限公司 Display control method and device of a mobile terminal and mobile terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
阮文.图层混合模式在数码图像处理中的应用原理与实践.《软件》.2017,第38卷(第8期),第97-102页. *

Also Published As

Publication number Publication date
CN110941413A (en) 2020-03-31

Similar Documents

Publication Publication Date Title
WO2021047429A1 (en) Image rendering method and device, apparatus, and storage medium
CN110795056B (en) Method, device, terminal and storage medium for adjusting display parameters
CN106911943B (en) Video display method and device and storage medium
US20090002368A1 (en) Method, apparatus and a computer program product for utilizing a graphical processing unit to provide depth information for autostereoscopic display
US20200302664A1 (en) Creating and displaying multi-layered augemented reality
CN107948733B (en) Video image processing method and device and electronic equipment
CN112017222A (en) Video panorama stitching and three-dimensional fusion method and device
US12136441B2 (en) Video processing method, device, storage medium, and program product
CN112203034B (en) Frame rate control method and device and electronic equipment
CN113225606B (en) Video barrage processing method and device
CN111083496A (en) Data processing method and related product
CN113625983B (en) Image display method, device, computer equipment and storage medium
CN110110778B (en) Image processing method, apparatus, electronic device, and computer-readable storage medium
CN112884665A (en) Animation playing method and device, computer equipment and storage medium
CN114816308B (en) Information partition display method and related equipment
CN115205164B (en) Training method of image processing model, video processing method, device and equipment
CN109933383A (en) Adjust the method and apparatus of game APP operation frame per second
CN110990088B (en) Data processing method and related equipment
CN110941413B (en) Display screen generation method and related device
CN114630057B (en) Method and device for determining special effect video, electronic equipment and storage medium
US9460544B2 (en) Device, method and computer program for generating a synthesized image from input images representing differing views
CN114466228A (en) Method, equipment and storage medium for improving screen projection display fluency
CN113256785B (en) Image processing method, apparatus, device and medium
CN109309839B (en) Data processing method and device, electronic equipment and storage medium
CN107256137B (en) Picture processing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant