CN109240766A - A kind of method and apparatus for the resource that Loads Image - Google Patents

A kind of method and apparatus for the resource that Loads Image Download PDF

Info

Publication number
CN109240766A
CN109240766A CN201811013949.XA CN201811013949A CN109240766A CN 109240766 A CN109240766 A CN 109240766A CN 201811013949 A CN201811013949 A CN 201811013949A CN 109240766 A CN109240766 A CN 109240766A
Authority
CN
China
Prior art keywords
target photo
grayscale image
thread
main thread
video memory
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.)
Pending
Application number
CN201811013949.XA
Other languages
Chinese (zh)
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.)
Beijing Dragon Yue Network Technology Co Ltd
Original Assignee
Beijing Dragon Yue Network Technology Co 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 Beijing Dragon Yue Network Technology Co Ltd filed Critical Beijing Dragon Yue Network Technology Co Ltd
Priority to CN201811013949.XA priority Critical patent/CN109240766A/en
Publication of CN109240766A publication Critical patent/CN109240766A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • 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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44594Unloading

Landscapes

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

Abstract

The embodiment of the invention discloses a kind of method of resource that Loads Image, main thread can create the grayscale image of Target Photo and be sent to video memory and shown in response to the load request of Target Photo, according to the size of Target Photo;Main thread generates the load instruction of Target Photo, and the load instruction of the Target Photo is sent to worker thread;The load instruction of worker thread Target Photo based on the received is loaded to Target Photo and is generated the loading result of Target Photo, the loading result of the Target Photo can be returned to main thread by worker thread, grayscale image in video memory is replaced with to the loading result of Target Photo by main thread, with displaying target picture.In this way, solving the problems, such as that asynchronous process mode carries out longer reduction user experience the time required to picture load, reduce the waiting time that user watches picture resource, promotes user to the viewing experience of picture resource.In addition, the embodiment of the invention also discloses a kind of devices of resource that Loads Image.

Description

