CN107071284A - A kind of photographic method and terminal - Google Patents

A kind of photographic method and terminal Download PDF

Info

Publication number
CN107071284A
CN107071284A CN201710292520.8A CN201710292520A CN107071284A CN 107071284 A CN107071284 A CN 107071284A CN 201710292520 A CN201710292520 A CN 201710292520A CN 107071284 A CN107071284 A CN 107071284A
Authority
CN
China
Prior art keywords
camera
photographing
memory
terminal
user
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
CN201710292520.8A
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.)
Shenzhen Jinli Communication Equipment Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment 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 Shenzhen Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN201710292520.8A priority Critical patent/CN107071284A/en
Publication of CN107071284A publication Critical patent/CN107071284A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/64Computer-aided capture of images, e.g. transfer from script file into camera, check of taken image quality, advice or proposal for image composition or decision on when to take image
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Studio Devices (AREA)

Abstract

The embodiment of the invention discloses a kind of photographic method and terminal, wherein, photographic method includes:System spare internal memory is obtained after camera startup;If the system spare internal memory is less than the first default memory threshold, the camera control interface that calling system is provided performs configuration, the camera is worked in non-zero propagation exposal model;The photographing instruction of user's triggering is responded, controls the camera to be taken pictures according to the exposal model configured.Terminal control camera when Installed System Memory is not enough works in the relatively low exposal model of memory usage, it is to avoid is crashed caused by low memory or the phenomenon such as restarts.

Description

