Embodiment
The process flow diagram that Fig. 2 is terminal video stream processing method embodiment of the present invention, as shown in the figure, comprise the steps:
Step 110, after terminal enters exposal model, form video flowing by the camera of this terminal picked-up realtime graphic.
Particularly, the user can make terminal enter exposal model by the icon of taking pictures of the demonstration on take pictures trigger button or operation interface on terminal, and under exposal model, the camera of terminal picked-up realtime graphic forms video flowing.
Step 120, described terminal shows described video flowing and a plurality of control of taking pictures in touch display screen.
Particularly, as shown in Figure 3, comprising: step 121, described terminal shows described video flowing and pattern switching key 10 in touch display screen, as shown in Figure 4 A, with two described video flowings of humanoid expression; Step 122, thereby be touched and enter editor during state when described terminal detects described pattern switching key 10, show the control container 20 that includes described a plurality of controls of taking pictures in described touch display screen, as shown in Figure 4 B, pattern switching key 10 is shown as hooking figure under editor's state, includes a plurality of controls 21~23 of taking pictures in described control container 20.
Wherein, the described control of taking pictures refers to the program code that adopts micro-(widget) technique construction, to realize the control function of taking pictures accordingly.It should be noted that, although only shown three controls 21~23 of taking pictures in Fig. 4 B, the present embodiment is not attempted the number of the control of taking pictures in control container 20 is limited, and can carry out as required respective design herein.
Step 130, the described control of taking pictures that described terminal is selected the user is presented in described touch display screen in the zone that shows described video flowing as activating control.
Specifically comprise: step 131, after described terminal detects the control of taking pictures in described control container and is touched, take pictures control beyond the activation control is presented at described control container using what be touched, for example, as shown in Figure 4 C, be presented at after the control 22 of taking pictures is touched by the user beyond control container 20, become and activate control 22; Step 132, the drag operation that described terminal is carried out described activation control according to the user is presented at by this activation control the position be dragged in described zone, and for example, as shown in Figure 4 D, the user will activate control 22 and drag to top from the middle part of touch display screen.
In addition, under editor's state, when the user touches or drag one while taking pictures control, can increase mutual animation effect for this control of taking pictures, such as the water wave animation etc., in order to there is high-quality and personalized interactive experience, for example there is the experience of gameization immersion.
Step 140, described terminal is regulated described video flowing according to described user in real time to the operation of described activation control.
Specifically comprise: step 141, thereby described pattern switching key detected in described editor's state is touched while entering run mode when described terminal, hide described control container, for example, as shown in Figure 4 E, the user makes terminal enter run mode from editor's state by touch mode switching key 10, and touch mode switching key 10 now is shown as the cross figure under run mode, control container 20 is hidden, and makes to activate control 22 and is presented in touch display screen in the zone that shows described video flowing; Step 142, in described run mode, described terminal is regulated described video flowing according to described user in real time to the operation of described activation control.Particularly, according to the difference of function, this activates control can be dissimilar control, is exemplified below:
1, shutter control
The set of having gathered the related all functions of space shooting shutter, as: click space shooting shutter, regularly space shooting shutter, acoustic control space shooting shutter, anti-shake space shooting shutter, focusing automatic camera shutter, continuous shooting shutter etc.
2, level meter control
Show the horizontal information of the physical entity of this terminal to the user when taking pictures realtime graphic.
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 to displaying, adjust in real time in the moment of taking pictures to assist advanced level user.
5, the Net Lattice Controls of finding a view
Inherit and the traditional photography user habit, based on the taken pictures purpose of composition and the reference of transverse and longitudinal horizontal adjustment of live view grid.
6, real-time geographic position indicating control
Real-time satellite locating information based on 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 refers to one group of control parameter of taking pictures setting according to the concrete scene of taking pictures, make the user can by a little exposal models just can one key realize taking pictures and control the setting of parameter, these exposal models are such as comprising: cuisines pattern, landscape configuration, type mode, backlight mode, night scene mode, portrait mode of figure, sandy beach pattern, snow field mode and automatic mode etc.
8, advanced image adjustment control
This control is regulated in order to the camera emulation that realizes 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 regulating in real time can be completed by the Graphics Processing Unit of terminal.Wherein, Graphics Processing Unit (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 curve adjustment, the adjusting of many filtering special efficacy and/or the adjusting of masking-out special efficacy etc. based on the RGB look-up table.
After this, when described terminal detects shutter control in described a plurality of control of taking pictures and is touched, according to described video flowing, form photo.Particularly, obtain a frame or multiple image and form photo from described video flowing, thereby complete the operation of taking pictures.When the user no longer needs to use the activation control, touch mode switching key again, thereby described pattern switching key detected in described run mode is touched while entering editor's state when described terminal, show described control container, for example from the state shown in Fig. 4 E, become the state shown in Fig. 4 D; Take pictures control accordingly while being touched when described terminal detects in described control container with described activation control, and the described activation control that will be positioned at beyond described control container is hidden, and for example from the state shown in Fig. 4 D, becomes the state shown in Fig. 4 B.
The described method of the present embodiment is by the control mode control function that realized taking pictures, make the user can change arbitrarily as required the display position of control in touch display screen of taking pictures, thereby the user friendly operation of taking pictures, and meet the personalized design demand of user to operation interface.
In addition, by the default control of taking pictures with the various control functions of taking pictures, make terminal also can there is the senior regulatory function that equals to digital camera, contribute to the user to take high-caliber photo.
The structural representation of the video flow processing module embodiment that Fig. 5 is terminal of the present invention, in order to realize said method, comprising: image capture unit 10, indicative control unit 20 and video regulon 30, thick vertical line in figure means 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 as follows:
After terminal enters exposal model, the camera picked-up realtime graphic of being controlled described terminal by image capture unit 10 forms video flowing; Then shown described video flowing and a plurality of control of taking pictures by indicative control unit 20, and the described control of taking pictures that the user is selected is presented at as activating control the relevant position of being set by described user in described touch display screen in the touch display screen of described terminal.
Particularly, as shown in Figure 6, first shown described video flowing by the first subelement 21 in the touch display screen of described terminal, and by the second subelement 22 display mode switching key in the touch display screen of described terminal; Thereby be touched and make described terminal enter editor during state when described pattern switching key being detected, control described terminal by the 3rd subelement 23 and show the control container that includes described a plurality of controls of taking pictures in described touch display screen; After the control of taking pictures in described control container being detected is touched, the control of taking pictures that will be touched by the 4th subelement 24 is presented at beyond described control container as activating control; After this drag operation of described activation control being carried out according to the user by the 5th subelement 25 is presented at by this activation control the position that described zone is dragged to.Concrete example can be referring to above-mentioned Fig. 4 A~4D and related description.
After this, according to described user, the operation of described activation control is regulated in real time to described video flowing by video regulon 30.Particularly, as shown in Figure 4 E, first by described the 3rd subelement 23 when thereby the described pattern switching key hiding described control container while entering run mode that is touched detected in described editor's state, then in described run mode, then according to described user, the operation of described activation control is regulated in real time to described video flowing by video regulon 30.Wherein, described video regulon 30 can be specially the GPU be arranged in described terminal, with the operating load of the CPU that shares terminal; This activates can, referring to said method embodiment, repeating no more for example of control herein.
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 described a plurality of control of taking pictures and is touched, according to described video flowing, forms photo.Particularly, obtain a frame or multiple image and form photo from described video flowing, thereby complete the operation of taking pictures.When the user no longer needs use to activate control, touch mode switching key again, thus when detecting described pattern switching key in described run mode, the 3rd subelement 23 is touched while entering editor's state, show described control container; Take pictures control accordingly while being touched when the 4th subelement 24 detects in described control container with described activation control, and the described activation control that will be positioned at beyond described control container is hidden.Concrete example can be referring to Fig. 4 B~4E.
The video flow processing module of the described terminal of the present embodiment is by the control mode control function that realized taking pictures, make the user can change arbitrarily as required the display position of control in touch display screen of taking pictures, thereby the user friendly operation of taking pictures, and meet the personalized design demand of user to operation interface.In addition, by the default control of taking pictures with the various control functions of taking pictures, make terminal also can there is the senior regulatory function that equals to digital camera, contribute to the user to take high-caliber photo.
One of ordinary skill in the art will appreciate that: realize that the hardware that all or part of step of said method embodiment can be relevant by programmed instruction completes, aforesaid program can be stored in a computer read/write memory medium, this program, when carrying out, is carried out the step that comprises said method embodiment; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CDs.
Finally it should be noted that: above embodiment only, in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment, the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: its technical scheme that still can put down in writing aforementioned each embodiment is modified, or part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of various embodiments of the present invention technical scheme.