A kind of method and apparatus for the resource that Loads Image
Technical field
The present invention relates to software technology fields, more particularly to a kind of method and apparatus of resource that Loads Image.
Background technique
Game etc. is applied, needs the resource that fairly frequently Loads Image during its operation.Currently, picture provides The major way of source load is, by main thread, reading picture resource, which is decoded, to be re-mapped in video memory, to be presented to use Family.But due to that can suspend other processing when main thread processing picture resource load, this is easy to cause application interface Caton occur Phenomenon, to reduce user experience.For this purpose, application can be effectively improved by the way of asynchronous process come the resource that Loads Image The problem of interface Caton.But since picture resource loading procedure itself needs a period of time, user generally requires The picture resource showed can be just seen to longer time.
Summary of the invention
In order to solve the above technical problems, the embodiment of the present application provides a kind of method and apparatus of resource that Loads Image, to subtract Few user watches the waiting time of picture resource, promotes user to the viewing experience of picture resource.
In a first aspect, providing a kind of method of resource that Loads Image, comprising:
Main thread creates the target figure according to the size of the Target Photo in response to the load request of Target Photo The grayscale image of piece is simultaneously sent to video memory and is shown;
The main thread generates the load instruction of the Target Photo and sends to worker thread, to trigger the active line Journey is loaded to the Target Photo and is generated the load knot of the Target Photo according to the load instruction of the Target Photo Fruit;
The main thread receives the loading result for the Target Photo that the worker thread is sent, and will be in the video memory The grayscale image replace with the loading result of the Target Photo, to show the Target Photo.
Optionally, this method further include:
The main thread starts and hangs up the worker thread, so that the worker thread waits the main thread to send The load instruction.
Optionally, the load instruction includes mark, the mark and call back function of the grayscale image of the Target Photo, The call back function receives the loading result that the worker thread is sent for the main thread, and the loading result includes The Target Photo and the grayscale image.
Optionally, the grayscale image by the video memory replaces with the loading result of the Target Photo, comprising:
The texture of grayscale image described in the video memory is unloaded and deleted;
The texture of the Target Photo is loaded into the video memory.
Optionally, after the grayscale image by the video memory replaces with the loading result of the Target Photo, Further include:
The animation process of the gray scale from the gray scale of the grayscale image to the Target Photo is drawn and shows, to show from institute State grayscale image to the Target Photo animation.
Second aspect additionally provides a kind of device of resource that Loads Image, comprising:
Creating unit, for main thread in response to the load request of Target Photo, according to the size of the Target Photo, wound It builds the grayscale image of the Target Photo and is sent to video memory and shown;
Loading unit generates the load instruction of the Target Photo for the main thread and sends to worker thread, with The worker thread is triggered to load the Target Photo according to the load of Target Photo instruction and generate the mesh It marks on a map the loading result of piece;
Display unit receives the loading result for the Target Photo that the worker thread is sent for the main thread, And the grayscale image in the video memory is replaced with to the loading result of the Target Photo, to show the Target Photo.
Optionally, the device further include:
Unit is opened and hung up, starts and hang up the worker thread for the main thread, so that the active line The load instruction that journey waits the main thread to send.
Optionally, the load instruction includes mark, the mark and call back function of the grayscale image of the Target Photo, The call back function receives the loading result that the worker thread is sent for the main thread, and the loading result includes The Target Photo and the grayscale image.
Optionally, the display unit, comprising:
Subelements are unloaded, for unloading and deleting the texture of grayscale image described in the video memory;
It is loaded into subelement, for being loaded into the texture of the Target Photo in the video memory.
Optionally, the device further include:
Animation process unit, for replacing with adding for the Target Photo in the grayscale image by the video memory After carrying result, the animation process of the gray scale from the gray scale of the grayscale image to the Target Photo is drawn and shown, with display From the grayscale image to the animation of the Target Photo.
In the embodiment of the present application, it Loads Image if necessary, the load request of Target Photo can be sent to main thread, At this point, main thread can create the target figure according to the size of the Target Photo in response to the load request of Target Photo The grayscale image of piece is simultaneously sent to video memory and is shown;Then, the load that the main thread generates the Target Photo instructs, and to Worker thread sends the load instruction of the Target Photo;The load of the worker thread Target Photo based on the received Instruction is loaded to the Target Photo and is generated the loading result of the Target Photo, and worker thread can be by the target figure The loading result of piece returns to main thread, and the grayscale image in the video memory is replaced with the target figure by the main thread The loading result of piece, to show the Target Photo.In this way, solve asynchronous process mode carry out picture load the time required to compared with It is long the problem of reducing user experience, corresponding by the way that Target Photo is presented to user during worker thread loads the Target Photo Grayscale image, reduce the waiting time that user watches picture resource, promote user to the viewing experience of picture resource.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations as described in this application Example, for those of ordinary skill in the art, is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of flow diagram of the method for the resource that Loads Image in the embodiment of the present invention;
Fig. 2 is the flow diagram of the method for another resource that Loads Image in the embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram of the device for the resource that Loads Image in the embodiment of the present invention.
Specific embodiment
Currently, since picture of the user for applications such as game requires to be continuously improved, so, it is run in the application such as the game When, need the resource that constantly Loads Image.In order to make Loading Image for task not interfere with the processing of other tasks in the application, The worker thread dedicated for the resource that Loads Image can be created, reading is executed by the worker thread by the way of asynchronous process The operation to Load Image such as picture resource is taken, decodes and is mapped to video memory.
Inventor has found that although above-mentioned picture loading method can discharge to a certain extent to main thread Resource occupation, still, due to worker thread to load of picture resource itself than relatively time-consuming, cause to load the figure in worker thread In the period of piece, user needs to wait until always that worker thread loads the picture and completes and shown by video memory, The user is just it can be seen that loaded picture, waits the overlong time of picture resource load, greatly reduce user to the trip The usage experience of the applications such as play.
It based on this, in embodiments of the present invention, Loads Image if necessary, adding for Target Photo can be sent to main thread Request is carried, at this point, main thread can create institute according to the size of the Target Photo in response to the load request of Target Photo It states the grayscale image of Target Photo and is sent to video memory and shown;Then, the main thread generates the load of the Target Photo Instruction, and instructed to the load that worker thread sends the Target Photo;The worker thread target based on the received The load instruction of picture is loaded to the Target Photo and is generated the loading result of the Target Photo, and worker thread can be with The loading result of the Target Photo is returned into main thread, is replaced with the grayscale image in the video memory by the main thread The loading result of the Target Photo, to show the Target Photo.
In this way, solving the problems, such as that asynchronous process mode carries out longer reduction user experience the time required to picture load, subtract Lack the waiting time that user watches picture resource, promotes user to the viewing experience of picture resource.
With reference to the accompanying drawing, by embodiment come a kind of method for the resource that Loads Image in the present invention will be described in detail embodiment With the specific implementation of device.
Referring to Fig. 1, a kind of method of resource that Loads Image provided in an embodiment of the present invention is shown.In the present embodiment, This method can specifically include:
Step 101, main thread creates institute according to the size of the Target Photo in response to the load request of Target Photo It states the grayscale image of Target Photo and is sent to video memory and shown.
It is understood that the load request of Target Photo, is used for main thread request of loading Target Photo.The target figure In the load request of piece, the mark of the Target Photo to be loaded can be carried, is used to indicate the mark according to the Target Photo Load the Target Photo.
As an example, the mark of Target Photo can be the path parameter of Target Photo.In a kind of situation, if The Target Photo is stored in local storage unit, then, the path parameter of the Target Photo can be directed to the Target Photo The local path of the local storage unit stored;In another case, if the Target Photo is network picture, it should The address of webpage where the path parameter of Target Photo can be the Target Photo.
When specific implementation, when needing to load some picture, the target figure can be generated using the picture as Target Photo The load request of piece, and the load request of the Target Photo is sent to main thread;Main thread is receiving adding for Target Photo When carrying request, by parsing the load request, can obtain the Target Photo mark (such as: the path ginseng of the Target Photo Number);Then, which can find the Target Photo according to the mark of the Target Photo.
In order to discharge the resource occupation to main thread, without main thread to the target figure in the load request of the Target Photo Piece is loaded, that is, after main thread finds Target Photo, it is only necessary to size of the main thread according to the Target Photo, wound A grayscale image is built, and the grayscale image is sent to video memory, and indicates that the grayscale image is shown to user by video memory.
It is understood that the main thread can create big with Target Photo in order to promote the experience that user watches picture Small consistent grayscale image.Moreover, reduced in order to balance to the occupancy of main thread resource and improve user experience, which can be with It is carry out that treated to Target Photo (corresponding alpha channel value be 255) grayscale image, the alpha channel value of the grayscale image For 255/2=128.
It should be noted that the grayscale image for the Target Photo that main thread is created according to the size of Target Photo, specifically It can be a pure color figure, such as: the grayscale image can be the picture that rgba value is respectively 128,255,255,255, the gray scale The color of figure does not do specific requirement in the present embodiment.
Step 102, the main thread generates the load instruction of the Target Photo and sends to worker thread, to trigger Worker thread is stated to load the Target Photo according to the load of Target Photo instruction and generate the Target Photo Loading result.
It, can be with it is understood that main thread is in the load request for receiving Target Photo, and after executing step 101 Generate and send to worker thread the load instruction of the Target Photo.The load of Target Photo instructs, and is used to indicate to the target Picture carries out load operation.The load of the Target Photo instructs, and may include the mark of the Target Photo, the grayscale image Mark and call back function.Wherein, the call back function receives the load that the worker thread is sent for the main thread As a result.
It should be noted that there are at least one during the load of asynchronous picture dedicated for the work of picture load Make thread, in order to allow the worker thread that can quickly respond the load instruction of main thread, main thread is needed the worker thread It opens;Moreover, in order to reduce the expense of central processing unit (Central Processing Unit, referred to as: CPU) as far as possible, Main thread can hang up the worker thread dedicated for picture load, that is, the worker thread is being not received by main thread Load instruction when, in a dormant state, wait the load wake instruction that is sent by main thread.It should be noted that when existing When multiple worker threads, multiple worker thread can be opened and be hung up, it, can be according to need when there is load instruction to reach It asks and selects a worker thread in multiple worker threads to be waken up and execute picture load operation.
When specific implementation, the load instruction of Target Photo is sent to worker thread by main thread, by the worker thread from not Dormancy state wakes up, and triggers the worker thread and loaded according to the load of Target Photo instruction to Target Photo.
It is understood that the loading procedure of picture can specifically include: the first step reads in picture;Second step, to picture It is decoded;And third step, decoded picture is converted into the corresponding texture of the picture.It should be noted that the load The alpha channel value of the Target Photo of completion can be 255.
As an example, after worker thread is waken up, the worker thread can parse received Target Photo Load instruction, obtains the mark of the Target Photo, the mark and call back function of the grayscale image;Then, the worker thread according to The mark of Target Photo is searched the Target Photo, and is loaded to the Target Photo, can specifically include: reading in target figure Piece, Target Photo is decoded and by decoded Target Photo be converted into the Target Photo for texture.It is working After thread is completed to the load of the Target Photo, the loading result of the Target Photo can be generated;Also, the worker thread can be with Using call back function, the loading result of generation is sent to main thread.
When specific implementation, in order to save the resource of main thread, which can't save any about the Target Photo The relevant information of load, that is, in the main thread there is no save Target Photo record request, Target Photo load instruction with And about the mark of Target Photo and the relevant informations such as mark of grayscale image, then, in order to allow main thread can be by worker thread The Target Photo loaded carries out effective corresponding display by video memory, which may include Target Photo and gray scale Figure.
Step 103, the main thread receives the loading result for the Target Photo that the worker thread is sent, and by institute The loading result that the grayscale image in video memory replaces with the Target Photo is stated, to show the Target Photo.
It is understood that when main thread receives the loading result of the Target Photo of worker thread transmission, it can be right The loading result is parsed, and grayscale image and Target Photo therein are obtained;Then, the main thread is according to the grayscale image in video memory Before middle lookup it is the grayscale image of Target Photo creation, and the grayscale image is replaced with into the Target Photo in the loading result, The Target Photo is shown to trigger the video memory.
When specific implementation, the grayscale image in the video memory is replaced with to the loading result of the Target Photo, specifically It may include: that the texture of grayscale image described in the video memory is unloaded and deleted;The Target Photo is loaded into the video memory Texture.
As an example, when main thread receives the loading result of the Target Photo of worker thread transmission, Ke Yicong The texture of grayscale image and the texture of Target Photo are obtained in the loading result;Again by the texture in video memory with the grayscale image got The texture of consistent original creation and the grayscale image shown is unloaded and is deleted;Also, the texture of Target Photo is loaded into this to show In depositing.In this way, corresponding to the texture for showing that the information of the Target Photo becomes Target Photo from the texture of grayscale image in the video memory.
As it can be seen that main thread can be in response to target figure by the method for the resource provided by the embodiments of the present application that Loads Image The load request of piece creates the grayscale image of the Target Photo and is sent to video memory progress according to the size of the Target Photo Display;Then, the main thread generates the load instruction of the Target Photo, and sends adding for the Target Photo to worker thread Carry instruction;The worker thread based on the received the Target Photo load instruction the Target Photo is loaded And the loading result of the Target Photo is generated, the loading result of the Target Photo can be returned to main thread by worker thread, The grayscale image in the video memory is replaced with to the loading result of the Target Photo by the main thread, to show the mesh It marks on a map piece.In this way, solving the problems, such as that asynchronous process mode carries out longer reduction user experience the time required to picture load, user The corresponding grayscale image of Target Photo can be watched when worker thread has not loaded the Target Photo, reduce user's viewing The waiting time of picture resource promotes user to the viewing experience of picture resource.
In some possible implementations, it is Target Photo in order to avoid directly being jumped from grayscale image, user is given to watch Poor experience is brought, the embodiment of the invention also provides a kind of methods of resource that Loads Image, as shown in Figure 2.In this method, After the grayscale image in the video memory is replaced with the loading result of the Target Photo, animation process can also be passed through Mode, allow user to watch the progressive formation from grayscale image to Target Photo, promote the experience that user watches picture.
When specific implementation, the method for the present embodiment is in addition to before including step 101~step 103, after step 103, Can also include:
Step 204, draw and show the animation process of the gray scale from the gray scale of the grayscale image to the Target Photo, with Display is from the grayscale image to the animation of the Target Photo.
As an example, video memory can start after getting the texture of Target Photo in the method for drafting Animation process of the alpha channel value from 128 to 255, the time of the animation process about between 50 milliseconds to 100 milliseconds, this In a period, human eye can be clearly seen that animation effect, that is, animation of the picture of display from grayscale image to Target Photo is gradually Change process.
In this way, the method for the resource that Loads Image provided through the embodiment of the present invention, by the animation display mode of gradual change, It can not only allow user when worker thread has not loaded the Target Photo, watch the corresponding grayscale image of Target Photo;And Can worker thread load complete the Target Photo after, by the animation effect of gradual change, let user experiencing from grayscale image to The animation effect of Target Photo, to greatly promote user to the viewing experience of picture resource.
Correspondingly, the embodiment of the invention also provides a kind of devices of resource that Loads Image referring to Fig. 3.In the present embodiment In, which can specifically include:
Creating unit 301, for main thread in response to the load request of Target Photo, according to the big of the Target Photo It is small, it creates the grayscale image of the Target Photo and is sent to video memory and shown;
Loading unit 302 generates the load instruction of the Target Photo for the main thread and sends to worker thread, The Target Photo is loaded and is generated described to trigger the worker thread according to the load of Target Photo instruction The loading result of Target Photo;
Display unit 303 receives the load knot for the Target Photo that the worker thread is sent for the main thread Fruit, and the grayscale image in the video memory is replaced with to the loading result of the Target Photo, to show the Target Photo.
Optionally, the device further include:
Unit is opened and hung up, starts and hang up the worker thread for the main thread, so that the active line The load instruction that journey waits the main thread to send.
Optionally, the load instruction includes mark, the mark and call back function of the grayscale image of the Target Photo, The call back function receives the loading result that the worker thread is sent for the main thread, and the loading result includes The Target Photo and the grayscale image.
Optionally, the display unit 303, comprising:
Subelements are unloaded, for unloading and deleting the texture of grayscale image described in the video memory;
It is loaded into subelement, for being loaded into the texture of the Target Photo in the video memory.
Optionally, the device further include:
Animation process unit, for replacing with adding for the Target Photo in the grayscale image by the video memory After carrying result, the animation process of the gray scale from the gray scale of the grayscale image to the Target Photo is drawn and shown, with display From the grayscale image to the animation of the Target Photo.
The present embodiment is the corresponding Installation practice of embodiment of the method for the above-mentioned resource that Loads Image, specific implementation with And the technical effect reached, it can be with reference to the description of the embodiment of the method for the above-mentioned resource that Loads Image, which is not described herein again.
As seen through the above description of the embodiments, those skilled in the art can be understood that above-mentioned implementation All or part of the steps in example method can add the mode of general hardware platform to realize by software.Based on this understanding, Technical solution of the present invention can be embodied in the form of software products, which can store is situated between in storage In matter, such as read-only memory (English: read-only memory, ROM)/RAM, magnetic disk, CD etc., including some instructions to So that a computer equipment (can be the network communication equipments such as personal computer, server, or router) executes Method described in certain parts of each embodiment of the present invention or embodiment.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for device reality For applying example, since it is substantially similar to the method embodiment, so describing fairly simple, related place is referring to embodiment of the method Part explanation.Method and device embodiment described above is only schematical, wherein saying as separation unit Bright module may or may not be physically separated, and the component shown as module can be or can not also It is physical module, it can it is in one place, or may be distributed over multiple network units.It can be according to actual need Some or all of the modules therein is selected to achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art are not paying Out in the case where creative work, it can understand and implement.
The above is only a preferred embodiment of the present invention, it is not intended to limit the scope of the present invention.It should refer to Out, for those skilled in the art, under the premise of not departing from the present invention, can also make several improvements And retouching, these modifications and embellishments should also be considered as the scope of protection of the present invention.