Photographing method and terminal
Technical Field
The invention relates to the technical field of electronics, in particular to a photographing method and a terminal.
Background
With the continuous development of terminal technology, the memories of intelligent terminals such as mobile phones and tablet computers are larger and larger. However, when the terminal simultaneously runs a plurality of applications with a large memory occupancy rate, the memory of the terminal is still relatively tense, so that the terminal may be jammed, halted, even restarted, and the like.
In the prior art, in order to improve the photographing experience of a user, a photographing mode of a camera is usually fixedly set to a zero-delay photographing mode, and because the memory occupancy rate of the camera in the zero-delay photographing mode is large, the use of the camera under the condition of insufficient memory of a terminal can cause the phenomena of terminal jamming, dead halt, even restart and the like.
Disclosure of Invention
The embodiment of the invention provides a photographing method and a terminal, which can control a camera to work in a photographing mode with low memory occupancy rate when the system memory is insufficient, and avoid the phenomena of crash or restart of the terminal caused by insufficient memory.
In a first aspect, an embodiment of the present invention provides a photographing method, including:
acquiring the residual memory of the system after the camera is started;
if the residual memory of the system is smaller than a first preset memory threshold value, calling a camera control interface provided by the system to execute configuration, and enabling the camera to work in a non-zero delay photographing mode;
and responding to a photographing instruction triggered by a user, and controlling the camera to photograph according to the configured photographing mode.
In another aspect, an embodiment of the present invention provides a terminal, including:
the first acquisition unit is used for acquiring the residual memory of the system after the camera is started;
the configuration unit is used for calling a camera control interface provided by the system to execute configuration if the residual memory of the system is smaller than a first preset memory threshold value, so that the camera works in a non-zero delay photographing mode;
and the photographing unit is used for responding to a photographing instruction triggered by a user and controlling the camera to photograph according to the configured photographing mode.
According to the scheme, the terminal acquires the residual memory of the system after the camera is started; if the residual memory of the system is smaller than a first preset memory threshold value, calling a camera control interface provided by the system to execute configuration, and enabling the camera to work in a non-zero delay photographing mode; and responding to a photographing instruction triggered by a user, and controlling the camera to photograph according to the configured photographing mode. The terminal can control the camera to work in a shooting mode with low memory occupancy rate when the system memory is insufficient, and the phenomena of dead halt or restart and the like caused by insufficient memory of the terminal are avoided.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it should be obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic flow chart of a photographing method according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a photographing method according to another embodiment of the present invention;
fig. 3 is a schematic block diagram of a terminal according to an embodiment of the present invention;
fig. 4 is a schematic block diagram of a terminal according to another embodiment of the present invention;
fig. 5 is a schematic block diagram of a terminal according to still another embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
In particular implementations, the terminals described in embodiments of the invention include, but are not limited to, other portable devices such as mobile phones, laptop computers, or tablet computers having touch sensitive surfaces (e.g., touch screen displays and/or touch pads). It should also be understood that in some embodiments, the device is not a portable communication device, but is a desktop computer having a touch-sensitive surface (e.g., a touch screen display and/or touchpad).
In the discussion that follows, a terminal that includes a display and a touch-sensitive surface is described. However, it should be understood that the terminal may include one or more other physical user interface devices such as a physical keyboard, mouse, and/or joystick.
The terminal supports various applications, such as one or more of the following: a drawing application, a presentation application, a word processing application, a website creation application, a disc burning application, a spreadsheet application, a gaming application, a telephone application, a video conferencing application, an email application, an instant messaging application, an exercise support application, a photo management application, a digital camera application, a web browsing application, a digital music player application, and/or a digital video player application.
Various applications that may be executed on the terminal may use at least one common physical user interface device, such as a touch-sensitive surface. One or more functions of the touch-sensitive surface and corresponding information displayed on the terminal can be adjusted and/or changed between applications and/or within respective applications. In this way, a common physical architecture (e.g., touch-sensitive surface) of the terminal can support various applications with user interfaces that are intuitive and transparent to the user.
Referring to fig. 1, fig. 1 is a schematic flow chart of a photographing method according to an embodiment of the present invention. The execution main body of the photographing method in the embodiment is the terminal. The terminal may be a mobile terminal such as a smart phone, a tablet computer, and the like, but is not limited thereto, and may also be another terminal, and is not limited herein. The photographing method as shown in fig. 1 may include the steps of:
s101: and acquiring the residual memory of the system after the camera is started.
When the terminal normally works, if a preset instruction for triggering the camera to start is detected, the camera is started according to the preset instruction. Among them, the camera includes a camera Application (APP) and a camera platform. The terminal starts a camera application and a camera platform when detecting a preset instruction for triggering the start of a camera. The camera platform may be a Hardware Abstraction Layer (HAL) of the terminal system.
The preset instruction for triggering the camera start may be generated when the user triggers the camera application, for example, the preset instruction may be generated when the user clicks an icon of the camera application, or when the user slides the screen locking interface of the terminal to a preset direction, which is not limited herein. If the terminal detects that a user clicks an icon of a camera application or detects that the user slides a screen locking interface of the terminal to a preset direction, the terminal recognizes that a preset instruction for triggering the camera to start is detected.
The preset direction can be set according to actual requirements, and is not limited here. For example, the preset direction may be left, right, up, down, or the like. For example, if the terminal detects that the user slides the screen locking interface leftwards, the terminal recognizes that a preset instruction for triggering the camera to start is detected.
The preset instruction for triggering the camera to start may also be generated when the user triggers a photographing function in an instant messaging application (such as WeChat, QQ, etc.), for example, when the user clicks a photographing button of an interactive interface of the instant messaging application. If the terminal detects that a user clicks a photographing button of an interactive interface of the instant messaging application, the terminal recognizes that a preset instruction for triggering the camera to start is detected.
Or, the preset instruction for triggering the camera to start may also be automatically generated by the terminal in other scenes where the camera needs to be started, specifically set according to actual requirements, and the setting is not limited here.
When the terminal starts the camera application, the camera platform is controlled to create an instance object corresponding to the camera application, and working parameters corresponding to the camera are defined in the instance object. The working parameters corresponding to the camera may include, but are not limited to, a first photographing mode parameter, an actual photographing mode parameter, or a photographing resolution parameter.
The first photographing mode parameter is used for identifying a photographing mode supported by the camera platform. The first photographing mode parameters may include whether a zero-latency photographing mode is supported and whether a non-zero-latency photographing mode is supported.
The actual photographing mode parameter is used for identifying a photographing mode of the camera platform during actual working. The actual photographing mode parameters include operating in a zero-delay photographing mode or operating in a non-zero-delay photographing mode.
The photographing resolution parameter is used to identify a photographing resolution supported by the camera platform. The photographing resolution parameter may include at least one photographing resolution. The maximum photographing resolution (i.e., the maximum photographing resolution supported by the camera platform) in the photographing resolution parameter may be configured according to the maximum resolution supported by the image sensor of the terminal, which is not limited herein. For example, if the maximum resolution supported by the image sensor is 12M, the maximum photographing resolution supported by the camera platform may be configured to be equal to or less than 12M.
And after the camera platform defines the working parameters corresponding to the camera, the terminal configures the working parameters corresponding to the camera. In a default situation, the terminal configures the first photographing mode parameter corresponding to the camera to support a zero-delay photographing mode and a non-zero-delay photographing mode, that is, in the default situation, the camera can work in the non-zero-delay photographing mode and also can work in the zero-delay photographing mode.
And the terminal acquires the residual memory of the system after the camera is started.
The remaining system memory is used to identify the currently available memory of the system, i.e. the currently unoccupied memory of the system. The terminal can access the task manager to obtain the rest memory of the system.
The task manager is used for monitoring the memory use condition of the terminal system in real time, and can calculate the remaining memory of the system according to the total memory of the system and the current memory occupation condition, namely the memory occupied by the current running program subtracted from the total memory of the system is the remaining memory of the system.
And the system total memory is used for identifying the total operating memory of the terminal system. For example, the total system memory of the existing terminal is usually 2GB (Byte), 4GB or 6GB, etc.
The terminal may obtain the remaining system memory in real time after the camera is started, or may obtain the remaining system memory at preset time intervals after the camera is started, and the setting is specifically performed according to actual requirements, which is not limited herein. The preset time interval may be set according to actual requirements, and is not limited herein. For example, the preset time interval may be 30 seconds, that is, the terminal acquires the remaining memory of the system every 30 seconds after the camera is started.
S102: and if the residual memory of the system is smaller than a first preset memory threshold value, calling a camera control interface provided by the system to execute configuration, so that the camera works in a non-zero delay photographing mode.
After the terminal acquires the remaining memory of the system, detecting whether the remaining memory of the system is smaller than a first preset memory threshold value. The first preset memory threshold may be set according to actual requirements, and is not limited herein. For example, the first predetermined memory threshold may be 30% of the total memory size of the system. If the total system memory of the terminal is 2GB, the first predetermined memory threshold may be 614.4MB (2048MB) × 30%.
If the terminal detects that the system residual memory is smaller than the first preset memory threshold value, the current system residual memory is insufficient, at the moment, the terminal calls a camera control interface provided by the system to configure working parameters corresponding to the camera under the condition of the current system residual memory, and the camera works in a non-zero delay photographing mode.
The camera control Interface provided by the system may be an Application Programming Interface (API).
The terminal calls a camera control interface provided by the system to perform configuration, so that the camera can work in a non-zero delay photographing mode, the terminal calls the camera control interface provided by the system to perform configuration on an actual photographing mode parameter corresponding to the camera, the actual photographing mode parameter corresponding to the camera is configured in the non-zero delay photographing mode, at the moment, the camera works according to the non-zero delay photographing mode, and in the photographing mode, a camera platform control hardware driving layer writes a group of preview register configuration (preview setting) into an image sensor and starts the image sensor to work. The image resolution corresponding to the preview register configuration may be 1/4 of the maximum resolution of the image sensor, or may be other values, which are specifically set according to actual requirements, and is not limited here. The image sensor outputs an image according to the image resolution configured by the preview register; and the camera platform cuts and scales the image output by the image sensor to obtain a preview image, and the preview image is displayed on a terminal screen.
S103: and responding to a photographing instruction triggered by a user, and controlling the camera to photograph according to the configured photographing mode.
After the terminal control camera works according to the non-zero delay photographing mode, if a photographing instruction triggered by a user is detected, the terminal control camera responds to the photographing instruction triggered by the user and controls the camera to photograph according to the non-zero delay photographing mode.
The photographing instruction can be triggered when a user triggers a shutter of the camera application, that is, if the terminal detects that the user triggers the shutter of the camera application, the terminal recognizes that the photographing instruction triggered by the user is detected, at this time, the terminal controls the hardware driving layer to stop the current image sensor from outputting an image, and controls the camera platform to write a group of photographing register configuration (capture setting) into the image sensor, and the photographing resolution corresponding to the photographing register configuration can be the maximum resolution of the image sensor. The image sensor outputs a full-size image according to the photographing resolution configured by the photographing register, the terminal controls the camera platform to acquire the full-size image output by the image sensor, and controls the camera platform to perform correction, focusing, exposure or white balance and other processing on the acquired full-size image to obtain a final photographed image. After the shooting is finished, the terminal control hardware driving layer writes the configuration of the preview register into the image sensor, and restarts the image sensor to work, at this moment, the image sensor outputs the image according to the corresponding resolution of the configuration of the preview register.
Because the camera platform does not need to allocate an additional photographing buffer queue when the camera photographs in the non-zero delay photographing mode, the occupancy rate of the system memory when the camera works in the non-zero delay photographing mode is low.
When the terminal detects that the residual memory of the system is insufficient, the camera is controlled to work in a non-zero delay photographing mode, so that the occupancy rate of the camera to the memory of the system is reduced, and the phenomena of blockage, crash or restart and the like caused by insufficient memory of the terminal are avoided.
According to the scheme, if the residual memory of the system is smaller than a first preset memory threshold value, the terminal calls a camera control interface provided by the system to execute configuration, so that the camera works in a non-zero delay photographing mode; and responding to a photographing instruction triggered by a user, and controlling the camera to photograph according to the configured photographing mode. When the system memory is insufficient, the terminal controls the camera to work in a photographing mode with low memory occupancy rate, and the phenomena of dead halt or restart and the like caused by insufficient memory are avoided.
Referring to fig. 2, fig. 2 is a schematic flow chart of a photographing method according to another embodiment of the present invention. The execution main body of the photographing method in the embodiment is the terminal. The terminal may be a mobile terminal such as a smart phone, a tablet computer, and the like, but is not limited thereto, and may also be another terminal, and is not limited herein. The photographing method as shown in fig. 2 may include the steps of:
s201: and acquiring the residual memory of the system after the camera is started.
When the terminal normally works, if a preset instruction for triggering the camera to start is detected, the camera is started according to the preset instruction. Among them, the camera includes a camera Application (APP) and a camera platform. The terminal starts a camera application and a camera platform when detecting a preset instruction for triggering the start of a camera. The camera platform may be a Hardware Abstraction Layer (HAL) of the terminal system.
The preset instruction for triggering the camera start may be generated when the user triggers the camera application, for example, the preset instruction may be generated when the user clicks an icon of the camera application, or when the user slides the screen locking interface of the terminal to a preset direction, which is not limited herein. If the terminal detects that a user clicks an icon of a camera application or detects that the user slides a screen locking interface of the terminal to a preset direction, the terminal recognizes that a preset instruction for triggering the camera to start is detected.
The preset direction can be set according to actual requirements, and is not limited here. For example, the preset direction may be left, right, up, down, or the like. For example, if the terminal detects that the user slides the screen locking interface leftwards, the terminal recognizes that a preset instruction for triggering the camera to start is detected.
The preset instruction for triggering the camera to start may also be generated when the user triggers a photographing function in an instant messaging application (such as WeChat, QQ, etc.), for example, when the user clicks a photographing button of an interactive interface of the instant messaging application. If the terminal detects that a user clicks a photographing button of an interactive interface of the instant messaging application, the terminal recognizes that a preset instruction for triggering the camera to start is detected.
Or, the preset instruction for triggering the camera to start may also be automatically generated by the terminal in other scenes where the camera needs to be started, specifically set according to actual requirements, and the setting is not limited here.
When the terminal starts the camera application, the camera platform is controlled to create an instance object corresponding to the camera application, and working parameters corresponding to the camera are defined in the instance object. The working parameters corresponding to the camera may include, but are not limited to, a first photographing mode parameter, an actual photographing mode parameter, or a photographing resolution parameter.
The first photographing mode parameter is used for identifying a photographing mode supported by the camera platform. The first photographing mode parameters may include whether a zero-latency photographing mode is supported and whether a non-zero-latency photographing mode is supported.
The actual photographing mode parameter is used for identifying a photographing mode of the camera platform during actual working. The actual photographing mode parameters include operating in a zero-delay photographing mode or operating in a non-zero-delay photographing mode.
The photographing resolution parameter is used to identify a photographing resolution supported by the camera platform. The photographing resolution parameter may include at least one photographing resolution. The maximum photographing resolution (i.e., the maximum photographing resolution supported by the camera platform) in the photographing resolution parameter may be configured according to the maximum resolution supported by the image sensor of the terminal, which is not limited herein. For example, if the maximum resolution supported by the image sensor is 12M, the maximum photographing resolution supported by the camera platform may be configured to be equal to or less than 12M.
And after the camera platform defines the working parameters corresponding to the camera, the terminal configures the working parameters corresponding to the camera. In a default situation, the terminal configures the first photographing mode parameter corresponding to the camera to support a zero-delay photographing mode and a non-zero-delay photographing mode, that is, in the default situation, the camera can work in the non-zero-delay photographing mode and also can work in the zero-delay photographing mode.
And the terminal acquires the residual memory of the system after the camera is started.
The remaining system memory is used to identify the currently available memory of the system, i.e. the currently unoccupied memory of the system. The terminal can access the task manager to obtain the rest memory of the system.
The task manager is used for monitoring the memory use condition of the terminal system in real time, and can calculate the remaining memory of the system according to the total memory of the system and the current memory occupation condition, namely the memory occupied by the current running program subtracted from the total memory of the system is the remaining memory of the system.
And the system total memory is used for identifying the total operating memory of the terminal system. For example, the total system memory of the existing terminal is usually 2GB (Byte), 4GB or 6GB, etc.
Further, step S201 may specifically include the following steps:
after the camera is started, acquiring the residual memory of the system according to a preset time interval; or,
and after the camera is started, acquiring the residual memory of the system in real time.
After the camera is started, the terminal can obtain the system residual memory of the terminal according to a preset time interval. The terminal acquires the residual memory of the system once every preset time interval after the camera is started, so that the terminal can acquire the use condition of the system memory and save the power consumption of the terminal.
The preset time interval may be set according to actual requirements, and is not limited herein. For example, the preset time interval may be 30 seconds, that is, the terminal acquires the remaining memory of the system every 30 seconds.
Or, the terminal may also acquire the remaining system memory in real time after the camera is started, so that the terminal may acquire the use condition of the system memory in real time.
S2021: and if the residual memory of the system is smaller than a first preset memory threshold value, calling a camera control interface provided by the system to execute configuration, so that the camera works in a non-zero delay photographing mode.
It should be noted that a specific implementation manner of the step S2021 in this embodiment is completely the same as that of the step S102 in the embodiment corresponding to fig. 1, and reference may be specifically made to the description related to the step S102 in the embodiment corresponding to fig. 1, and details are not repeated here.
S2022: and if the residual memory of the system is greater than or equal to the first preset memory threshold value, calling the camera control interface provided by the system to execute configuration, so that the camera works in a zero-delay photographing mode.
After the terminal acquires the system residual memory, if the system residual memory is detected to be greater than or equal to the first preset memory threshold value, it indicates that the current system residual memory of the terminal is sufficient, and at this time, in order to realize quick snapshot and improve the shooting experience of a user, the terminal can call a camera control interface provided by the system to configure corresponding working parameters, so that the camera works in a zero-delay shooting mode.
Specifically, if the terminal detects that the remaining memory of the system is greater than or equal to a first preset memory threshold, the terminal invokes a camera control interface provided by the system to configure an actual photographing mode parameter corresponding to the camera, configures the actual photographing mode parameter corresponding to the camera into a zero-delay photographing mode, at this time, the camera works according to the zero-delay photographing mode, and in the photographing mode, the terminal controls a camera platform to allocate a photographing buffer queue for buffering photographed images, and configures a photographing register corresponding to the image sensor, so that the image sensor outputs images at the maximum resolution (i.e., the image sensor is controlled to output full-size images).
Further, after step S2032, the photographing method may further include the steps of:
and responding to the mode switching instruction triggered by the user, calling the camera control interface provided by the system to execute configuration, and enabling the camera to work in the non-zero delay photographing mode.
Wherein the mode switching instruction may be triggered by a user through a setup menu of the camera.
Although the terminal controls the camera to work according to the zero-delay photographing mode under the condition that the residual memory of the system is sufficient, the terminal may be jammed when the terminal has insufficient electric quantity or other unexpected conditions, and at the moment, if a user feels that the terminal is not smooth in operation in the process of using the terminal, the terminal can be manually triggered to switch the camera from the zero-delay photographing mode to the non-zero-delay photographing mode so as to avoid the jamming condition of the terminal.
Specifically, if the terminal detects a mode switching instruction triggered by a user, the terminal responds to the mode switching instruction triggered by the user, and invokes a camera control interface provided by the system to execute configuration, so that the camera works in a non-zero delay photographing mode. More specifically, the terminal may invoke a camera control interface provided by the system to configure an actual photographing mode parameter corresponding to the camera, configure the actual photographing mode parameter corresponding to the camera into a non-zero delay photographing mode, at this time, the camera operates according to the non-zero delay photographing mode, and in the photographing mode, the camera platform controls the hardware driving layer to write a set of preview register configuration (preview setting) to the image sensor, and starts the image sensor to operate. The image resolution corresponding to the preview register configuration may be 1/4 of the maximum resolution of the image sensor, or may be other values, which are specifically set according to actual requirements, and is not limited here. The image sensor outputs an image according to the image resolution configured by the preview register; and the camera platform cuts and scales the image output by the image sensor to obtain a preview image, and the preview image is displayed on a terminal screen.
Step S2021 and step S2022 are two parallel steps, and are not in the order of one another.
S203: and responding to a photographing instruction triggered by a user, and controlling the camera to photograph according to the configured photographing mode.
And if the terminal controls the camera to work in the non-zero delay photographing mode, the terminal controls the camera to photograph according to the non-zero delay photographing mode when detecting a photographing instruction triggered by a user.
The photographing instruction can be triggered when a user triggers a shutter of the camera application, that is, if the terminal detects that the user triggers the shutter of the camera application, the terminal recognizes that the photographing instruction triggered by the user is detected, at this time, the terminal controls the hardware driving layer to stop the current image sensor from outputting an image, and controls the camera platform to write a group of photographing register configuration (capture setting) into the image sensor, and the photographing resolution corresponding to the photographing register configuration can be the maximum resolution of the image sensor. The image sensor outputs a full-size image according to the photographing resolution configured by the photographing register, the terminal controls the camera platform to acquire the full-size image output by the image sensor, and controls the camera platform to perform correction, focusing, exposure or white balance and other processing on the acquired full-size image to obtain a final photographed image. After the shooting is finished, the terminal control hardware driving layer writes the configuration of the preview register into the image sensor, and restarts the image sensor to work, at this moment, the image sensor outputs the image according to the corresponding resolution of the configuration of the preview register.
Because the camera platform does not need to allocate an additional photographing buffer queue when the camera photographs in the non-zero delay photographing mode, the occupancy rate of the system memory when the camera works in the non-zero delay photographing mode is low.
When the terminal detects that the residual memory of the system is insufficient, the camera is controlled to work in a non-zero delay photographing mode, and the occupancy rate of the camera to the memory of the system is low when the camera works in the non-zero delay photographing mode, so that the occupancy rate of the camera to the memory of the system is reduced, and the phenomena of blocking, halt, restarting and the like of the terminal caused by insufficient memory are avoided. However, when the remaining memory of the system is small enough, even if the camera operates in the non-zero-delay photographing mode, the terminal may be stuck, halted or restarted. At this time, the shooting resolution can be limited to prevent the terminal from jamming, crashing or restarting and the like.
Further, after step S2021 and before step S203, the photographing method may further include the steps of:
acquiring the maximum photographing resolution configured by the system;
and if the residual memory of the system is smaller than a second preset memory threshold value, setting at least one first photographing resolution for a user to select, wherein the first photographing resolution is smaller than the maximum photographing resolution, and the second preset memory threshold value is smaller than the first preset memory threshold value.
And the terminal controls the camera to work according to a non-zero delay photographing mode, and then obtains the maximum photographing resolution configured by the system. The maximum photographing resolution configured by the system is the maximum photographing resolution supported by the camera platform. Specifically, the terminal may call a camera control interface provided by the system to obtain a photographing resolution parameter corresponding to the camera from the camera platform, and determine the maximum photographing resolution supported by the camera platform according to the photographing resolution parameter. For example, if the photographing resolution parameters defined by the terminal on the camera platform in advance include photographing resolutions of 12M, 10M, 8M, 5M, 4M, 3M, and 2M, the terminal recognizes that the maximum photographing resolution supported by the camera platform is 12M.
Meanwhile, the terminal detects whether the residual memory of the current system is smaller than a second preset memory threshold value. Wherein the second predetermined memory threshold is less than the first predetermined memory threshold. The second preset memory threshold may be set according to actual requirements, and is not limited herein. For example, the first predetermined memory threshold may be 30% of the total memory size of the system, and the second predetermined memory threshold may be 10% of the total memory size of the system.
And if the terminal detects that the residual memory of the current system is smaller than a second preset memory threshold value, setting at least one first photographing resolution for a user to select. Wherein the first photographing resolution is less than the maximum photographing resolution.
Specifically, the terminal may select a target photographing resolution that is smaller than the maximum photographing resolution supported by the camera platform from the photographing resolutions (i.e., photographing resolution parameters) supported by the camera platform, and set at least one first photographing resolution according to the target photographing resolution for the user to select. Wherein the first photographing resolution is less than or equal to the target photographing resolution.
For example, if the photographing resolutions supported by the camera platform include 12M, 10M, 8M, 5M, 4M, 3M and 2M, that is, the maximum photographing resolution supported by the camera platform is 12M, the terminal may select 10M resolution from the photographing resolutions supported by the camera platform as the target resolution, and set the photographing resolutions of 10M, 8M, 5M, 4M, 3M and 2M for the user to select. Specifically, the terminal may present the photographing resolutions of 10M, 8M, 5M, 4M, 3M, and 2M in the menu bar of the camera, and the user may select a photographing resolution required by the user from the menu bar of the camera to photograph.
Further, step S203 specifically includes the following steps:
and responding to a photographing instruction triggered by a user, and controlling the camera to photograph according to the configured photographing mode and the first photographing resolution selected by the user.
And if the terminal detects that the user selects one of the first photographing resolutions and triggers a shutter applied by the camera, the terminal controls the camera to photograph according to the non-zero delay photographing mode and the photographing resolution selected by the user. For example, if the user selects the first photographing resolution of 5M, the terminal controls the camera to photograph and image at the photographing resolution of 5M in the non-zero-delay photographing mode.
Because the occupancy rate of the large-resolution image to the memory is larger during imaging, the occupation of the system memory during imaging can be reduced by limiting the maximum shooting resolution of the camera in the non-zero time-delay shooting mode, so that the phenomena of blockage, dead halt, restart and the like caused by insufficient memory of the terminal can be more effectively avoided.
And if the terminal controls the camera to work in the zero-delay photographing mode, the terminal controls the camera to photograph according to the zero-delay photographing mode when detecting a photographing instruction triggered by a user.
Specifically, when the camera works in the zero-delay photographing mode, the terminal controls the camera platform to allocate a photographing buffer queue for buffering photographed images, and configures a photographing register corresponding to the image sensor, so that the image sensor outputs images at the maximum resolution. And if the terminal detects a photographing instruction triggered by the user, controlling the camera platform to extract the image at the moment when the user triggers the shutter from the photographing cache queue, coding the image to obtain a final photographing image and outputting the final photographing image.
Because the camera platform needs to allocate an additional photographing buffer queue when photographing in the zero-delay photographing mode, the occupancy rate of the camera to the system memory is high when the camera works in the zero-delay photographing mode, but the parameters of the photographing register of the image sensor do not need to be configured for many times when the camera works in the zero-delay photographing mode, and the image displayed by the preview image at the moment when the user triggers the shutter can be captured, so that the quick snapshot can be realized. When the terminal detects that the residual memory of the system is sufficient, the camera is controlled to work in a zero-delay photographing mode, and photographing experience of a user can be improved.
According to the scheme, the terminal acquires the residual memory of the system after the camera is started; if the residual memory of the system is smaller than a first preset memory threshold value, calling a camera control interface provided by the system to execute configuration, and enabling the camera to work in a non-zero delay photographing mode; and responding to a photographing instruction triggered by a user, and controlling the camera to photograph according to the configured photographing mode. When the system memory is insufficient, the terminal controls the camera to work in a photographing mode with low memory occupancy rate, and the phenomena of dead halt or restart and the like caused by insufficient memory are avoided.
When the memory of the terminal is sufficient, the camera is controlled to work in a zero-delay photographing mode, and the photographing experience of a user can be improved.
Referring to fig. 3, fig. 3 is a schematic block diagram of a terminal according to an embodiment of the present invention. The terminal 300 may be a mobile terminal such as a smart phone, a tablet computer, or other terminals, and is not limited herein. The terminal 300 of the present embodiment includes units for executing steps in the embodiment corresponding to fig. 1, and please refer to fig. 1 and the related description in the embodiment corresponding to fig. 1 for details, which are not repeated herein. The terminal 300 of the embodiment includes a first acquiring unit 301, a configuring unit 302 and a photographing unit 303.
The first obtaining unit 301 is configured to obtain the remaining memory of the system after the camera is started. The first obtaining unit 301 sends the remaining system memory to the configuring unit 302.
The configuration unit 302 is configured to receive the system residual memory sent by the first obtaining unit 301, and if the system residual memory is smaller than a first preset memory threshold, call a camera control interface provided by the system to perform configuration, so that the camera operates in a non-zero delay shooting mode. The configuration unit 302 sends the photographing mode of the camera to the photographing unit 303.
The photographing unit 303 is configured to receive the photographing mode of the camera sent by the configuration unit 302, and control the camera to photograph according to the configured photographing mode in response to a photographing instruction triggered by a user.
According to the scheme, the terminal acquires the residual memory of the system after the camera is started; if the residual memory of the system is smaller than a first preset memory threshold value, calling a camera control interface provided by the system to execute configuration, and enabling the camera to work in a non-zero delay photographing mode; and responding to a photographing instruction triggered by a user, and controlling the camera to photograph according to the configured photographing mode. When the system memory is insufficient, the terminal controls the camera to work in a photographing mode with low memory occupancy rate, and the phenomena of dead halt or restart and the like caused by insufficient memory are avoided.
Referring to fig. 4, fig. 4 is a schematic block diagram of a terminal according to another embodiment of the present invention. The terminal 400 may be a mobile terminal such as a smart phone, a tablet computer, or other terminals, and is not limited herein. The terminal 400 of the present embodiment includes units for executing steps in the embodiment corresponding to fig. 2, and please refer to fig. 2 and the related description in the embodiment corresponding to fig. 2 for details, which are not described herein again. The terminal 400 of the present embodiment includes a first acquiring unit 401, a configuring unit 402, a photographing unit 403, a second acquiring unit 404, and a setting unit 405.
The first obtaining unit 401 is configured to obtain the remaining memory of the system after the camera is started. The first obtaining unit 401 sends the remaining system memory to the configuration unit 402 and the setting unit 405.
Further, the first obtaining unit 401 is specifically configured to obtain the remaining memory of the system according to a preset time interval after the camera is started; or the first obtaining unit 401 is specifically configured to obtain the remaining memory of the system in real time after the camera is started.
The configuration unit 402 is configured to receive the system residual memory sent by the first obtaining unit 401, and if the system residual memory is smaller than a first preset memory threshold, call a camera control interface provided by the system to perform configuration, so that the camera operates in a non-zero delay shooting mode.
Further, the configuration unit 402 is further configured to invoke the camera control interface provided by the system to execute configuration if the remaining memory of the system is greater than or equal to the first preset memory threshold, so that the camera operates in a zero-latency photographing mode. The configuration unit 402 sends the photographing mode of the camera to the photographing unit 403.
The photographing unit 403 is configured to receive the photographing mode of the camera sent by the configuration unit 402, and control the camera to photograph according to the configured photographing mode in response to a photographing instruction triggered by a user.
The second acquiring unit 404 is used for acquiring the maximum photographing resolution configured by the system. The second acquisition unit 404 transmits the maximum photographing resolution configured by the system to the setting unit 405.
The setting unit 405 is configured to receive the system residual memory sent by the first obtaining unit 401 and the maximum photographing resolution configured by the system sent by the second obtaining unit 404, where the system residual memory is smaller than a second preset memory threshold, at least one first photographing resolution is set for a user to select, the first photographing resolution is smaller than the maximum photographing resolution, and the second preset memory threshold is smaller than the first preset memory threshold. The setting unit 405 transmits the first photographing resolution to the photographing unit 403.
The photographing unit 403 is further configured to receive the first photographing resolution sent by the setting unit 405, respond to a photographing instruction triggered by a user, and control the camera to photograph according to the configured photographing mode and the first photographing resolution selected by the user.
According to the scheme, the terminal acquires the residual memory of the system after the camera is started; if the residual memory of the system is smaller than a first preset memory threshold value, calling a camera control interface provided by the system to execute configuration, and enabling the camera to work in a non-zero delay photographing mode; and responding to a photographing instruction triggered by a user, and controlling the camera to photograph according to the configured photographing mode. When the system memory is insufficient, the terminal controls the camera to work in a photographing mode with low memory occupancy rate, and the phenomena of dead halt or restart and the like caused by insufficient memory are avoided.
When the memory of the terminal is sufficient, the camera is controlled to work in a zero-delay photographing mode, and the photographing experience of a user can be improved.
Referring to fig. 5, fig. 5 is a schematic block diagram of a terminal according to still another embodiment of the present invention. The terminal 500 in the present embodiment shown in fig. 5 may include: one or more processors 501, one or more input devices 502, one or more output devices 503, and one or more memories 504. The processor 501, the input device 502, the output device 503 and the memory 504 are all communicated with each other through a communication bus 505.
The memory 504 is used to store program instructions.
The processor 501 is configured to perform the following operations according to program instructions stored in the memory 504:
the processor 501 obtains the remaining memory of the system after the camera is started.
The processor 501 is further configured to call a camera control interface provided by the system to execute configuration if the remaining memory of the system is smaller than a first preset memory threshold, so that the camera operates in a non-zero delay shooting mode.
The processor 501 is further configured to respond to a photographing instruction triggered by a user, and control the camera to photograph according to the configured photographing mode.
The processor 501 is further configured to call the camera control interface provided by the system to execute configuration if the remaining memory of the system is greater than or equal to the first preset memory threshold, so that the camera operates in a zero-latency photographing mode.
The processor 501 is also configured to obtain the maximum photographing resolution configured by the system.
The processor 501 is further configured to set at least one first photographing resolution for a user to select if the remaining memory of the system is smaller than a second preset memory threshold, where the first photographing resolution is smaller than the maximum photographing resolution, and the second preset memory threshold is smaller than the first preset memory threshold.
The processor 501 is specifically configured to respond to a photographing instruction triggered by a user, and control the camera to photograph according to the configured photographing mode and the first photographing resolution selected by the user.
The processor 501 is specifically configured to obtain the remaining system memory according to a preset time interval after the camera is started, or obtain the remaining system memory in real time after the camera is started.
The processor 501 is further configured to respond to the mode switching instruction triggered by the user, and invoke the camera control interface provided by the system to perform configuration, so that the camera operates in the non-zero-delay photographing mode.
According to the scheme, the terminal acquires the residual memory of the system after the camera is started; if the residual memory of the system is smaller than a first preset memory threshold value, calling a camera control interface provided by the system to execute configuration, and enabling the camera to work in a non-zero delay photographing mode; and responding to a photographing instruction triggered by a user, and controlling the camera to photograph according to the configured photographing mode. When the system memory is insufficient, the terminal controls the camera to work in a photographing mode with low memory occupancy rate, and the phenomena of dead halt or restart and the like caused by insufficient memory are avoided.
When the memory of the terminal is sufficient, the camera is controlled to work in a zero-delay photographing mode, and the photographing experience of a user can be improved.
It should be understood that, in the embodiment of the present invention, the Processor 501 may be a Central Processing Unit (CPU), and the Processor may also be other general processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The input device 502 may include a touch pad, a fingerprint sensor (for collecting fingerprint information of a user and direction information of the fingerprint), a camera, a microphone, etc., and the output device 503 may include a display (LCD, etc.), a speaker, etc.
The memory 505 may include both read-only memory and random access memory and provides instructions and data to the processor 501. A portion of memory 505 may also include non-volatile random access memory. For example, memory 505 may also store information of the device type.
In a specific implementation, the processor 501, the input device 502, and the output device 503 described in this embodiment of the present invention may execute the implementation manners described in the first embodiment and the second embodiment of the photographing method provided in this embodiment of the present invention, and may also execute the implementation manner of the terminal described in this embodiment of the present invention, which is not described herein again.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the terminal and the unit described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed terminal and method can be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may also be an electric, mechanical or other form of connection.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs.
The units in the terminal of the embodiment of the invention can be merged, divided and deleted according to actual needs.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one unit, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention essentially or partially contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A method of taking a picture, comprising:
acquiring the residual memory of the system after the camera is started;
if the residual memory of the system is smaller than a first preset memory threshold value, calling a camera control interface provided by the system to execute configuration, and enabling the camera to work in a non-zero delay photographing mode;
and responding to a photographing instruction triggered by a user, and controlling the camera to photograph according to the configured photographing mode.
2. The photographing method of claim 1, wherein before controlling the camera to photograph according to the configured photographing mode in response to a photographing instruction triggered by a user, the photographing method further comprises:
and if the residual memory of the system is greater than or equal to the first preset memory threshold value, calling the camera control interface provided by the system to execute configuration, so that the camera works in a zero-delay photographing mode.
3. The photographing method of claim 1, wherein before controlling the camera to photograph according to the configured photographing mode in response to a photographing instruction triggered by a user, the photographing method further comprises:
acquiring the maximum photographing resolution configured by the system;
if the residual memory of the system is smaller than a second preset memory threshold value, setting at least one first photographing resolution for a user to select, wherein the first photographing resolution is smaller than the maximum photographing resolution, and the second preset memory threshold value is smaller than the first preset memory threshold value;
the step of controlling the camera to take pictures according to the configured picture taking mode in response to the picture taking instruction triggered by the user comprises the following steps:
and responding to a photographing instruction triggered by a user, and controlling the camera to photograph according to the configured photographing mode and the first photographing resolution selected by the user.
4. The method of claim 1, wherein the acquiring the remaining memory of the system after the camera is started comprises:
after the camera is started, acquiring the residual memory of the system according to a preset time interval; or,
and after the camera is started, acquiring the residual memory of the system in real time.
5. The method of claim 2, wherein if the remaining memory of the system is greater than or equal to the first preset memory threshold, the method further comprises, after invoking the camera control interface provided by the system to perform configuration, and making the camera operate in a zero-latency photographing mode, and before controlling the camera to photograph according to the configured photographing mode in response to a photographing instruction triggered by a user, the method further comprising:
and responding to the mode switching instruction triggered by the user, calling the camera control interface provided by the system to execute configuration, and enabling the camera to work in the non-zero delay photographing mode.
6. A terminal, comprising:
the first acquisition unit is used for acquiring the residual memory of the system after the camera is started;
the configuration unit is used for calling a camera control interface provided by the system to execute configuration if the residual memory of the system is smaller than a first preset memory threshold value, so that the camera works in a non-zero delay photographing mode;
and the photographing unit is used for responding to a photographing instruction triggered by a user and controlling the camera to photograph according to the configured photographing mode.
7. The terminal according to claim 6, wherein the configuration unit is further configured to invoke the camera control interface provided by the system to perform configuration if the remaining memory of the system is greater than or equal to the first preset memory threshold, so that the camera operates in a zero-latency photographing mode.
8. The terminal of claim 6, further comprising:
the second acquisition unit is used for acquiring the maximum photographing resolution configured by the system;
the setting unit is used for setting at least one first photographing resolution for a user to select if the residual memory of the system is smaller than a second preset memory threshold value, wherein the first photographing resolution is smaller than the maximum photographing resolution, and the second preset memory threshold value is smaller than the first preset memory threshold value;
the photographing unit is specifically configured to respond to a photographing instruction triggered by a user and control the camera to photograph according to the configured photographing mode and the first photographing resolution selected by the user.
9. The terminal according to claim 6, wherein the first obtaining unit is specifically configured to obtain the remaining system memory according to a preset time interval after the camera is started; or the first obtaining unit is specifically configured to obtain the remaining memory of the system in real time after the camera is started.
10. The terminal of claim 7, wherein the configuration unit is further configured to invoke the camera control interface provided by the system to perform configuration in response to the mode switching instruction triggered by the user, so that the camera operates in the non-zero-latency photographing mode.
CN201710292520.8A 2017-04-28 2017-04-28 A kind of photographic method and terminal Pending CN107071284A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710292520.8A CN107071284A (en) 2017-04-28 2017-04-28 A kind of photographic method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710292520.8A CN107071284A (en) 2017-04-28 2017-04-28 A kind of photographic method and terminal

