CN105549935A - Method and device for displaying photos - Google Patents

Method and device for displaying photos Download PDF

Info

Publication number
CN105549935A
CN105549935A CN201510959161.8A CN201510959161A CN105549935A CN 105549935 A CN105549935 A CN 105549935A CN 201510959161 A CN201510959161 A CN 201510959161A CN 105549935 A CN105549935 A CN 105549935A
Authority
CN
China
Prior art keywords
photo
thumbnail
set dimension
decoded
decoding
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.)
Granted
Application number
CN201510959161.8A
Other languages
Chinese (zh)
Other versions
CN105549935B (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.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510959161.8A priority Critical patent/CN105549935B/en
Publication of CN105549935A publication Critical patent/CN105549935A/en
Application granted granted Critical
Publication of CN105549935B publication Critical patent/CN105549935B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/147Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Studio Devices (AREA)

Abstract

The invention discloses a method and device for displaying photos. The method comprises the following steps: detecting whether a camera application takes a photo and generates the photo or not; and when a detection result shows that the camera application takes the photo and generates the photo, decoding the photo to display the photo obtained by decoding during previewing. The technical scheme can immediately display the photo obtained by decoding when the user previews the photo, and the user does not need to wait for a long time.

Description

The method of display photo and device
Technical field
The disclosure relates to Internet technical field, particularly relates to method and the device of display photo.
Background technology
Present mobile phone generally has takes pictures and the app (Application of storage picture, application), the app (picture library app) of storage picture needs to show the photo generated after camera app takes pictures fast, especially after having taken pictures, when user needs to check the photo just taken at once, picture library app more wants to show the photo generated after camera app takes pictures fast.
Along with improving constantly of camera pixel, the pixel and the size that generate photo are increasing, and the processing poweies such as the file read-write of equipment and picture decode are more and more painstaking for the requirement of rapid preview.
Summary of the invention
Disclosure embodiment provides method and the device of display photo.Described technical scheme is as follows:
According to the first aspect of disclosure embodiment, a kind of method showing photo is provided, comprises:
Detection camera applies generation photo of whether taking pictures;
When detect described camera applications take pictures generate photo time, described photo is decoded, to make show during preview the picture that decoding obtains.
In one embodiment, described method also can comprise:
Instruction is checked, the picture that display decoding obtains when receiving photo.
In one embodiment, whether the application of described detection camera is taken pictures and is generated photo and can comprise:
Judge whether to receive camera applications take pictures generate photo after the notification message that sends.
In one embodiment, whether the application of described detection camera is taken pictures and is generated photo and can comprise:
The behavior of taking pictures of monitoring camera application, judges whether generation photo of taking pictures.
In one embodiment, described described photo to be decoded, can comprise:
By the thumbnail that described photo transcoding is the first pre-set dimension; The thumbnail of described first pre-set dimension is arrange according to the Minimum requirements of preview to obtain.
In one embodiment, described described photo to be decoded, also can comprise:
After described photo transcoding is the thumbnail of the first pre-set dimension, be the thumbnail of the second pre-set dimension by described photo transcoding; Described first pre-set dimension is less than described second pre-set dimension, and described second pre-set dimension obtains for arranging according to screen size.
In one embodiment, describedly check instruction when receiving photo, the display picture obtained of decoding can comprise:
Checking instruction when receiving photo, showing the thumbnail of the first pre-set dimension of described photo;
Judge whether the thumbnail of the second pre-set dimension of described photo has decoded;
If the thumbnail of the second pre-set dimension of described photo has been decoded, then the thumbnail showing the second pre-set dimension of described photo has substituted the thumbnail of the first pre-set dimension of described photo;
If the thumbnail decoding of the second pre-set dimension of described photo does not complete, then whether the thumbnail monitoring the second pre-set dimension of described photo has decoded; When the thumbnail of the second pre-set dimension monitoring described photo has been decoded, the thumbnail showing the second pre-set dimension of described photo has substituted the thumbnail of the first pre-set dimension of described photo.
In one embodiment, describedly check instruction when receiving photo, the display picture obtained of decoding can comprise:
Checking instruction when receiving photo, judging whether the thumbnail of the second pre-set dimension of described photo has decoded;
If the thumbnail of the second pre-set dimension of described photo has been decoded, then show the thumbnail of the second pre-set dimension of described photo;
If the thumbnail of the second pre-set dimension of described photo has not been decoded, then show the thumbnail of the first pre-set dimension of described photo, and whether the thumbnail monitoring the second pre-set dimension of described photo has decoded, after the thumbnail of the second pre-set dimension monitoring described photo has been decoded, the thumbnail showing the second pre-set dimension of described photo has substituted the thumbnail of the first pre-set dimension of described photo.
In one embodiment, whether the thumbnail of the second pre-set dimension of the described photo of described monitoring has been decoded and also can have been comprised:
What whether monitoring received other photo checks instruction;
When receive other photo check instruction time, stop the thumbnail of the second pre-set dimension of the described photo of monitoring whether to decode.
In one embodiment, described method also can comprise:
When receive other photo check instruction time, other photo described is decoded.
In one embodiment, when other photo described is multiple pictures, describedly decoding is carried out to other photo described can comprises:
Determine respectively other photograph complete after transmission notification message transmission time order and function order;
Preferential decoding transmitting time is posterior checks other photo that instruction is corresponding.
In one embodiment, described described photo to be decoded, can comprise:
By the decoding data of the described photo bottom.
In one embodiment, described method also can comprise:
Obtain the path that described photo is preserved, the path of described photo is after camera applications has been taken pictures, and carries out preserving;
Described path is added in the photo path list needing decoding.
Described described photo to be decoded, comprising:
Decode according to the sequencing comparison film in photo path in path list.
According to the second aspect of disclosure embodiment, a kind of device showing photo is provided, comprises:
Detection module, applies for detection camera generation photo of whether taking pictures;
First decoder module, for when detect described camera applications take pictures generate photo time, described photo is decoded, to make show during preview the picture that decoding obtains.
In one embodiment, described device also can comprise:
Display module, for checking instruction when receiving photo, the picture that display decoding obtains.
In one embodiment, described detection module can comprise:
First judges submodule, for judge whether to receive camera applications take pictures generate photo after the notification message that sends.
In one embodiment, described detection module can comprise:
Monitoring submodule, for the behavior of taking pictures of monitoring camera application, judges whether generation photo of taking pictures.
In one embodiment, described first decoder module, can comprise:
First decoding sub-module, for by described photo transcoding being the thumbnail of the first pre-set dimension; The thumbnail of described first pre-set dimension is arrange according to the Minimum requirements of preview to obtain.
In one embodiment, described first decoder module, also can comprise:
Described photo transcoding, after being the thumbnail of the first pre-set dimension when described photo transcoding, is the thumbnail of the second pre-set dimension by the second decoding sub-module; Described first pre-set dimension is less than described second pre-set dimension, and described second pre-set dimension obtains for arranging according to screen size.
In one embodiment, described display module can comprise:
First display sub-module, for checking instruction when receiving photo, shows the thumbnail of the first pre-set dimension of described photo;
Second judges submodule, and whether the thumbnail for the second pre-set dimension judging described photo has decoded;
Second display sub-module, if decoded for the thumbnail of the second pre-set dimension of described photo, then the thumbnail showing the second pre-set dimension of described photo has substituted the thumbnail of the first pre-set dimension of described photo;
3rd display sub-module, if do not complete for the thumbnail decoding of the second pre-set dimension of described photo, then whether the thumbnail monitoring the second pre-set dimension of described photo has decoded; When the thumbnail of the second pre-set dimension monitoring described photo has been decoded, the thumbnail showing the second pre-set dimension of described photo has substituted the thumbnail of the first pre-set dimension of described photo.
In one embodiment, described display module can comprise:
3rd judges submodule, for checking instruction when receiving photo, judges whether the thumbnail of the second pre-set dimension of described photo has decoded;
4th display sub-module, if decoded for the thumbnail of the second pre-set dimension of described photo, has then shown the thumbnail of the second pre-set dimension of described photo;
5th display sub-module, if do not decoded for the thumbnail of the second pre-set dimension of described photo, then show the thumbnail of the first pre-set dimension of described photo, and whether the thumbnail monitoring the second pre-set dimension of described photo has decoded, after the thumbnail of the second pre-set dimension monitoring described photo has been decoded, the thumbnail showing the second pre-set dimension of described photo has substituted the thumbnail of the first pre-set dimension of described photo.
In one embodiment, described 5th display sub-module also can be used for:
What whether monitoring received other photo checks instruction; When receive other photo check instruction time, stop the thumbnail of the second pre-set dimension of the described photo of monitoring whether to decode.
In one embodiment, described device also can comprise:
Second decoder module, for when receive other photo check instruction time, other photo described is decoded.
In one embodiment, when other photo described is multiple pictures, described second decoder module can comprise:
Determine submodule, for determine respectively other photograph complete after transmission notification message transmission time order and function order;
3rd decoding sub-module, checks for transmitting time of preferentially decoding is posterior the photo that instruction is corresponding.
In one embodiment, described first decoder module, can comprise:
4th decoding sub-module, for the decoding data by the described photo bottom.
In one embodiment, described device also can comprise:
Acquisition module, for obtaining the path that described photo is preserved, the path of described photo is after camera applications has been taken pictures, and carries out preserving;
Add module, for being added in described path in the photo path list of needs decoding.
Described first decoder module, comprising:
5th decoding sub-module, for decoding according to the sequencing comparison film in photo path in path list.
According to the third aspect of disclosure embodiment, a kind of device showing photo is provided, comprises:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Detection camera applies generation photo of whether taking pictures;
When detect described camera applications take pictures generate photo time, described photo is decoded, to make show during preview the picture that decoding obtains.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect:
The technique scheme of disclosure embodiment, when detect camera applications take pictures generate photo time, automatically decode at backstage comparison film, to make can to show at once during user's preview the picture of decoding and obtaining, without the need to waiting as long for.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in instructions and to form the part of this instructions, shows and meets embodiment of the present disclosure, and is used from instructions one and explains principle of the present disclosure.
Fig. 1 is the process flow diagram of the method for display photo according to an exemplary embodiment.
Fig. 2 is the process flow diagram of method of the another kind display photo according to an exemplary embodiment.
Fig. 3 is the process flow diagram of step S103 in the method for display photo according to an exemplary embodiment.
Fig. 4 is another process flow diagram of step S103 in the method for display photo according to an exemplary embodiment.
Fig. 5 is the process flow diagram of method of the another kind display photo according to an exemplary embodiment.
Fig. 6 is the block diagram of the device of display photo according to an exemplary embodiment.
Fig. 7 is the block diagram of device of the another kind display photo according to an exemplary embodiment.
Fig. 8 is the block diagram of display module 63 in the device of display photo according to an exemplary embodiment.
Fig. 9 is another block diagram of display module 63 in the device of display photo according to an exemplary embodiment.
Figure 10 is the block diagram of device of the another kind display photo according to an exemplary embodiment.
Figure 11 is the block diagram of the second decoder module 64 in the device of display photo according to an exemplary embodiment.
Figure 12 is the block diagram of device of the another kind display photo according to an exemplary embodiment.
Figure 13 is the block diagram being applicable to the device showing photo according to an exemplary embodiment.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the disclosure.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present disclosure are consistent.
Fig. 1 is a kind of process flow diagram showing the method for photo according to an exemplary embodiment, and as shown in Figure 1, the method comprises the following steps S101-S102:
In step S101, detection camera applies generation photo of whether taking pictures;
In step s 102, when detect camera applications take pictures generate photo time, comparison film is decoded, to make show during preview the picture that decoding obtains.
The method is used in the application program of terminal or app (client), and such as picture library or photo application can store the photo of camera applications shooting, and when comparison film is decoded, also can not affect the speed of taking pictures of camera applications.
The said method of disclosure embodiment, when detect camera applications take pictures generate photo time, automatically decode at backstage comparison film, to make can to show at once during user's preview the picture of decoding and obtaining, without the need to waiting as long for.
In one embodiment, as shown in Figure 2, after step s 102, said method also can comprise the following steps S103:
In step s 103, check instruction when receiving photo, the picture that display decoding obtains.
Check that instruction can be such as the startup interface that user clicks photo or picture library application, click this interface, namely start photo or picture library application, the picture that display decoding obtains.
In one embodiment, step S101 can comprise steps A:
Steps A, judge whether to receive camera applications take pictures generate photo after the notification message that sends.
After camera applications has clapped a photo, corresponding send a notification message, in correlation technique, when picture library or photo application start, just start comparison film and decode, therefore need to wait for that the longer time just can see the photo of shooting.In the present embodiment, judge whether to receive camera applications take pictures generate photo after the notification message that sends, after receiving this notification message, on backstage, this photo decoded at once and be saved in buffer memory, thus the photo of shooting can be seen immediately when user checks photo.At this moment decoding can complete based on buffer memory.
In one embodiment, can also take a photo and after successfully being preserved by this photo in camera applications, then send a notification message, notice picture library or this photograph taking of photo application have also been preserved.Successfully preserved by this photo and refer to and be saved in permanent storage media by this photo, now, notification message comprises the mark of photo and the memory address of this photo, and decoding at this moment completes based on storage medium.
In one embodiment, step S101 can be embodied as step B:
Step B, the behavior of taking pictures of monitoring camera application, judges whether generation photo of taking pictures.
In one embodiment, the comparison film in step S102 is decoded, and can comprise step C1:
Photo transcoding is the thumbnail of the first pre-set dimension by step C1; The thumbnail of the first pre-set dimension is arrange according to the Minimum requirements of preview to obtain.
In the present embodiment, the thumbnail of the first pre-set dimension arranges according to the Minimum requirements of preview and obtains, and is the thumbnail of the first pre-set dimension, when user needs to check photo immediately, can meets the Minimum requirements of user's preview by photo transcoding.
In one embodiment, the comparison film in step S102 is decoded, and also can comprise step C2:
Photo transcoding, after photo transcoding is the thumbnail of the first pre-set dimension, is the thumbnail of the second pre-set dimension by step C2; First pre-set dimension is less than the second pre-set dimension, and the second pre-set dimension obtains for arranging according to screen size.
First pre-set dimension can be such as 200 pixel * 200 pixels, and the second pre-set dimension can be such as 1280 pixel * 980 pixels.Second pre-set dimension can be the size of terminal screen.
Because decoding photo is consuming time longer, the small thumbnails of 200*200 approximately needs 50-100 millisecond, the large thumbnail of screen size approximately needs 500-1000 millisecond, because user has the demand of checking photo fast, therefore, in the present embodiment, first small thumbnails of decoding from photo, after small thumbnails has been decoded, if user does not also check this photo, larger thumbnail of decoding.Time such user starts picture library app, if large thumbnail is ready, user just can see large thumbnail clearly at once without the need to waiting for, otherwise also can see small thumbnails, wait and can see large thumbnail clearly for a moment, do not affect the speed of taking pictures again simultaneously.
The thumbnail of photo is carried out buffer memory, with standby user preview.If do not receive in a period of time check photo check instruction, then can empty the thumbnail in buffer memory.
In one embodiment, as shown in Figure 3, step S103 can be embodied as following steps S301-S304:
In step S301, check instruction when receiving photo, the thumbnail of the first pre-set dimension of display photo;
In step s 302, judge whether the thumbnail of the second pre-set dimension of photo has decoded;
In step S303, if the thumbnail of the second pre-set dimension of photo has been decoded, then the thumbnail showing the second pre-set dimension of photo has substituted the thumbnail of the first pre-set dimension of photo;
In step s 304, if the thumbnail decoding of the second pre-set dimension of photo does not complete, then whether the thumbnail monitoring the second pre-set dimension of photo has decoded; When the thumbnail of the second pre-set dimension monitoring photo has been decoded, the thumbnail of the second pre-set dimension of display photo has substituted the thumbnail of the first pre-set dimension of photo.
In the present embodiment, instruction is checked when receiving photo, the thumbnail of the first pre-set dimension of display photo, and judge whether the thumbnail of the second pre-set dimension of photo has decoded, as decoded, the thumbnail then showing the second pre-set dimension of photo substitutes the thumbnail of the first pre-set dimension of photo, if do not complete, then when the thumbnail of the second pre-set dimension photo being detected has been decoded, the thumbnail of the second pre-set dimension of display photo substitutes the thumbnail of the first pre-set dimension of photo, therefore, no matter whether the thumbnail of the second pre-set dimension has decoded, all first show the thumbnail of the first pre-set dimension, thus user just can previewing photos without the need to waiting for.
In one embodiment, as shown in Figure 4, step S103 also can be embodied as following steps S401-S403:
In step S401, checking instruction when receiving photo, judging whether the thumbnail of the second pre-set dimension of photo has decoded;
In step S402, if the thumbnail of the second pre-set dimension of photo has been decoded, then show the thumbnail of the second pre-set dimension of photo;
In step S403, if the thumbnail of the second pre-set dimension of photo has not been decoded, then show the thumbnail of the first pre-set dimension of photo, and whether the thumbnail monitoring the second pre-set dimension of photo has decoded, after the thumbnail of the second pre-set dimension monitoring photo has been decoded, the thumbnail of the second pre-set dimension of display photo has substituted the thumbnail of the first pre-set dimension of photo.
In the present embodiment, if whether the thumbnail of the second pre-set dimension has decoded, then first show the thumbnail of the second pre-set dimension, if the thumbnail of the second pre-set dimension of photo has not been decoded, then show the thumbnail of the first pre-set dimension of photo, and after the thumbnail of the second pre-set dimension has been decoded, the thumbnail of the first pre-set dimension is replaced with the thumbnail of the second pre-set dimension, thus can preferentially show thumbnail clearly, facilitate user to check.
In one embodiment, whether the thumbnail of the second pre-set dimension of the monitoring photo in step S403 has been decoded and also can be embodied as step D1-D2:
Step D1, what whether monitoring received other photo checks instruction;
Step D2, when receive other photo check instruction time, stop the thumbnail of the second pre-set dimension of monitoring photo whether to decode.
Photo may also not decoded, user wants again to check other photo, in the present embodiment, what whether monitoring received other photo checks instruction, if what receive other photo checks finger, illustrate that user newly takes a picture sheet, then stop the thumbnail of the second pre-set dimension of monitoring photo whether to decode, and then preferential other photo of decoding.
In one embodiment, after step D2, also can comprise step D3:
Step D3, when receive other photo check instruction time, other photo is decoded.
In the present embodiment, stop after whether the thumbnail of the second pre-set dimension of monitoring photo decoded, decoding to other photo at once, thus other photo of can preferentially decoding, user can not be affected and check.
In one embodiment, when other photo is multiple pictures, step D3 can be embodied as following steps E1-E2:
Step e 1, determine respectively other photograph complete after transmission notification message transmission time order and function order;
Step e 2, preferential decoding transmitting time is posterior checks other photo that instruction is corresponding.
In the present embodiment, determine the time order and function order that the notification message that other photo is corresponding sends, and the photo that the posterior notification message of preferential decoding transmitting time is corresponding.Thus according to the sequencing decoding photo of photograph taking, thus can not affect user and check other photo.
In one embodiment, the comparison film in step S102 is decoded, and can be embodied as following steps F:
Step F, by the decoding data of the photo bottom.
In the present embodiment, photo adopts stacked data layout, so the data of the photo bottom of can also first decoding, is then decoded by high level data gradually.At this moment, photo is a process clearly gradually.The present embodiment, after decoding completes, user also can see clear photograph at once, does not also affect the speed of taking pictures simultaneously.
In one embodiment, as shown in Figure 5, after step slol, said method also can comprise the following steps S104-S105:
In step S104, obtain the path that photo is preserved, the path of photo is after camera applications has been taken pictures, and carries out preserving.
In step S105, path is added in the photo path list needing decoding.
Now, step S102 can be embodied as step S1021:
In step S1021, decode according to the sequencing comparison film in photo path in path list.
After step slol, obtain the path that photo is preserved, and this path is added in the photo path list needing decoding, by the path permutations that newly adds in the foremost of path list.
In the present embodiment, the path of photo is added in the photo path list needing decoding, thus can decode according to the sequencing in photo path in path list, photo of can decoding in order simply, efficiently.
Following is disclosure device embodiment, may be used for performing disclosure embodiment of the method.
Fig. 6 is a kind of block diagram showing the device of photo according to an exemplary embodiment, and this device can realize becoming the some or all of of electronic equipment by software, hardware or both combinations.As shown in Figure 6, the device of this display photo comprises:
Detection module 61, is configured to detection camera and applies generation photo of whether taking pictures;
First decoder module 62, be configured to when detect camera applications take pictures generate photo time, comparison film is decoded, to make show during preview the picture that decoding obtains.
The said apparatus of disclosure embodiment, when detect camera applications take pictures generate photo time, automatically decode at backstage comparison film, to make can to show at once during user's preview the picture of decoding and obtaining, without the need to waiting as long for.
In one embodiment, as shown in Figure 7, said apparatus also can comprise:
Display module 63, is configured to check instruction when receiving photo, the picture that display decoding obtains.
Check that instruction can be such as the startup interface that user clicks photo or picture library application, click this interface, namely start photo or picture library application, the picture that display decoding obtains.
In one embodiment, detection module 61 can comprise:
First judges submodule, be configured to judge whether to receive camera applications take pictures generate photo after the notification message that sends.
After camera applications has clapped a photo, corresponding send a notification message, in correlation technique, when picture library or photo application start, just start comparison film and decode, therefore need to wait for that the longer time just can see the photo of shooting.In the present embodiment, judge whether to receive camera applications take pictures generate photo after the notification message that sends, after receiving this notification message, on backstage, this photo decoded at once and be saved in buffer memory, thus the photo of shooting can be seen immediately when user checks photo.At this moment decoding can complete based on buffer memory.
In one embodiment, can also take a photo and after successfully being preserved by this photo in camera applications, then send a notification message, notice picture library or this photograph taking of photo application have also been preserved.Successfully preserved by this photo and refer to and be saved in permanent storage media by this photo, now, notification message comprises the mark of photo and the memory address of this photo, and decoding at this moment completes based on storage medium.
In one embodiment, detection module 61 can comprise:
Monitoring submodule, is configured to the behavior of taking pictures of monitoring camera application, judges whether generation photo of taking pictures.
In one embodiment, the first decoder module 62, can comprise:
First decoding sub-module, being configured to is the thumbnail of the first pre-set dimension by photo transcoding; The thumbnail of the first pre-set dimension is arrange according to the Minimum requirements of preview to obtain.
In the present embodiment, the thumbnail of the first pre-set dimension arranges according to the Minimum requirements of preview and obtains, and is the thumbnail of the first pre-set dimension, when user needs to check photo immediately, can meets the Minimum requirements of user's preview by photo transcoding.
In one embodiment, the first decoder module 62, also can comprise:
Second decoding sub-module, is configured to after photo transcoding is the thumbnail of the first pre-set dimension, is the thumbnail of the second pre-set dimension by photo transcoding; First pre-set dimension is less than the second pre-set dimension, and the second pre-set dimension obtains for arranging according to screen size.
Because decoding photo is consuming time longer, the small thumbnails of 200*200 approximately needs 50-100 millisecond, the large thumbnail of screen size approximately needs 500-1000 millisecond, because user has the demand of checking photo fast, therefore, in the present embodiment, first small thumbnails of decoding from photo, after small thumbnails has been decoded, if user does not also check this photo, larger thumbnail of decoding.Time such user starts picture library app, if large thumbnail is ready, user just can see large thumbnail clearly at once without the need to waiting for, otherwise also can see small thumbnails, wait and can see large thumbnail clearly for a moment, do not affect the speed of taking pictures again simultaneously.
The thumbnail of photo is carried out buffer memory, with standby user preview.If do not receive in a period of time check photo check instruction, then can empty the thumbnail in buffer memory.
In one embodiment, as shown in Figure 8, display module 63 can comprise:
First display sub-module 81, is configured to check instruction when receiving photo, the thumbnail of the first pre-set dimension of display photo;
Second judges submodule 82, and whether the thumbnail being configured to the second pre-set dimension judging photo has decoded;
Second display sub-module 83, if the thumbnail being configured to the second pre-set dimension of photo has been decoded, then the thumbnail showing the second pre-set dimension of photo has substituted the thumbnail of the first pre-set dimension of photo;
3rd display sub-module 84, if the thumbnail decoding being configured to the second pre-set dimension of photo does not complete, then whether the thumbnail monitoring the second pre-set dimension of photo has decoded; When the thumbnail of the second pre-set dimension monitoring photo has been decoded, the thumbnail of the second pre-set dimension of display photo has substituted the thumbnail of the first pre-set dimension of photo.
In the present embodiment, instruction is checked when receiving photo, the thumbnail of the first pre-set dimension of display photo, and judge whether the thumbnail of the second pre-set dimension of photo has decoded, as decoded, the thumbnail then showing the second pre-set dimension of photo substitutes the thumbnail of the first pre-set dimension of photo, if do not complete, then when the thumbnail of the second pre-set dimension photo being detected has been decoded, the thumbnail of the second pre-set dimension of display photo substitutes the thumbnail of the first pre-set dimension of photo, therefore, no matter whether the thumbnail of the second pre-set dimension has decoded, all first show the thumbnail of the first pre-set dimension, thus user just can previewing photos without the need to waiting for.
In one embodiment, as shown in Figure 9, display module 63 can comprise:
3rd judges submodule 91, is configured to check instruction when receiving photo, judges whether the thumbnail of the second pre-set dimension of photo has decoded;
4th display sub-module 92, if the thumbnail being configured to the second pre-set dimension of photo has been decoded, has then shown the thumbnail of the second pre-set dimension of photo;
5th display sub-module 93, if the thumbnail being configured to the second pre-set dimension of photo has not been decoded, then show the thumbnail of the first pre-set dimension of photo, and whether the thumbnail monitoring the second pre-set dimension of photo has decoded, after the thumbnail of the second pre-set dimension monitoring photo has been decoded, the thumbnail of the second pre-set dimension of display photo has substituted the thumbnail of the first pre-set dimension of photo.
In the present embodiment, if whether the thumbnail of the second pre-set dimension has decoded, then first show the thumbnail of the second pre-set dimension, if the thumbnail of the second pre-set dimension of photo has not been decoded, then show the thumbnail of the first pre-set dimension of photo, and after the thumbnail of the second pre-set dimension has been decoded, the thumbnail of the first pre-set dimension is replaced with the thumbnail of the second pre-set dimension, thus can preferentially show thumbnail clearly, facilitate user to check.
In one embodiment, the 5th display sub-module also can be configured to:
What whether monitoring received other photo checks instruction; When receive other photo check instruction time, stop the thumbnail of the second pre-set dimension of monitoring photo whether to decode.
Photo may also not decoded, user wants again to check other photo, in the present embodiment, what whether monitoring received other photo checks instruction, if what receive other photo checks finger, illustrate that user newly takes a picture sheet, then stop the thumbnail of the second pre-set dimension of monitoring photo whether to decode, and then preferential other photo of decoding.
In one embodiment, as shown in Figure 10, device also can comprise:
Second decoder module 64, be configured to when receive other photo check instruction time, other photo is decoded.
In the present embodiment, stop after whether the thumbnail of the second pre-set dimension of monitoring photo decoded, decoding to other photo at once, thus other photo of can preferentially decoding, user can not be affected and check.
In one embodiment, when other photo is multiple pictures, as shown in figure 11, the second decoder module 64 can comprise:
Determine submodule 111, be configured to determine respectively other photograph complete after the time order and function order of transmission of notification message of transmission;
3rd decoding sub-module 112, is configured to the posterior photo checking instruction correspondence of transmitting time of preferentially decoding.
In the present embodiment, determine the time order and function order that the notification message that other photo is corresponding sends, and the photo that the posterior notification message of preferential decoding transmitting time is corresponding.Thus according to the sequencing decoding photo of photograph taking, thus can not affect user and check other photo.
In one embodiment, the first decoder module 62, can comprise:
4th decoding sub-module, is configured to the decoding data of the photo bottom.
In the present embodiment, photo adopts stacked data layout, so the data of the photo bottom of can also first decoding, is then decoded by high level data gradually.At this moment, photo is a process clearly gradually.The present embodiment, after decoding completes, user also can see clear photograph at once, does not also affect the speed of taking pictures simultaneously.
In one embodiment, as shown in figure 12, said apparatus also can comprise:
Acquisition module 65, be configured to obtain the path that photo is preserved, the path of photo is after camera applications has been taken pictures, and carries out preserving;
Add module 66, be configured to path to add in the photo path list needing to decode.
First decoder module 62, comprising:
5th decoding sub-module, is configured to decode according to the sequencing comparison film in photo path in path list.
In the present embodiment, the path of photo is added in the photo path list needing decoding, thus can decode according to the sequencing in photo path in path list, photo of can decoding in order simply, efficiently.
Disclosure embodiment also provides a kind of device showing photo, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Detection camera applies generation photo of whether taking pictures;
When detect described camera applications take pictures generate photo time, described photo is decoded, to make show during preview the picture that decoding obtains.
Above-mentioned processor is also configured to:
Instruction is checked, the picture that display decoding obtains when receiving photo.
Above-mentioned processor is also configured to:
Judge whether to receive camera applications take pictures generate photo after the notification message that sends.
Above-mentioned processor is also configured to:
The behavior of taking pictures of monitoring camera application, judges whether generation photo of taking pictures.
Above-mentioned processor is also configured to:
By the thumbnail that described photo transcoding is the first pre-set dimension; The thumbnail of described first pre-set dimension is arrange according to the Minimum requirements of preview to obtain.
Above-mentioned processor is also configured to:
After described photo transcoding is the thumbnail of the first pre-set dimension, be the thumbnail of the second pre-set dimension by described photo transcoding; Described first pre-set dimension is less than described second pre-set dimension, and described second pre-set dimension obtains for arranging according to screen size.
Above-mentioned processor is also configured to:
Checking instruction when receiving photo, showing the thumbnail of the first pre-set dimension of described photo;
Judge whether the thumbnail of the second pre-set dimension of described photo has decoded;
If the thumbnail of the second pre-set dimension of described photo has been decoded, then the thumbnail showing the second pre-set dimension of described photo has substituted the thumbnail of the first pre-set dimension of described photo;
If the thumbnail decoding of the second pre-set dimension of described photo does not complete, then whether the thumbnail monitoring the second pre-set dimension of described photo has decoded; When the thumbnail of the second pre-set dimension monitoring described photo has been decoded, the thumbnail showing the second pre-set dimension of described photo has substituted the thumbnail of the first pre-set dimension of described photo.
Above-mentioned processor is also configured to:
Checking instruction when receiving photo, judging whether the thumbnail of the second pre-set dimension of described photo has decoded;
If the thumbnail of the second pre-set dimension of described photo has been decoded, then show the thumbnail of the second pre-set dimension of described photo;
If the thumbnail of the second pre-set dimension of described photo has not been decoded, then show the thumbnail of the first pre-set dimension of described photo, and whether the thumbnail monitoring the second pre-set dimension of described photo has decoded, after the thumbnail of the second pre-set dimension monitoring described photo has been decoded, the thumbnail showing the second pre-set dimension of described photo has substituted the thumbnail of the first pre-set dimension of described photo.
Above-mentioned processor is also configured to:
What whether monitoring received other photo checks instruction;
When receive other photo check instruction time, stop the thumbnail of the second pre-set dimension of the described photo of monitoring whether to decode.
Above-mentioned processor is also configured to:
When receive other photo check instruction time, other photo described is decoded.
Above-mentioned processor is also configured to:
Determine respectively other photograph complete after transmission notification message transmission time order and function order;
Preferential decoding transmitting time is posterior checks the photo that instruction is corresponding.
Above-mentioned processor is also configured to:
By the decoding data of the described photo bottom.
Above-mentioned processor is also configured to:
Obtain the path that described photo is preserved, the path of described photo is after camera applications has been taken pictures, and carries out preserving;
Described path is added in the photo path list needing decoding.
Described described photo to be decoded, comprising:
Decode according to the sequencing comparison film in photo path in path list.
Figure 13 is the block diagram of a kind of device for showing photo according to an exemplary embodiment, and this device is applicable to terminal device.Such as, device 1200 can be mobile phone, computing machine, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc.
Device 1200 can comprise following one or more assembly: processing components 1202, storer 1204, power supply module 1206, multimedia groupware 1208, audio-frequency assembly 1210, the interface 1212 of I/O (I/O), sensor module 1214, and communications component 1216.
The integrated operation of the usual control device 1200 of processing components 1202, such as with display, call, data communication, camera operation and record operate the operation be associated.Processing components 1202 can comprise one or more processor 1220 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 1202 can comprise one or more module, and what be convenient between processing components 1202 and other assemblies is mutual.Such as, processing components 1202 can comprise multi-media module, mutual with what facilitate between multimedia groupware 1208 and processing components 1202.
Storer 1204 is configured to store various types of data to be supported in the operation of equipment 1200.The example of these data comprises for any application program of operation on device 1200 or the instruction of method, contact data, telephone book data, message, picture, video etc.Storer 1204 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), ROM (read-only memory) (ROM), magnetic store, flash memory, disk or CD.
The various assemblies that electric power assembly 1206 is device 1200 provide electric power.Electric power assembly 1206 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 1200 and be associated.
Multimedia groupware 1208 is included in the screen providing an output interface between described device 1200 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Described touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant to described touch or slide and pressure.In certain embodiments, multimedia groupware 1208 comprises a front-facing camera and/or post-positioned pick-up head.When equipment 1200 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 1210 is configured to export and/or input audio signal.Such as, audio-frequency assembly 1210 comprises a microphone (MIC), and when device 1200 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The sound signal received can be stored in storer 1204 further or be sent via communications component 1216.In certain embodiments, audio-frequency assembly 1210 also comprises a loudspeaker, for output audio signal.
I/O interface 1212 is for providing interface between processing components 1202 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor module 1214 comprises one or more sensor, for providing the state estimation of various aspects for device 1200.Such as, sensor module 1214 can detect the opening/closing state of equipment 1200, the relative positioning of assembly, such as described assembly is display and the keypad of device 1200, the position of all right pick-up unit 1200 of sensor module 1214 or device 1200 assemblies changes, the presence or absence that user contacts with device 1200, the temperature variation of device 1200 orientation or acceleration/deceleration and device 1200.Sensor module 1214 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor module 1214 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor module 1214 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 1216 is configured to the communication being convenient to wired or wireless mode between device 1200 and other equipment.Device 1200 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communication component 1216 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, described communication component 1216 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 1200 can be realized, for performing said method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD) (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the storer 1204 of instruction, above-mentioned instruction can perform said method by the processor 820 of device 1200.Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
A kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is performed by the processor of device 1200, make device 1200 can perform the method for above-mentioned display photo, described method comprises:
Detection camera applies generation photo of whether taking pictures;
When detect described camera applications take pictures generate photo time, described photo is decoded, to make show during preview the picture that decoding obtains.
In one embodiment, described method also can comprise:
Instruction is checked, the picture that display decoding obtains when receiving photo.
In one embodiment, whether the application of described detection camera is taken pictures and is generated photo and can comprise:
Judge whether to receive camera applications take pictures generate photo after the notification message that sends.
In one embodiment, whether the application of described detection camera is taken pictures and is generated photo and can comprise:
The behavior of taking pictures of monitoring camera application, judges whether generation photo of taking pictures.
In one embodiment, described described photo to be decoded, can comprise:
By the thumbnail that described photo transcoding is the first pre-set dimension; The thumbnail of described first pre-set dimension is arrange according to the Minimum requirements of preview to obtain.
In one embodiment, described described photo to be decoded, also can comprise:
After described photo transcoding is the thumbnail of the first pre-set dimension, be the thumbnail of the second pre-set dimension by described photo transcoding; Described first pre-set dimension is less than described second pre-set dimension, and described second pre-set dimension obtains for arranging according to screen size.
In one embodiment, describedly check instruction when receiving photo, the display picture obtained of decoding can comprise:
Checking instruction when receiving photo, showing the thumbnail of the first pre-set dimension of described photo;
Judge whether the thumbnail of the second pre-set dimension of described photo has decoded;
If the thumbnail of the second pre-set dimension of described photo has been decoded, then the thumbnail showing the second pre-set dimension of described photo has substituted the thumbnail of the first pre-set dimension of described photo;
If the thumbnail decoding of the second pre-set dimension of described photo does not complete, then whether the thumbnail monitoring the second pre-set dimension of described photo has decoded; When the thumbnail of the second pre-set dimension monitoring described photo has been decoded, the thumbnail showing the second pre-set dimension of described photo has substituted the thumbnail of the first pre-set dimension of described photo.
In one embodiment, describedly check instruction when receiving photo, the display picture obtained of decoding can comprise:
Checking instruction when receiving photo, judging whether the thumbnail of the second pre-set dimension of described photo has decoded;
If the thumbnail of the second pre-set dimension of described photo has been decoded, then show the thumbnail of the second pre-set dimension of described photo;
If the thumbnail of the second pre-set dimension of described photo has not been decoded, then show the thumbnail of the first pre-set dimension of described photo, and whether the thumbnail monitoring the second pre-set dimension of described photo has decoded, after the thumbnail of the second pre-set dimension monitoring described photo has been decoded, the thumbnail showing the second pre-set dimension of described photo has substituted the thumbnail of the first pre-set dimension of described photo.
In one embodiment, whether the thumbnail of the second pre-set dimension of the described photo of described monitoring has been decoded and also can have been comprised:
What whether monitoring received other photo checks instruction;
When receive other photo check instruction time, stop the thumbnail of the second pre-set dimension of the described photo of monitoring whether to decode.
In one embodiment, described method also can comprise:
When receive other photo check instruction time, other photo described is decoded.
In one embodiment, when other photo described is multiple pictures, describedly decoding is carried out to other photo described can comprises:
Determine respectively other photograph complete after transmission notification message transmission time order and function order;
Preferential decoding transmitting time is posterior checks the photo that instruction is corresponding.
In one embodiment, described described photo to be decoded, can comprise:
By the decoding data of the described photo bottom.
In one embodiment, described method also can comprise:
Obtain the path that described photo is preserved, the path of described photo is after camera applications has been taken pictures, and carries out preserving;
Described path is added in the photo path list needing decoding.
Described described photo to be decoded, comprising:
Decode according to the sequencing comparison film in photo path in path list.
Those skilled in the art, at consideration instructions and after putting into practice disclosed herein disclosing, will easily expect other embodiment of the present disclosure.The application is intended to contain any modification of the present disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present disclosure and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Instructions and embodiment are only regarded as exemplary, and true scope of the present disclosure and spirit are pointed out by claim below.
Should be understood that, the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.The scope of the present disclosure is only limited by appended claim.

Claims (27)

1. show a method for photo, it is characterized in that, comprising:
Detection camera applies generation photo of whether taking pictures;
When detect described camera applications take pictures generate photo time, described photo is decoded, to make show during preview the picture that decoding obtains.
2. the method for claim 1, is characterized in that, described method also comprises:
Instruction is checked, the picture that display decoding obtains when receiving photo.
3. the method for claim 1, is characterized in that, described detection camera is applied generation photo of whether taking pictures and comprised:
Judge whether to receive camera applications take pictures generate photo after the notification message that sends.
4. the method for claim 1, is characterized in that, described detection camera is applied generation photo of whether taking pictures and comprised:
The behavior of taking pictures of monitoring camera application, judges whether generation photo of taking pictures.
5. the method for claim 1, is characterized in that, describedly decodes to described photo, comprising:
By the thumbnail that described photo transcoding is the first pre-set dimension; The thumbnail of described first pre-set dimension is arrange according to the Minimum requirements of preview to obtain.
6. method as claimed in claim 5, is characterized in that, describedly decodes to described photo, also comprises:
After described photo transcoding is the thumbnail of the first pre-set dimension, be the thumbnail of the second pre-set dimension by described photo transcoding; Described first pre-set dimension is less than described second pre-set dimension, and described second pre-set dimension obtains for arranging according to screen size.
7. method as claimed in claim 2, is characterized in that, describedly checks instruction when receive photo, and the display picture obtained of decoding comprises:
Checking instruction when receiving photo, showing the thumbnail of the first pre-set dimension of described photo;
Judge whether the thumbnail of the second pre-set dimension of described photo has decoded;
If the thumbnail of the second pre-set dimension of described photo has been decoded, then the thumbnail showing the second pre-set dimension of described photo has substituted the thumbnail of the first pre-set dimension of described photo;
If the thumbnail decoding of the second pre-set dimension of described photo does not complete, then whether the thumbnail monitoring the second pre-set dimension of described photo has decoded; When the thumbnail of the second pre-set dimension monitoring described photo has been decoded, the thumbnail showing the second pre-set dimension of described photo has substituted the thumbnail of the first pre-set dimension of described photo.
8. method as claimed in claim 2, is characterized in that, describedly checks instruction when receive photo, and the display picture obtained of decoding comprises:
Checking instruction when receiving photo, judging whether the thumbnail of the second pre-set dimension of described photo has decoded;
If the thumbnail of the second pre-set dimension of described photo has been decoded, then show the thumbnail of the second pre-set dimension of described photo;
If the thumbnail of the second pre-set dimension of described photo has not been decoded, then show the thumbnail of the first pre-set dimension of described photo, and whether the thumbnail monitoring the second pre-set dimension of described photo has decoded, after the thumbnail of the second pre-set dimension monitoring described photo has been decoded, the thumbnail showing the second pre-set dimension of described photo has substituted the thumbnail of the first pre-set dimension of described photo.
9. method as claimed in claim 7 or 8, it is characterized in that, whether the thumbnail of the second pre-set dimension of the described photo of described monitoring has been decoded and has also been comprised:
What whether monitoring received other photo checks instruction;
When receive other photo check instruction time, stop the thumbnail of the second pre-set dimension of the described photo of monitoring whether to decode.
10. method as claimed in claim 9, it is characterized in that, described method also comprises:
When receive other photo check instruction time, other photo described is decoded.
11. methods as claimed in claim 10, is characterized in that, when other photo described is multiple pictures, describedly carries out decoding to other photo described and comprise:
Determine respectively other photograph complete after the transmitting time sequencing of notification message of transmission;
Other photo that the posterior notification message of preferential decoding transmitting time is corresponding.
12. the method for claim 1, is characterized in that, describedly decode to described photo, comprising:
By the decoding data of the described photo bottom.
13. the method for claim 1, is characterized in that, described method also comprises:
Obtain the path that described photo is preserved, the path of described photo is after camera applications has been taken pictures, and carries out preserving;
Described path is added in the photo path list needing decoding.
Described described photo to be decoded, comprising:
Decode according to the sequencing comparison film in photo path in path list.
14. 1 kinds of devices showing photo, is characterized in that, comprising:
Detection module, applies for detection camera generation photo of whether taking pictures;
First decoder module, for when detect described camera applications take pictures generate photo time, described photo is decoded, to make show during preview the picture that decoding obtains.
15. devices as claimed in claim 14, it is characterized in that, described device also comprises:
Display module, for checking instruction when receiving photo, the picture that display decoding obtains.
16. devices as claimed in claim 14, it is characterized in that, described detection module comprises:
First judges submodule, for judge whether to receive camera applications take pictures generate photo after the notification message that sends.
17. devices as claimed in claim 14, it is characterized in that, described detection module comprises:
Monitoring submodule, for the behavior of taking pictures of monitoring camera application, judges whether generation photo of taking pictures.
18. devices as claimed in claim 14, it is characterized in that, described first decoder module, comprising:
First decoding sub-module, for by described photo transcoding being the thumbnail of the first pre-set dimension; The thumbnail of described first pre-set dimension is arrange according to the Minimum requirements of preview to obtain.
19. devices as claimed in claim 18, it is characterized in that, described first decoder module, also comprises:
Described photo transcoding, after being the thumbnail of the first pre-set dimension when described photo transcoding, is the thumbnail of the second pre-set dimension by the second decoding sub-module; Described first pre-set dimension is less than described second pre-set dimension, and described second pre-set dimension obtains for arranging according to screen size.
20. devices as claimed in claim 15, it is characterized in that, described display module comprises:
First display sub-module, for checking instruction when receiving photo, shows the thumbnail of the first pre-set dimension of described photo;
Second judges submodule, and whether the thumbnail for the second pre-set dimension judging described photo has decoded;
Second display sub-module, if decoded for the thumbnail of the second pre-set dimension of described photo, then the thumbnail showing the second pre-set dimension of described photo has substituted the thumbnail of the first pre-set dimension of described photo;
3rd display sub-module, if do not complete for the thumbnail decoding of the second pre-set dimension of described photo, then whether the thumbnail monitoring the second pre-set dimension of described photo has decoded; When the thumbnail of the second pre-set dimension monitoring described photo has been decoded, the thumbnail showing the second pre-set dimension of described photo has substituted the thumbnail of the first pre-set dimension of described photo.
21. devices as claimed in claim 15, it is characterized in that, described display module comprises:
3rd judges submodule, for checking instruction when receiving photo, judges whether the thumbnail of the second pre-set dimension of described photo has decoded;
4th display sub-module, if decoded for the thumbnail of the second pre-set dimension of described photo, has then shown the thumbnail of the second pre-set dimension of described photo;
5th display sub-module, if do not decoded for the thumbnail of the second pre-set dimension of described photo, then show the thumbnail of the first pre-set dimension of described photo, and whether the thumbnail monitoring the second pre-set dimension of described photo has decoded, after the thumbnail of the second pre-set dimension monitoring described photo has been decoded, the thumbnail showing the second pre-set dimension of described photo has substituted the thumbnail of the first pre-set dimension of described photo.
22. devices as claimed in claim 21, is characterized in that, described 5th display sub-module also for:
What whether monitoring received other photo checks instruction; When receive other photo check instruction time, stop the thumbnail of the second pre-set dimension of the described photo of monitoring whether to decode.
23. devices as claimed in claim 22, it is characterized in that, described device also comprises:
Second decoder module, for when receive other photo check instruction time, other photo described is decoded.
24. devices as claimed in claim 23, is characterized in that, when other photo described is multiple pictures, described second decoder module comprises:
Determine submodule, for determine respectively other photograph complete after transmission notification message transmission time order and function order;
3rd decoding sub-module, checks for transmitting time of preferentially decoding is posterior other photo that instruction is corresponding.
25. devices as claimed in claim 14, it is characterized in that, described first decoder module, comprising:
4th decoding sub-module, for the decoding data by the described photo bottom.
26. devices as claimed in claim 14, it is characterized in that, described device also comprises:
Acquisition module, for obtaining the path that described photo is preserved, the path of described photo is after camera applications has been taken pictures, and carries out preserving;
Add module, for being added in described path in the photo path list of needs decoding.
Described first decoder module, comprising:
5th decoding sub-module, for decoding according to the sequencing comparison film in photo path in path list.
27. 1 kinds of devices showing photo, is characterized in that, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Detection camera applies generation photo of whether taking pictures;
When detect described camera applications take pictures generate photo time, described photo is decoded, to make show during preview the picture that decoding obtains.
CN201510959161.8A 2015-12-18 2015-12-18 Show the method and device of photo Active CN105549935B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510959161.8A CN105549935B (en) 2015-12-18 2015-12-18 Show the method and device of photo

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510959161.8A CN105549935B (en) 2015-12-18 2015-12-18 Show the method and device of photo

Publications (2)

Publication Number Publication Date
CN105549935A true CN105549935A (en) 2016-05-04
CN105549935B CN105549935B (en) 2018-11-23

Family

ID=55829137

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510959161.8A Active CN105549935B (en) 2015-12-18 2015-12-18 Show the method and device of photo

Country Status (1)

Country Link
CN (1) CN105549935B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103135903A (en) * 2013-02-22 2013-06-05 北京小米科技有限责任公司 Chart gallery display method and device
US20140334665A1 (en) * 2010-10-11 2014-11-13 Graphic Security Systems Corporation System and method for creating an animation from a plurality of latent images encoded into a visible image
CN104361100A (en) * 2014-11-21 2015-02-18 小米科技有限责任公司 Method and device for ranking picture files
CN104636106A (en) * 2015-02-12 2015-05-20 小米科技有限责任公司 Picture displaying method and device and terminal device
CN104769946A (en) * 2013-06-05 2015-07-08 松下电器(美国)知识产权公司 Image encoding method, image decoding method, image encoding apparatus, and image decoding apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140334665A1 (en) * 2010-10-11 2014-11-13 Graphic Security Systems Corporation System and method for creating an animation from a plurality of latent images encoded into a visible image
CN103135903A (en) * 2013-02-22 2013-06-05 北京小米科技有限责任公司 Chart gallery display method and device
CN104769946A (en) * 2013-06-05 2015-07-08 松下电器(美国)知识产权公司 Image encoding method, image decoding method, image encoding apparatus, and image decoding apparatus
CN104361100A (en) * 2014-11-21 2015-02-18 小米科技有限责任公司 Method and device for ranking picture files
CN104636106A (en) * 2015-02-12 2015-05-20 小米科技有限责任公司 Picture displaying method and device and terminal device

Also Published As

Publication number Publication date
CN105549935B (en) 2018-11-23

Similar Documents

Publication Publication Date Title
CN104243819A (en) Photo acquiring method and device
CN104636106A (en) Picture displaying method and device and terminal device
CN105338409A (en) Network video pre-loading method and device
CN105338399A (en) Image acquisition method and device
CN104391711B (en) A kind of method and device that screen protection is set
CN104951479A (en) Video content detecting method and device
CN104375828A (en) Method and device for optimizing memory
CN105120337A (en) Video special effect processing method, video special effect processing device and terminal equipment
CN105117033A (en) Connection method and device of external equipment
CN104182313A (en) Photographing delay method and device
CN105049269A (en) Information feedback method and device
US20170090684A1 (en) Method and apparatus for processing information
CN104484438A (en) Image processing method and device
CN104980662A (en) Method for adjusting imaging style in shooting process, device thereof and imaging device
CN105786507A (en) Display interface switching method and device
CN104636164A (en) Generating method and device for starting page
CN104991752A (en) Method and device for controlling screen to rotate
CN105120155A (en) Panoramic photograph generation method and device
CN105138564A (en) Data file reading method and apparatus
CN105323491A (en) Image shooting method and device
CN104536787A (en) Resource preloading method and device
CN105549300A (en) Automatic focusing method and device
CN105488829A (en) Method and device for generating head portrait
CN105550213A (en) Picture browsing method and device
CN104850643A (en) Image comparison method and device

Legal Events

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