Claims (10)

1. a kind of method for the resource that Loads Image characterized by comprising
Main thread creates the Target Photo according to the size of the Target Photo in response to the load request of Target Photo Grayscale image is simultaneously sent to video memory and is shown;
The main thread generates the load instruction of the Target Photo and sends to worker thread, to trigger the worker thread root The loading result of the Target Photo is loaded and generated to the Target Photo according to the load instruction of the Target Photo;
The main thread receives the loading result for the Target Photo that the worker thread is sent, and by the institute in the video memory The loading result that grayscale image replaces with the Target Photo is stated, to show the Target Photo.
2. the method according to claim 1, wherein further include:
The main thread starts and hangs up the worker thread, so that the institute that the worker thread waits the main thread to send State load instruction.
3. the method according to claim 1, wherein it is described load instruction include the Target Photo mark, The mark and call back function of the grayscale image, the call back function receive the institute that the worker thread is sent for the main thread Loading result is stated, the loading result includes the Target Photo and the grayscale image.
4. the method according to claim 1, wherein the grayscale image by the video memory replaces with institute State the loading result of Target Photo, comprising:
The texture of grayscale image described in the video memory is unloaded and deleted;
The texture of the Target Photo is loaded into the video memory.
5. the method according to claim 1, wherein the grayscale image by the video memory replaces with institute After the loading result for stating Target Photo, further includes:
The animation process of the gray scale from the gray scale of the grayscale image to the Target Photo is drawn and shows, to show from the ash Degree figure arrives the animation of the Target Photo.
6. a kind of device for the resource that Loads Image characterized by comprising
Creating unit creates institute according to the size of the Target Photo in response to the load request of Target Photo for main thread It states the grayscale image of Target Photo and is sent to video memory and shown;
Loading unit generates the load instruction of the Target Photo for the main thread and sends to worker thread, with triggering The worker thread loads the Target Photo according to the load of Target Photo instruction and generates the target figure The loading result of piece;
Display unit receives the loading result for the Target Photo that the worker thread is sent for the main thread, and will The grayscale image in the video memory replaces with the loading result of the Target Photo, to show the Target Photo.
7. device according to claim 6, which is characterized in that further include:
Unit is opened and hung up, starts and hang up the worker thread for the main thread, so that described worker thread etc. The load instruction sent to the main thread.
8. device according to claim 6, which is characterized in that the mark for loading instruction including the Target Photo, The mark and call back function of the grayscale image, the call back function receive the institute that the worker thread is sent for the main thread Loading result is stated, the loading result includes the Target Photo and the grayscale image.
9. device according to claim 6, which is characterized in that display unit, comprising:
Subelements are unloaded, for unloading and deleting the texture of grayscale image described in the video memory;
It is loaded into subelement, for being loaded into the texture of the Target Photo in the video memory.
10. device according to claim 6, which is characterized in that further include:
Animation process unit, for replacing with the load knot of the Target Photo in the grayscale image by the video memory After fruit, the animation process of the gray scale from the gray scale of the grayscale image to the Target Photo is drawn and shown, to show from institute State grayscale image to the Target Photo animation.
CN201811013949.XA 2018-08-31 2018-08-31 A kind of method and apparatus for the resource that Loads Image Pending CN109240766A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811013949.XA CN109240766A (en) 2018-08-31 2018-08-31 A kind of method and apparatus for the resource that Loads Image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811013949.XA CN109240766A (en) 2018-08-31 2018-08-31 A kind of method and apparatus for the resource that Loads Image