Publications (1)

Publication Number Publication Date
CN107071284A true CN107071284A (en) 2017-08-18

Family

ID=59603524

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710292520.8A Pending CN107071284A (en) 2017-04-28 2017-04-28 A kind of photographic method and terminal

Country Status (1)

Country Link
CN (1) CN107071284A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108289172A (en) * 2018-01-20 2018-07-17 深圳天珑无线科技有限公司 Adjust the method, device and mobile terminal of shooting correlation function
CN110266948A (en) * 2019-06-25 2019-09-20 珠海格力电器股份有限公司 method for adjusting photographing preview effect of mobile terminal and mobile terminal
CN113360179A (en) * 2021-06-24 2021-09-07 平安普惠企业管理有限公司 Camera API adaptation method, device, equipment and medium based on Android system
CN114979453A (en) * 2021-02-20 2022-08-30 Oppo广东移动通信有限公司 Shooting method and device and electronic equipment
CN116347229A (en) * 2022-12-21 2023-06-27 荣耀终端有限公司 Image shooting method and electronic equipment
CN117135447A (en) * 2023-01-31 2023-11-28 荣耀终端有限公司 Photographing processing method and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141569A (en) * 2006-09-04 2008-03-12 佛山普立华科技有限公司 Method of performing pick-up image through fast switching combination of different pick-up parameters
CN101287057A (en) * 2008-05-16 2008-10-15 无敌科技(西安)有限公司 Buffer saving image decompressing storing method and module thereof
US20120086815A1 (en) * 2010-10-06 2012-04-12 Microsoft Corporation Rapidly initializing and dynamically adjusting media streams
CN104133649A (en) * 2014-07-24 2014-11-05 可牛网络技术(北京)有限公司 Picture display method, device and terminal
CN105323484A (en) * 2015-10-29 2016-02-10 惠州Tcl移动通信有限公司 Rapidly photographing method and electronic device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141569A (en) * 2006-09-04 2008-03-12 佛山普立华科技有限公司 Method of performing pick-up image through fast switching combination of different pick-up parameters
CN101287057A (en) * 2008-05-16 2008-10-15 无敌科技(西安)有限公司 Buffer saving image decompressing storing method and module thereof
US20120086815A1 (en) * 2010-10-06 2012-04-12 Microsoft Corporation Rapidly initializing and dynamically adjusting media streams
CN104133649A (en) * 2014-07-24 2014-11-05 可牛网络技术(北京)有限公司 Picture display method, device and terminal
CN105323484A (en) * 2015-10-29 2016-02-10 惠州Tcl移动通信有限公司 Rapidly photographing method and electronic device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108289172A (en) * 2018-01-20 2018-07-17 深圳天珑无线科技有限公司 Adjust the method, device and mobile terminal of shooting correlation function
CN110266948A (en) * 2019-06-25 2019-09-20 珠海格力电器股份有限公司 method for adjusting photographing preview effect of mobile terminal and mobile terminal
CN114979453A (en) * 2021-02-20 2022-08-30 Oppo广东移动通信有限公司 Shooting method and device and electronic equipment
CN113360179A (en) * 2021-06-24 2021-09-07 平安普惠企业管理有限公司 Camera API adaptation method, device, equipment and medium based on Android system
CN116347229A (en) * 2022-12-21 2023-06-27 荣耀终端有限公司 Image shooting method and electronic equipment
CN116347229B (en) * 2022-12-21 2024-03-15 荣耀终端有限公司 Image shooting method and electronic equipment
CN117135447A (en) * 2023-01-31 2023-11-28 荣耀终端有限公司 Photographing processing method and electronic equipment
CN117135447B (en) * 2023-01-31 2024-07-09 荣耀终端有限公司 Photographing processing method and electronic equipment

