Embodiment
Fig. 2 is the process flow diagram of terminal video stream processing method embodiment according to the invention, and is as shown in the figure, comprises the steps:
After step 110, terminal get into exposal model, form video flowing by the camera picked-up realtime graphic at this terminal.
Particularly, the user can make the terminal get into exposal model through the icon of taking pictures of the demonstration on take pictures trigger button or the operation interface on the terminal, and under exposal model, the camera at terminal picked-up realtime graphic forms video flowing.
Step 120, said terminal show said video flowing and a plurality of control of taking pictures in touch display screen.
Particularly, as shown in Figure 3, comprising: step 121, said terminal show said video flowing and mode switch button 10 in touch display screen, shown in Fig. 4 A, with two said video flowings of humanoid expression; Step 122; Thereby, said terminal is touched when getting into editor's attitude when detecting said mode switch button 10; In said touch display screen, show the control container 20 that includes said a plurality of controls of taking pictures; Shown in Fig. 4 B, mode switch button 10 is shown as colluding figure under editor's attitude, includes a plurality of controls 21~23 of taking pictures in the said control container 20.
Wherein, the said control of taking pictures is meant the program code that adopts little (widget) technique construction, to realize taking pictures accordingly control function.Need to prove that here though only shown three controls 21~23 of taking pictures among Fig. 4 B, present embodiment is not attempted the number of the control of taking pictures in the control container 20 is limited, and can carry out respective design as required.
Step 130, the said control of taking pictures that the user is selected at said terminal is presented at as the activation control and is used in the said touch display screen show in the zone of said video flowing.
Specifically comprise: step 131; After said terminal detects the control of taking pictures in the said control container and is touched; The control of taking pictures that is touched is presented at beyond the said control container as activating control, for example, shown in Fig. 4 C; After the control 22 of taking pictures is touched by the user, be presented at beyond the control container 20, become and activate control 22; Step 132, the drag operation that carry out said activation control according to the user at said terminal will activate control and be presented at the position that is dragged in the said zone, and for example, shown in Fig. 4 D, the user will activate control 22 and drag to the top from the middle part of touch display screen.
In addition, under editor's attitude, when the user touches or drag one when taking pictures control, can increase mutual animation effect for this control of taking pictures, for example water wave animation etc. so that have high-quality and personalized interactive experience, for example has the experience of recreationization immersion.
Step 140, said terminal is according to the operation real-time regulated said video flowing of said user to said activation control.
Specifically comprise: step 141, thus when detecting said mode switch button in said editor's attitude, said terminal is touched when getting into run mode, hide said control container; For example; Shown in Fig. 4 E, the user makes the terminal get into run mode from editor's attitude through touch mode switching key 10, and the touch mode switching key 10 of this moment is shown as the cross figure under run mode; Control container 20 is hidden, and activation control 22 is presented at is used to show in the zone of said video flowing in the touch display screen; Step 142, in said run mode, said terminal is according to the operation real-time regulated said video flowing of said user to said activation control.Particularly, according to the difference of function, this activates control can be dissimilar controls, is exemplified below:
1, shutter control
The set of having gathered the related all functions of the shutter of taking pictures, as: click the shutter of taking pictures, regularly take pictures shutter, acoustic control take pictures shutter, anti-ly tremble the shutter of taking pictures, focus on the automatic camera shutter, connect and clap shutter etc.
2, level meter control
The horizontal information that when taking pictures realtime graphic, shows the physical entity at this terminal to the user.
3, exposure/zoom control
Exposure and these two the most frequently used functions of Digital Zoom are provided, and the regulative mode of gear emulated versions is provided.
4, histogram preview control
The histogram information of real-time camera preview picture is refined displaying, adjust in real time in the moment of taking pictures with auxiliary advanced level user.
5, the grid control of finding a view
Inherit custom, based on the take pictures purpose of composition and horizontal vertical horizontal adjustment reference of live view grid with the traditional photography user.
6, real-time geographic position indicating control
Based on the real-time satellite locating information of taking pictures, carry out current shooting readable geographical location information prompting constantly; Based on this geographical location information, also can point out the information of surrounding enviroment, as: weather, sun set/raise time, benchmark index, knowledge base association etc.
7, exposal model toggle control
Wherein, Exposal model is meant one group of controlled variable of taking pictures setting according to the concrete scene of taking pictures; Make the user can be through just can a key realize the taking pictures setting of controlled variable of a little exposal models, these exposal models for example comprise: cuisines pattern, landscape configuration, type mode, backlight mode, night scene mode, portrait mode of figure, sandy beach pattern, snowfield pattern and automatic mode etc.
8, advance rank image adjustment control
This control is regulated in order to the camera emulation of realization various dimensions, as: saturation degree (Saturation) adjusting, contrast (Contrast) adjusting, brightness (Brightness) adjusting and colour temperature (Temp.) adjusting etc.
Particularly, the above-mentioned operation that video flowing is carried out real-time regulated can be accomplished by the GPU at terminal.Wherein, GPU (Graphic Processing Unit, be called for short: GPU) can share the operating load of CPU, to improve the speed of regulating, make video flowing can be along with the adjusting process real-time change, realize the regulating effect of What You See Is What You Get.These adjustings can comprise based on the curve adjustment of RGB look-up table, the adjusting of many filtering special efficacy and/or the adjusting of masking-out special efficacy etc.
After this, when said terminal detects shutter control in said a plurality of control of taking pictures and is touched, form photo according to said video flowing.Particularly, from said video flowing, obtain a frame or multiple image and form photo, thereby accomplish the operation of taking pictures.When the user no longer need use the activation control; Touch mode switching key once more; Thereby, said terminal is touched when getting into editor's attitude when detecting said mode switch button in said run mode; Show said control container, for example become the state shown in Fig. 4 D from the state shown in Fig. 4 E; Control take pictures accordingly when being touched when said terminal detects in the said control container with said activation control, and the said activation control that will be positioned at beyond the said control container is hidden, and for example becomes the state shown in Fig. 4 B from the state shown in Fig. 4 D.
The said method of present embodiment has realized the control function of taking pictures through the control mode; Make the user can change the display position of control in touch display screen of taking pictures as required arbitrarily; Thereby the user friendly operation of taking pictures, and satisfy the personalized design demand of user to operation interface.
In addition,, make the terminal also can have the senior regulatory function that equals to digital camera, help the user to take high-caliber photo through the preset control of taking pictures with the various control function of taking pictures.
Fig. 5 is the structural representation of the video flow processing module embodiment at terminal according to the invention; In order to realize said method; Comprising: image capture unit 10, indicative control unit 20 and video adjusting unit 30; Thick vertical line among the figure representes that bus connects, and adopts other connected modes of the prior art also to be fine.The principle of work of this video flow processing module is following:
After the terminal got into exposal model, the camera picked-up realtime graphic of being controlled said terminal by image capture unit 10 formed video flowing; In the touch display screen at said terminal, show said video flowing and a plurality of control of taking pictures by indicative control unit 20 then, and the said control of taking pictures that the user selects is presented at the relevant position of being set by said user in the said touch display screen as activating control.
Particularly, as shown in Figure 6, in the touch display screen at said terminal, show said video flowing by first subelement 21 earlier, and by second subelement 22 display mode switching key in the touch display screen at said terminal; Thereby be touched when making said terminal get into editor's attitude when detecting said mode switch button, in said touch display screen, show the control container that includes said a plurality of controls of taking pictures by the said terminal of the 3rd subelement 23 controls; After the control of taking pictures in detecting said control container was touched, the control of taking pictures that will be touched by the 4th subelement 24 was presented at beyond the said control container as activating control; After this drag operation of said activation control being carried out according to the user by the 5th subelement 25 will activate control and be presented at the position that said zone is dragged to.Specifically for example can be referring to above-mentioned Fig. 4 A~4D and related description.
After this, by video adjusting unit 30 according to the operation real-time regulated said video flowing of said user to said activation control.Particularly; Shown in Fig. 4 E; When thereby being touched the entering run mode, hides said mode switch button said control container by said the 3rd subelement 23 when in said editor's attitude, detecting earlier; Then in said run mode, again by video adjusting unit 30 according to the operation real-time regulated said video flowing of said user to said activation control.Wherein, said video adjusting unit 30 can be specially the GPU that is arranged in the said terminal, with the operating load of the CPU that shares the terminal; This activates can repeating no more referring to said method embodiment for example of control here.
Alternatively, this video flow processing module can also further be provided with photo generation unit 40, when photo generation unit 40 detects shutter control in said a plurality of control of taking pictures and is touched, forms photo according to said video flowing.Particularly, from said video flowing, obtain a frame or multiple image and form photo, thereby accomplish the operation of taking pictures.When the user no longer need use when activating control, touch mode switching key once more, thus when detecting said mode switch button in said run mode, the 3rd subelement 23 is touched when getting into editor's attitude, show said control container; Control take pictures accordingly when being touched when the 4th subelement 24 detects in the said control container with said activation control, and the said activation control that will be positioned at beyond the said control container is hidden.Specifically for example can be referring to Fig. 4 B~4E.
The video flow processing module at the said terminal of present embodiment has realized the control function of taking pictures through the control mode; Make the user can change the display position of control in touch display screen of taking pictures as required arbitrarily; Thereby the user friendly operation of taking pictures, and satisfy the personalized design demand of user to operation interface.In addition,, make the terminal also can have the senior regulatory function that equals to digital camera, help the user to take high-caliber photo through the preset control of taking pictures with the various control function of taking pictures.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be accomplished through the relevant hardware of programmed instruction; Aforesaid program can be stored in the computer read/write memory medium; This program the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
What should explain at last is: above embodiment is only in order to explaining technical scheme of the present invention, but not to its restriction; Although with reference to previous embodiment the present invention has been carried out detailed explanation, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these are revised or replacement, do not make the spirit and the scope of the essence disengaging various embodiments of the present invention technical scheme of relevant art scheme.