Publications (1)

Publication Number Publication Date
CN109240766A true CN109240766A (en) 2019-01-18

Family

ID=65059954

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811013949.XA Pending CN109240766A (en) 2018-08-31 2018-08-31 A kind of method and apparatus for the resource that Loads Image

Country Status (1)

Country Link
CN (1) CN109240766A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102541538A (en) * 2011-12-06 2012-07-04 Tcl集团股份有限公司 Picture displaying method and device based on mobile terminal
CN104834544A (en) * 2015-05-04 2015-08-12 广州杰赛科技股份有限公司 Data loading method and device
CN105096236A (en) * 2015-07-22 2015-11-25 北京锤子数码科技有限公司 Image thumbnail loading method and electronic device
CN106406879A (en) * 2016-09-13 2017-02-15 广东欧珀移动通信有限公司 Image playing control method and terminal
US20170155890A1 (en) * 2015-12-01 2017-06-01 Le Holdings (Beijing) Co., Ltd. Method and device for stereoscopic image display processing

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102541538A (en) * 2011-12-06 2012-07-04 Tcl集团股份有限公司 Picture displaying method and device based on mobile terminal
CN104834544A (en) * 2015-05-04 2015-08-12 广州杰赛科技股份有限公司 Data loading method and device
CN105096236A (en) * 2015-07-22 2015-11-25 北京锤子数码科技有限公司 Image thumbnail loading method and electronic device
US20170155890A1 (en) * 2015-12-01 2017-06-01 Le Holdings (Beijing) Co., Ltd. Method and device for stereoscopic image display processing
CN106406879A (en) * 2016-09-13 2017-02-15 广东欧珀移动通信有限公司 Image playing control method and terminal