Similar Documents

Publication Publication Date Title
CN107071284A (en) A kind of photographic method and terminal
CN107172345B (en) Image processing method and terminal
EP3129871B1 (en) Generating a screenshot
EP4099145A1 (en) Content sharing method and apparatus, and terminal and storage medium
CN111163345B (en) Image rendering method and device
CN107925749B (en) Method and apparatus for adjusting resolution of electronic device
US20190073101A1 (en) Method and device for switching pages of applications in a terminal device
WO2019091411A1 (en) Image capturing method, device, terminal, and storage medium
CN107810468B (en) Application program switching method and electronic equipment applying same
EP3015983B1 (en) Method and device for optimizing memory
EP3671627A1 (en) Image processing method and device
KR20230133970A (en) Photography methods, devices and electronics
CN107346332A (en) A kind of image processing method and mobile terminal
WO2019047183A1 (en) Key display method, apparatus, and terminal
CN115576645B (en) Virtual processor scheduling method and device, storage medium and electronic equipment
WO2019047187A1 (en) Navigation bar control method and device
CN108156368A (en) A kind of image processing method, terminal and computer readable storage medium
CN110166696B (en) Photographing method, photographing device, terminal equipment and computer-readable storage medium
CN106775351B (en) Information processing method and device and electronic equipment
CN111966410A (en) Startup processing method and device, electronic equipment and storage medium
CN105760226B (en) A kind of method, device and mobile terminal of quick start mobile terminal camera
WO2019091487A1 (en) Image photographing method and device, terminal, and storage medium
CN111444909A (en) Image data acquisition method, terminal device and medium
WO2018076710A1 (en) Method and device for smart photographing and storage medium
CN107943578A (en) A kind of memory release method, terminal device and computer-readable medium

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
AD01 Patent right deemed abandoned

Effective date of abandoning: 20200922

AD01 Patent right deemed abandoned