Camera thumbnail generation method, mobile terminal and storage medium
A mobile terminal and storage medium technology, which is applied in the field of photography and can solve problems such as extended thumbnail time
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0055] The invention provides a method for generating camera thumbnails. see figure 1 , figure 1 It is a flow chart of a preferred embodiment of the method for generating camera thumbnails in the present invention. Such as figure 1 As shown, a method for generating a camera thumbnail includes the following steps:
[0056] In step S10, the shutter instruction is obtained, and the camera application program starts to monitor the preview data, and caches and forms a queue.
[0057] In the embodiment of the present invention, when the user presses the shutter button, the camera obtains the shutter command and reads the preview size. At this time, the camera application program will allocate a memory space according to the current preview size and the format of the preview data to create a Fixed-length circular queue. Because different hardware corresponds to different performance, and the length of the queue cannot be determined, the use of a fixed-length circular queue is be...
Embodiment 2
[0079] The present invention also provides a mobile terminal, such as figure 2 As shown, the mobile terminal in this embodiment of the present invention may be a smart device such as a mobile phone (or a tablet), wherein the mobile terminal in this embodiment includes a processor 10 and a memory 20 connected to the processor 10 .
[0080] The memory 20 stores a camera thumbnail generation program, and the camera thumbnail generation program is executed by the processor 10 to implement the following steps:
[0081] Obtain the shutter command, the camera application starts to monitor the preview data, and buffers to form a queue;
[0082] After the camera application program receives the photographing frame information, stop monitoring;
[0083] Find the queue and determine the preview data corresponding to the photo frame;
[0084] Sampling is performed according to the preview data to generate a thumbnail; the details are as described above.
[0085] Further, the program f...
Embodiment 3
[0100] The present invention also provides a storage medium, the storage medium stores a program for generating camera thumbnails, and when the program for generating camera thumbnails is executed by the processor 10, it is used to implement the method for generating camera thumbnails; specifically as above mentioned.
[0101] In summary, the present invention discloses a method for generating camera thumbnails, a mobile terminal and a storage medium. The method for generating a camera thumbnail image includes: acquiring a shutter command, the camera application program starts to monitor the preview data, and caches and forms a queue; when the camera application program receives the photographing frame information, stops monitoring; searches for the queue, and determines and photographs the frame Corresponding preview data; perform sampling processing according to the preview data to generate thumbnails. The present invention selects the preview data from the same frame sourc...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com