Similar Documents

Publication Publication Date Title
US9619275B2 (en) Data processing method, apparatus and mobile terminal
CN111274019B (en) Data processing method, device and computer readable storage medium
CN111737019B (en) Method and device for scheduling video memory resources and computer storage medium
CN108965471B (en) Method for improving browser memory on smart television
CN106775699A (en) The method that UI is updated in asynchronous thread
JP7100154B6 (en) Processor core scheduling method, device, terminal and storage medium
CN109542642A (en) A kind of method and device of front-end task processing
CN109361947A (en) Internet resources batch loading method, smart television, storage medium and device
US20140164662A1 (en) Methods and apparatus for interleaving priorities of a plurality of virtual processors
CN112905326A (en) Task processing method and device
CN108600331A (en) Interactive interface rendering method, client, terminal and system
CN116774809A (en) Method and device for adjusting frequency, electronic equipment and readable storage medium
CN111338769B (en) Data processing method, device and computer readable storage medium
CN110471700B (en) Graphic processing method, apparatus, storage medium and electronic device
CN108769815A (en) Method for processing video frequency and its device
CN116866661A (en) Video prerendering method, device, equipment and storage medium
CN111310638B (en) Data processing method, device and computer readable storage medium
US7999814B2 (en) Information processing apparatus, graphics processor, control processor and information processing methods
CN112419456B (en) Special effect picture generation method and device
CN112860401A (en) Task scheduling method and device, electronic equipment and storage medium
CN109240766A (en) A kind of method and apparatus for the resource that Loads Image
CN113535371A (en) Method and device for multithreading asynchronous loading of resources
CN114253418B (en) Handwriting display method, device, equipment, system and storage medium
CN105678828A (en) Method and apparatus for creating transition animations
CN106126253B (en) Method and device for generating image by application program view

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190118