CN103853482A - Method and device for video zooming - Google Patents

Method and device for video zooming Download PDF

Info

Publication number
CN103853482A
CN103853482A CN201210520242.4A CN201210520242A CN103853482A CN 103853482 A CN103853482 A CN 103853482A CN 201210520242 A CN201210520242 A CN 201210520242A CN 103853482 A CN103853482 A CN 103853482A
Authority
CN
China
Prior art keywords
video
point
contact point
size
contact
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201210520242.4A
Other languages
Chinese (zh)
Other versions
CN103853482B (en
Inventor
高长磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201210520242.4A priority Critical patent/CN103853482B/en
Publication of CN103853482A publication Critical patent/CN103853482A/en
Application granted granted Critical
Publication of CN103853482B publication Critical patent/CN103853482B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method and a device for video zooming and relates to the field of communication network techniques. The method and the device for video zooming solve the problem that a high-resolution video cannot be zoomed in when the high-resolution video is played in low-resolution mobile communication equipment in the prior art, and also solve the problems that a low-resolution video cannot be zoomed out and the image of the video is obscure when the low-resolution video is played in high-resolution mobile communication equipment. When a first video is displayed, a first operation is received, and a contact point is determined according to the first operation; zooming multiples of the first video are determined according to a received second operation; the first video is zoomed according to the zooming multiples of the first video to obtain a second video; when a second size is greater than a first size, a third video is obtained and displayed according to the contact point, the first size and the second video; when the second size is not greater than the first size, the second video is displayed. The method and the device for video zooming, provided by the embodiment of the invention are applicable to zooming of played videos.

Description

A kind of method of video scaling and device
Technical field
The present invention relates to communication network technology field, relate in particular to a kind of method and device of video scaling.
Background technology
In today of communication technology high speed development, people more and more rely on the use to mobile communication equipment, and for example mobile communication equipment can be mobile phone.Call, receive and dispatch note from initial people with mobile phone, people utilize mobile phone can surf the Net to watch text message and video playback till now.At present, while adopting mobile phone displaying video, mobile phone open video to be played conventionally, and carry out the broadcasting of video with full frame form.
But, while adopting in the prior art mobile phone displaying video, mobile phone can only be play video with full frame fixed form, due to the restriction of the screen resolution of mobile phone, cause play high-resolution video in the mobile phone of low resolution time, can not amplify this video, some details in high-resolution video cannot be shown; Play the video of low resolution in high-resolution mobile phone time, can not dwindle this video, make the video pictures of low resolution fuzzy.Therefore cause video pictures fuzzy when mobile phone displaying video.
Summary of the invention
Embodiments of the invention provide a kind of method and device of video scaling, realized to displaying video carry out part amplify or entirety dwindle, improved the sharpness of displaying video picture.
On the one hand, embodiments of the invention provide a kind of method of video scaling, are applied to terminal, and described terminal possesses touch screen functionality, comprising:
In the time showing the first video, receive the first operation, determine contact point at Video Layer according to described the first operation;
Receive the second operation, determine the convergent-divergent multiple of described the first video according to described the second operation;
According to the convergent-divergent multiple of described the first video, described the first video is carried out to convergent-divergent, obtain the second video;
In the time that the second size is greater than first size, according to described contact point, described first size and described the second video, obtain and show the 3rd video, wherein, described first size is the size of the display screen of described terminal, and described second is of a size of the size of described the second video;
In the time that described the second size is not more than described first size, show described the second video.
In another embodiment of the present invention, in the time that described the first operation comprises a child-operation, described the first operation is for determining the operation of first make contact at described the first video;
In the time that described the first operation comprises two child-operations, described the first operation is for determining the operation of the second contact point and the 3rd contact point at described the first video.
In another embodiment of the present invention, in the time that described contact point is first make contact, described according to the definite contact point of described the first operation, comprising:
According to described the first operation, acquisition user contacts the first area of described terminal;
According to described first area, the central point of determining described first area is described first make contact.
In the time that described contact point is the second contact point and the 3rd contact point, described according to the definite contact point of described the first operation, comprising:
According to described two child-operations, obtain respectively user and contact second area and the 3rd region of described terminal;
According to described second area, the central point of determining described second area is described the second contact point; And according to described the 3rd region, the central point of determining described the 3rd region is described the 3rd contact point.
In another embodiment of the present invention, described reception second operates, and determines the convergent-divergent multiple of described the first video according to described the second operation, comprising:
Receive the second operation;
According to described the second operation, obtain user by described second at least one sliding trace operating;
According to the sliding trace of the maximum length in described at least one sliding trace, determine the air line distance of the two-end-point of the sliding trace of described maximum length;
Determine the convergent-divergent multiple of described the first video according to described air line distance, described air line distance is directly proportional to the convergent-divergent multiple of described the first video.
In another embodiment of the present invention, in the time that described contact point is first make contact, describedly determine that according to described air line distance the convergent-divergent multiple of described the first video comprises:
When described the second starting point being operating as with described sliding trace, while slip away from the direction of described first make contact, determine the enlargement factor of described the first video according to described air line distance;
When described the second starting point being operating as with described sliding trace, while slip near the direction of described first make contact, determine the minification of described the first video according to described air line distance.
In another embodiment of the present invention, when described first make contact determine after, and described second operation carry out time, described first operation remain unchanged.
In another embodiment of the present invention, in the time that described contact point is the second contact point and the 3rd contact point, describedly determine that according to described air line distance the convergent-divergent multiple of described the first video comprises:
When described the second starting point being operating as with the sliding trace of described maximum length, while slip away from the direction of the central point between described the second contact point and the line of described the 3rd contact point formation, determine the enlargement factor of described the first video according to described air line distance;
When described the second starting point being operating as with described sliding trace, while slip near the direction of the central point between described the second contact point and the line of described the 3rd contact point formation, determine the minification of described the first video according to described air line distance.
In another embodiment of the present invention, described in the time that the second size is greater than first size, according to described contact point, described first size and described the second video, obtain and show the 3rd video, comprising:
Determine basic point according to described contact point;
Point centered by described basic point, intercepts described the second video according to described first size, obtains described the 3rd video.
Describedly determine basic point according to described contact point, comprising:
In the time that described contact point is one, determine that described first make contact is basic point; Or,
In the time that described contact point is two, determine that the central point between described the second contact point and the line of described the 3rd contact point formation is basic point.
In another embodiment of the present invention, described method also comprises:
Described Video Layer and figure map overlay are obtained to the first figure layer, described the first figure layer is projected in described display screen, to show described the second video or described the 3rd video in described the first figure layer at described display screen.
On the other hand, embodiments of the invention provide a kind of device of video scaling, and described device possesses touch screen functionality, comprising:
The first determination module, in the time showing the first video, receives the first operation, determines contact point at Video Layer according to described the first operation;
The second determination module, for receiving the second operation, determines the convergent-divergent multiple of described the first video according to described the second operation;
Zoom module, for according to the convergent-divergent multiple of described the first video, described the first video being carried out to convergent-divergent, obtains the second video;
Processing module, for in the time that the second size is greater than first size, according to described contact point, described first size and described the second video, obtain and show the 3rd video, wherein, described first size is the size of the display screen of described terminal, and described second is of a size of the size of described the second video;
And in the time that described the second size is not more than described first size, show described the second video.
In another embodiment of the present invention, in the time that described the first operation comprises a child-operation, described the first operation is for determining the operation of first make contact at described the first video;
In the time that described the first operation comprises two child-operations, described the first operation is for determining the operation of the second contact point and the 3rd contact point at described the first video.
In another embodiment of the present invention, described the first determination module, comprising:
Obtain unit, for according to described the first operation, obtain user and contact the first area of described terminal;
Determining unit, for according to described first area, the central point of determining described first area is described first make contact.
In described the first determination module: described acquisition unit, also for according to described two child-operations, obtains respectively user and contact second area and the 3rd region of described terminal;
Described determining unit, also for according to described second area, the central point of determining described second area is described the second contact point; And according to described the 3rd region, the central point of determining described the 3rd region is described the 3rd contact point.
In another embodiment of the present invention, described the second determination module, comprising:
Receiving element, for receiving the second operation;
Acquiring unit, for according to described the second operation, obtains user by described second at least one sliding trace operating;
Determining unit, for according to the sliding trace of the maximum length of described at least one sliding trace, determines the air line distance of the two-end-point of the sliding trace of described maximum length; And determine the convergent-divergent multiple of described the first video according to described air line distance, described air line distance is directly proportional to the convergent-divergent multiple of described the first video.
In another embodiment of the present invention, described determining unit also for:
When described the second starting point being operating as with described sliding trace, while slip away from the direction of described first make contact, determine the enlargement factor of described the first video according to described air line distance; Or,
When described the second starting point being operating as with described sliding trace, while slip near the direction of described first make contact, determine the minification of described the first video according to described air line distance.
In another embodiment of the present invention, when described first make contact determine after, and described second operation carry out time, described first operation remain unchanged.
In another embodiment of the present invention, described determining unit also for:
When described the second starting point being operating as with the sliding trace of described maximum length, while slip away from the direction of the central point between described the second contact point and the line of described the 3rd contact point formation, determine the enlargement factor of described the first video according to described air line distance; Or,
When described the second starting point being operating as with described sliding trace, while slip near the direction of the central point between described the second contact point and the line of described the 3rd contact point formation, determine the minification of described the first video according to described air line distance.
In another embodiment of the present invention, described processing module, comprising:
Determining unit, for determining basic point according to described contact point;
Obtain unit, for point centered by described basic point, according to described first size, described the second video is intercepted, obtain described the 3rd video.
Described determining unit is used for: in the time that described contact point is one, determine that described first make contact is basic point; Or, in the time that described contact point is two, determine that the central point between described the second contact point and the line of described the 3rd contact point formation is basic point.
In another embodiment of the present invention, described processing module, also comprises:
Display unit, for described Video Layer and figure map overlay are obtained to the first figure layer, is projected in described the first figure layer in described display screen, to show described the second video or described the 3rd video in described the first figure layer at described display screen.
The embodiment of the present invention provides a kind of method and device of video scaling, by the time showing the first video, receives the first operation, determines contact point at Video Layer according to described the first operation; Receive the second operation, determine the convergent-divergent multiple of described the first video according to described the second operation; According to the convergent-divergent multiple of described the first video, described the first video is carried out to convergent-divergent, obtain the second video, wherein, the size of the display screen that described first size is described terminal, described second is of a size of the size of described the second video; In the time that described the second size is greater than described first size, according to described contact point, described first size and described the second video, obtains and show the 3rd video; In the time that described the second size is not more than described first size, show described the second video.The embodiment of the present invention has solved in prior art the restriction due to the screen resolution of mobile communication equipment, while making to play high-resolution video in the mobile communication equipment of low resolution, the problem that can not amplify this video, while having solved the video of playing low resolution in high-resolution mobile communication equipment simultaneously, can not dwindle this video, cause the problem that video pictures is fuzzy, realized to displaying video carry out part amplify or entirety dwindle, improved the sharpness of displaying video picture.
Brief description of the drawings
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
The process flow diagram of the method for a kind of video scaling that Fig. 1 provides for the embodiment of the present invention 1;
The process flow diagram of the method for the another kind of video scaling that Fig. 2 provides for the embodiment of the present invention 1;
The display screen of the terminal that Fig. 3 provides for the embodiment of the present invention 1 shows the schematic diagram of the first video;
A kind of process flow diagram of convergent-divergent multiple of determining the first video that Fig. 4 provides for the embodiment of the present invention 1;
The another kind that Fig. 5 provides for the embodiment of the present invention 1 is determined the process flow diagram of the convergent-divergent multiple of the first video;
The schematic diagram of demonstration the second video that Fig. 6 provides for the embodiment of the present invention 1;
Fig. 7 for the embodiment of the present invention 1 provide in the time that the second size is greater than first size, show the schematic diagram of the 3rd video;
Fig. 8 for the embodiment of the present invention 1 provide in the time that the second size is less than first size, show the schematic diagram of the second video;
Fig. 9 for the embodiment of the present invention 1 provide in the time that the second size equals first size, show the schematic diagram of the second video;
The structural drawing of the device of a kind of video scaling that Figure 10 provides for the embodiment of the present invention 2;
The structural drawing of the device of the another kind of video scaling that Figure 11 provides for the embodiment of the present invention 2.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
Embodiment 1
As shown in Figure 1, the embodiment of the present invention provides a kind of process flow diagram of method of video scaling, and the executive agent of the method is terminal, and this terminal possesses touch screen functionality, and wherein, this terminal can be mobile phone, panel computer etc.The method comprises the following steps:
Step 101, in the time showing the first video, receives the first operation, determines contact point at Video Layer according to the first operation;
Video is that a series of static images are presented as continuous picture by the various technology by adopting electric signal mode to be caught, note down, process, store, transmit and reappear.Continuous image change is per second exceedes 24 frame pictures when above, and according to persistence of vision principle, human eye cannot be distinguished the tableaux of single width, so look it is level and smooth continuous visual effect.
The first operation is for determining contact point, the central point in this contact point region that to be user obtain when contacting display screen, the irregular area that this region can obtain by finger contact terminal for user, the regular domain that also can obtain by equipment contact terminals such as capacitance pens.The first operation can be determined a contact point, or the first operation can be determined two contact points.
Video Layer is for the data of store video.What conventionally show at display screen is the figure layer after Video Layer and figure map overlay.Wherein, figure figure layer is for storing the data of title block, the data of toolbar and the data of frame etc. of control video.
Step 102, receives the second operation, determines the convergent-divergent multiple of the first video according to the second operation;
The second operation is for determining the convergent-divergent multiple of the first video.In the present embodiment, second operates the direction moving according to contact point, and determines the convergent-divergent multiple of the first video according to the air line distance of the two-end-point of at least one sliding trace.
Optionally, when the second operation is with the starting point of this sliding trace, while slip away from the direction of basic point, second is operating as amplifieroperation; When the second operation is with the starting point of this sliding trace, while slip near the direction of basic point, second is operating as reduction operation.
Optionally, when the second operation is with the starting point of the sliding trace of maximum length, while slip away from the direction of the central point between the second contact point and the line of the 3rd contact point formation, second is operating as amplifieroperation; When the second operation is with the starting point of the sliding trace of maximum length, while slip near the direction of the central point between the second contact point and the line of the 3rd contact point formation, second is operating as reduction operation.
Step 103, carries out convergent-divergent according to the convergent-divergent multiple of the first video to the first video, obtains the second video;
In the time that contact point is one, the central point in the region that user obtains when display screen by contact is contact point, the irregular area that this region can obtain by finger contact terminal for user, also can be the regular domain obtaining by equipment contact terminals such as capacitance pens, this contact point be first make contact.The central point in another region that user obtains by contact display screen is in addition the 4th contact point.Wherein, by the continuous movement of the 4th contact point, obtain sliding trace.During taking first make contact as basic point, when user contacts terminal display, and while sliding the 4th contact point with direction away from first make contact, the first video amplifier, obtains the second video; When user contacts terminal display, and to connect near the direction of first make contact while sliding the 4th contact point, the first video dwindles, and obtains the second video.
It should be noted that, in the time sliding the 4th contact point operation, user contacts the invariant position that display screen keeps first make contact all the time.
For example, user pins with finger (as forefinger) region that the first video need to amplify, and the central point in the region of this amplification is first make contact.In the time that another finger (as middle finger) contact terminal display of user obtains the 4th contact point, when user slides the 4th contact point with the direction away from first make contact, the first video amplifies taking first make contact as basic point, obtain the second video, wherein, the second video is to amplify the first video afterwards; In the time that another finger contact terminal display of user obtains the 4th contact point, when user slides the 4th contact point with the direction near contact point, the first video dwindles taking first make contact as basic point, obtains the second video, wherein, the second video is to dwindle the first video afterwards.
In the time that contact point is two, user obtains two regions by contact when display screen, and the central point in two regions is respectively the second contact point and the 3rd contact point here.Wherein, by the continuous movement of the second contact point and the 3rd contact point, obtain two sliding traces respectively.Taking the central point between the second contact point and the line of the 3rd contact point formation as basic point, when user contacts terminal display, and when the second contact point and the 3rd contact point are slided with the direction away from this basic point, the first video amplifier, obtains the second video simultaneously; When user contacts terminal display, and when the second contact point and the 3rd contact point being slided near the direction of this basic point, the first video dwindles, and obtains the second video simultaneously.
For example, user contacts with two fingers (as forefinger and middle finger) region that the first video need to amplify simultaneously, the central point that two fingers contact respectively two irregular areas of the display screen at the first video place is two contact points, the central point in the region that the central point between the line that two contact points form is this amplification.When two fingers of user contact terminal display simultaneously, and while sliding with the direction away from central point, the first video amplifies taking central point as basic point simultaneously, obtains the second video; When two fingers of user contact terminal display simultaneously, and when sliding near the direction of central point, the first video dwindles taking central point as basic point, obtains the second video simultaneously.
Step 104, in the time that the second size is greater than first size, according to contact point, first size and the second video, obtains and shows the 3rd video, wherein, the size of the display screen that first size is terminal, second is of a size of the size of the second video;
In the time that the second size is greater than first size, illustrate that the second video is to amplify the first video afterwards.Point centered by basic point, intercepts the second video by first size, thereby obtains the 3rd video.Wherein, first size and the second size are length and are multiplied by wide rectangle, and unit is pixel.
In the time that contact point is one, determine that first make contact is basic point; Or,
In the time that contact point is two, determine that the central point between the second contact point and the line of the 3rd contact point formation is basic point.
For example, user amplifies the first video, what on Video Layer, show is the second video, what on the display screen of this terminal, show is point centered by basic point, thereby by first size, the second video is intercepted the 3rd video obtaining, what on the display screen of terminal, show is the part of the second video.
Step 105, in the time that the second size is not more than first size, shows the second video.
In the time that the second size is not more than first size, illustrate that the second video is to dwindle the first video afterwards.On the display screen of terminal, directly show the second video, on the display screen of terminal, show the first video after dwindling.
For example, in the time that the second size is less than first size, due to the first video of high-resolution terminal plays low resolution, may cause the first video playback fuzzy, user can be by dwindling the first video, thereby can watch the first video clearly.Or, in the time that the second size equals first size, illustrate that user reduces the first video after amplifying, after reduction, user can watch the full content of the first video.
It should be noted that, step 104 and step 105 are relations arranged side by side, and both can not carry out simultaneously.In accompanying drawing 1, with empty wire frame representation step 105, or also can be with empty wire frame representation step 104, wherein this step of empty wire frame representation is optional step, can certainly otherwise represent optional relation, the embodiment of the present invention is not carried out the mode of the optional relation of restricted representation.
The embodiment of the present invention provides a kind of method of video scaling, by the time showing the first video, receives the first operation, determines contact point at Video Layer according to described the first operation; Receive the second operation, determine the convergent-divergent multiple of described the first video according to described the second operation; According to the convergent-divergent multiple of described the first video, described the first video is carried out to convergent-divergent, obtain the second video, wherein, the size of the display screen that described first size is described terminal, described second is of a size of the size of described the second video; In the time that described the second size is greater than described first size, according to described contact point, described first size and described the second video, obtains and show the 3rd video; In the time that described the second size is not more than described first size, show described the second video.The embodiment of the present invention has solved in prior art the restriction due to the screen resolution of mobile communication equipment, while making to play high-resolution video in the mobile communication equipment of low resolution, the problem that can not amplify this video, while having solved the video of playing low resolution in high-resolution mobile communication equipment simultaneously, can not dwindle this video, cause the problem that video pictures is fuzzy, realized to displaying video carry out part amplify or entirety dwindle, improved the sharpness of displaying video picture.
As shown in Figure 2, the embodiment of the present invention provides the process flow diagram of the method for another kind of video scaling, and the executive agent of the method is terminal, and this terminal possesses touch screen functionality, and wherein, this terminal can be mobile phone, panel computer etc.The method comprises the following steps:
Step 201, in the time showing the first video, terminal receives the first operation, determines the contact point of default number on Video Layer according to the first operation;
Video Layer is for the data of store video.What conventionally show at display screen is the figure layer after Video Layer and figure map overlay.Wherein, figure figure layer is for storing the data of title block, the data of toolbar and the data of frame etc. of control video.
The first operation is for determining contact point, and in the time that the first operation comprises a child-operation, the first operation is for determining the operation of first make contact at the first video; In the time that the first operation comprises two child-operations, the first operation is for determining the operation of the second contact point and the 3rd contact point at the first video.
In the time that contact point is first make contact, contact terminal according to the first operation by user and obtain first area, then according to first area, the central point of determining first area is first make contact.The irregular area that first area can obtain by finger contact terminal for user, the regular domain that also can obtain by equipment contact terminals such as capacitance pens.
In the time that contact point is the second contact point and the 3rd contact point, determine contact point according to the first operation, obtain respectively second area and the 3rd region that user contacts terminal, then according to second area, the central point of determining second area is the second contact point, and according to the 3rd region, the central point of determining the 3rd region is the 3rd contact point, it should be noted that, second area is identical with the acquisition pattern of first area with the 3rd acquisition pattern in region, specifically can, referring to the acquisition pattern of first area, not repeat one by one at this.For example, in the time that user contacts terminal display (as user can pass through finger contact terminal display, this finger can be forefinger), what terminal received is the irregular area that user contacts display screen, then determines that according to this irregular area the central point of this irregular area is first make contact.
In the time that user contacts two irregular areas of terminal display simultaneously (as user can pass through two finger contact terminal displays, these two fingers can be forefinger and middle finger), what terminal received is two irregular areas that user contacts display screen, then determines that according to one of them irregular area the central point of this irregular area is the second contact point; Determine that according to another irregular area the central point of this irregular area is the 3rd contact point.
Concrete, as shown in Figure 3, show the first video 303 at the display screen 301 of terminal.
Wherein, in the time that contact point is one, determine that first make contact is basic point 302; Or, in the time that contact point is two, determine that the central point between the second contact point and the line of the 3rd contact point formation is basic point 302.
Step 202, in the time that contact point is one, on Video Layer, terminal receives the second operation, determines the convergent-divergent multiple of the first video according to the second operation;
In the time that contact point is one, illustrate that this contact point is first make contact.
As shown in Figure 4, while determining the convergent-divergent multiple of the first video according to the second operation, comprise the following steps:
Step 401, terminal receives the second operation;
The second operation is amplified the first video or dwindles the first video for determining, and determines the convergent-divergent multiple of the first video.
Step 402, according to the second operation, terminal is obtained user by a sliding trace of the second operation;
This sliding trace is the motion track of the 4th contact point; In the present embodiment, the first operation is also for determining the 4th contact point; Terminal contacts the 4th region of terminal according to the first operation acquisition user, then determine that according to the 4th region four-range central point is the 4th contact point, it should be noted that, by the continuous movement of the 4th contact point, obtains sliding trace.
For example, after terminal receives first make contact, when another finger (as middle finger) of user contacts terminal display, what terminal received is an irregular area of user's finger contacts display screen, then determines that according to this irregular area the central point of this irregular area is the 4th contact point.After terminal receives the 4th contact point, user uses finger sliding terminal display, thereby forms the motion track of one article of the 4th contact point, thereby this motion track is the sliding trace that terminal is obtained by the continuous movement of the 4th contact point.
It should be noted that, when first make contact determine after, and second operation carry out time, first operation remain unchanged.For example, in the time that the central point of the first area of user's forefinger contact display screen is first make contact, needs user's forefinger to be permanently connected to display screen, and can not change the position of first make contact, until after the first video scaling completes, user's forefinger just can leave display screen.
Step 403, according to this sliding trace, terminal is determined the air line distance of the two-end-point of this sliding trace;
Because user manually carries out the slide of the 4th contact point, making sliding trace is not straight line, and terminal need to be determined the bee-line between sliding trace two-end-point, the air line distance of the two-end-point that this bee-line is sliding trace.
Step 404, according to this air line distance, terminal is determined the convergent-divergent multiple of the first video.
Air line distance is directly proportional to the convergent-divergent multiple of the first video.When the sliding trace of the 4th contact point is larger, illustrate that this air line distance is larger, the convergent-divergent multiple of the first video is larger.In the present embodiment, in the time of one millimeter of the every increase of air line distance, the convergent-divergent multiple of the first video increases by 2 times.Certainly, do not limit the ratio of the convergent-divergent multiple of terminal to air line distance and the first video, also can work as one millimeter of the every increase of air line distance time, the convergent-divergent multiple of the first video increases by 3 times or 4 times etc.
For example, after the sliding trace that terminal reception user slides on terminal display by middle finger, terminal determines that the air line distance length of the two-end-point of this sliding trace is 3 millimeters, 6 times of the first video scalings.
After determining the convergent-divergent multiple of the first video, continue execution step 203.
Step 203, in the time that contact point is two, on Video Layer, terminal receives the second operation, determines the convergent-divergent multiple of the first video according to the second operation;
In the time that contact point is two, illustrate that this contact point is the second contact point and the 3rd contact point.
As shown in Figure 5, while determining the convergent-divergent multiple of the first video according to the second operation, comprise the following steps:
Step 501, terminal receives the second operation;
The effect of this second operation is identical with the effect of the operation of second in step 401.
Step 502, according to the second operation, terminal is obtained user by two sliding traces of the second operation;
One of them sliding trace is the motion track of the second contact point, and another sliding trace is the motion track of the 3rd contact point.It should be noted that, by the continuous movement of the second contact point and the 3rd contact point, obtain two sliding traces respectively.For example, after terminal receives the second contact point and the 3rd contact point simultaneously, be after user contacts terminal display by two fingers (as forefinger and middle finger) simultaneously, user points simultaneously in the enterprising line slip of terminal display with two, thereby form two sliding traces, now terminal receives this two sliding traces.After the first video scaling completes, two fingers of user can leave terminal display.
Step 503, according to the sliding trace of the maximum length at least one sliding trace, terminal is determined the air line distance of the two-end-point of the sliding trace of maximum length;
Because user manually carries out the slide of the second contact point and the slide of the 3rd contact point, making two sliding traces is not all straight line, and the length of two sliding traces is not necessarily identical, terminal need to be determined the sliding trace of maximum length in two sliding traces, determine the bee-line between this sliding trace two-end-point, the air line distance of the two-end-point that this bee-line is sliding trace according to the sliding trace of maximum length.
Step 504, according to this air line distance, terminal is determined the convergent-divergent multiple of the first video.
Air line distance is directly proportional to the convergent-divergent multiple of the first video.In the time that sliding trace is larger, illustrate that this air line distance is larger, the convergent-divergent multiple of the first video is larger.
After determining the convergent-divergent multiple of the first video, continue execution step 204.
It should be noted that, step 202 and step 203 are relations arranged side by side, and both can not carry out simultaneously.In accompanying drawing 2, with empty wire frame representation step 203, or also can be with empty wire frame representation step 202, wherein this step of empty wire frame representation is optional step, can certainly otherwise represent optional relation, the embodiment of the present invention is not carried out the mode of the optional relation of restricted representation.
Step 204, according to the first video scaling multiple of determining, terminal is carried out convergent-divergent to the first video on Video Layer, obtains the second video;
As shown in Figure 6, terminal is carried out convergent-divergent to the first video on Video Layer, obtains the second video 601;
The invariant position of basic point 602 in the second video 601.
The second video 601 is that terminal is carried out convergent-divergent video afterwards according to convergent-divergent multiple to the first video.
In the time that contact point is one;
When the second starting point being operating as with sliding trace, while slip away from the direction of first make contact, the first video amplifies, thereby obtains the second video 601; When the second starting point being operating as with sliding trace, while slip near the direction of first make contact, the first video dwindles, thereby obtains the second video 601.
For example, receive after first make contact in terminal, user's forefinger contacts all the time terminal display and keeps the invariant position of forefinger, and then middle finger is when sliding away from the direction of forefinger, and the first video amplifies, thereby obtains the second video 601; After terminal receives first make contact, user's forefinger contacts all the time terminal display and keeps the invariant position of forefinger, and when then middle finger slides with the direction of close forefinger, the first video dwindles, thereby obtains the second video 601.
In the time that contact point is two;
When the second starting point being operating as with the sliding trace of maximum length, while slip away from the direction of the central point between the second contact point and the line of the 3rd contact point formation, the first video basic point amplifies, thereby obtains the second video 601; When the second starting point being operating as with sliding trace, when the direction between the line forming near the central point of the second contact point and the 3rd contact point is slided, the first video dwindles, thereby obtains the second video 601.
For example, after terminal receives the second contact point and the 3rd contact point, when user's forefinger and middle abutment terminal display and while sliding with contrary direction, the first video amplifies, thereby obtains the second video 601; When user's forefinger and middle abutment terminal display and while sliding with direction in opposite directions, the first video dwindles, thereby obtains the second video 601.
Step 205, in the time that the second size is greater than first size, according to contact point, first size and the second video, obtains the 3rd video;
As shown in Figure 7, in the time that the second size 701 is greater than first size 702, illustrate that the second video is to amplify the first video afterwards.Point centered by basic point 703, intercepts the second video according to first size 702, thereby obtains the 3rd video 704.
It should be noted that, the 3rd video 704 is parts of the second video, the size of the display screen that first size 702 is terminal, and the second size 701 is the size of the second video.
First size 702 and the second size 701 are length and are multiplied by high rectangle, and unit is pixel.
For example, due to high-resolution first video of device plays of low resolution, may cause the first video details to represent unintelligible, user amplifies the first video, what on Video Layer, show is the second video, what on the display screen of this terminal, show is point centered by basic point, thereby the second video is intercepted to the 3rd video 704 obtaining by first size 702, and the 3rd video 704 showing on the display screen of terminal is parts of the second video.
Step 206, in the time that the second size is not more than first size, shows the second video;
As shown in Figure 8, in the time that the second size 801 is less than first size 803, illustrate that the second video is to dwindle the first video afterwards, wherein, the position of basic point 802 remains unchanged.
On the display screen of terminal, directly show the second video, on the display screen of terminal, show the first video after dwindling.
As shown in Figure 9, in the time that the second size 801 equals first size 803, illustrate that the second video is the video after reduction, terminal is to the first video amplifier, then the first video amplifying is narrowed down to original size.The position of basic point 802 remains unchanged.
It should be noted that, the second size 801 equals first size 803, but in order to distinguish clearly first size 803 and the second size 801, expression in the drawings does not overlap first size 803 with the second size 801.
For example, in the time that the second size 801 is less than first size 803, due to the first video of high-resolution terminal plays low resolution, may cause the first video playback fuzzy, user can be by dwindling the first video, thereby can watch the first video clearly.Or, in the time that the second size 801 equals first size 803, illustrate that user reduces the first video after amplifying, after reduction, user can watch the full content of the first video.
It should be noted that, step 205 and step 206 are relations arranged side by side, and both can not carry out simultaneously.In accompanying drawing 2, with empty wire frame representation step 206, or also can be with empty wire frame representation step 205, wherein this step of empty wire frame representation is optional step, can certainly otherwise represent optional relation, the embodiment of the present invention is not carried out the mode of the optional relation of restricted representation.
Step 207, obtains the first figure layer by Video Layer and figure map overlay, and terminal is projected in this first figure layer in display screen, to show the second video or the 3rd video in this first figure layer at display screen.
When the first video is carried out to amplifieroperation, point centered by basic point, determines the 3rd video at Video Layer, then Video Layer and figure map overlay is obtained to the first figure layer, the first figure layer is projected in display screen, to show the 3rd video in the first figure layer at display screen;
When the first video is carried out to reduction operation, determine the second video at Video Layer, then Video Layer and figure map overlay are obtained to the first figure layer, the first figure layer is projected in display screen, to show the second video in the first figure layer at display screen.
The method of a kind of video scaling that the embodiment of the present invention provides, can realize in the time that the mobile communication equipment of low resolution is play high-resolution video or the video in high-resolution mobile communication equipment broadcasting low resolution, can carry out convergent-divergent to the video of playing, the first video of realizing playing carries out local amplification or the overall operation of dwindling, thereby reaches the object of clear displaying video picture.
Embodiment 2
As shown in figure 10, the embodiment of the present invention provides a kind of device of video scaling, comprising: the first determination module 1001, the second determination modules 1002, Zoom module 1003, processing module 1004; This device possesses touch screen functionality, and this device can be arranged on terminal, and this terminal can be mobile phone, panel computer etc.
The first determination module 1001, in the time showing the first video, receives the first operation, determines contact point at stack displaying video figure layer according to the first operation;
The first operation is for determining contact point, the central point in this contact point region that to be user obtain when contacting display screen, the irregular area that this region can obtain by finger contact terminal for user, the regular domain that also can obtain by equipment contact terminals such as capacitance pens.The first operation can be determined a contact point, or the first operation can be determined two contact points.
Video Layer is for the data of store video.What conventionally show at display screen is the figure layer after Video Layer and figure map overlay.Wherein, figure figure layer is for storing the data of title block, the data of toolbar and the data of frame etc. of control video.
After the first determination module 1001 is determined contact point, the second determination module 1002, for receiving the second operation, determines the convergent-divergent multiple of the first video according to the second operation;
The second operation is for determining the convergent-divergent multiple of the first video.In the present embodiment, the direction that the second determination module 1002 moves according to contact point, and determine the convergent-divergent multiple of the first video according to the air line distance of the two-end-point of at least one sliding trace.
Optionally, when the second operation is with the starting point of this sliding trace, while slip away from the direction of first make contact, the second determination module 1002 determines that second is operating as amplifieroperation; When the second operation is with the starting point of this sliding trace, while slip near the direction of first make contact, the second determination module 1002 determines that second is operating as reduction operation.
Optionally, when the second operation is with the starting point of the sliding trace of maximum length, while slip away from the direction of the central point between the second contact point and the line of the 3rd contact point formation, the second determination module 1002 determines that second is operating as amplifieroperation; When the second operation is with the starting point of the sliding trace of maximum length, while slip near the direction of the central point between the second contact point and the line of the 3rd contact point formation, the second determination module 1002 determines that second is operating as reduction operation.
After the second determination module 1002 is determined the convergent-divergent multiple of the first video, Zoom module 1003, carries out convergent-divergent for the convergent-divergent multiple according to the first video to the first video, obtains the second video;
Optionally, in the time that contact point is one, the central point in the region that the first determination module 1001 obtains while determining user by contact display screen is contact point, the irregular area that this region can obtain by finger contact terminal for user, the regular domain that also can obtain by equipment contact terminals such as capacitance pens, this contact point is first make contact.Optionally, the first determination module 1001 determines that user is the 4th contact point by the central point in another region of contact display screen acquisition.Wherein, by the continuous movement of the 4th contact point, obtain sliding trace.During taking first make contact as basic point, when user contacts terminal display, and with direction slip the 4th contact point away from first make contact, according to the air line distance of the 4th contact point sliding trace two-end-point, the second determination module 1002 is determined the enlargement factor of the first video, and then Zoom module 1003, according to this enlargement factor to the first video amplifier, obtains the second video, wherein, the second video is to amplify the first video afterwards; When user contacts terminal display, and when sliding the 4th contact point near the direction of first make contact, according to the air line distance of the 4th contact point sliding trace two-end-point, the second determination module 1002 is determined the minification of the first video, then Zoom module 1003 dwindles the first video according to this minification, obtain the second video, wherein, the second video is to dwindle the first video afterwards.
It should be noted that, in the time sliding the 4th contact point operation, user contacts the invariant position that display screen keeps first make contact all the time.
For example, user pins with finger (as forefinger) region that the first video need to amplify, and the first determination module 1001 determines that the central point in the region of this amplification is first make contact.Taking first make contact as basic point, in the time that another finger (as middle finger) contact terminal display of user obtains the 4th contact point, user is with direction slip the 4th contact point away from first make contact, according to the two-end-point air line distance of the 4th contact point sliding trace, the second determination module 1002 is determined the enlargement factor of the first video, then Zoom module 1003 amplifies the first video according to this enlargement factor, obtains the second video; In the time that another finger contact terminal display of user obtains the 4th contact point, when user slides the 4th contact point with the direction near contact point, according to the two-end-point air line distance of the 4th contact point sliding trace, the second determination module 1002 is determined the minification of the first video, then Zoom module 1003 dwindles the first video according to this minification, obtains the second video.
Optionally, in the time that contact point is two, the central point of two irregular areas that the first determination module 1001 obtains while determining user by contact display screen is respectively the second contact point and the 3rd contact point.Wherein, by the continuous movement of the second contact point and the 3rd contact point, obtain two sliding traces respectively.Taking the central point between the second contact point and the line of the 3rd contact point formation as basic point, when user contacts terminal display, and when the second contact point and the 3rd contact point are slided with the direction away from this basic point simultaneously, according to the air line distance of these two sliding trace two-end-points, the second determination module 1002 is determined the enlargement factor of the first video, then Zoom module 1003, according to this enlargement factor to the first video amplifier, obtains the second video; When user contacts terminal display, and when the second contact point and the 3rd contact point being slided near the direction of this basic point simultaneously, according to the air line distance of these two sliding trace two-end-points, the second determination module 1002 is determined the minification of the first video, then Zoom module 1003 dwindles the first video according to this enlargement factor, obtains the second video.
For example, user contacts with two fingers (as forefinger and middle finger) region that the first video need to amplify simultaneously, the central point that the definite user of the first determination module 1001 contacts two regions of the display screen at the first video place is two contact points, the central point in the region that the central point between two contact points is this amplification.Central point between the line forming taking two contact points is as basic point, when two fingers of user contact terminal display simultaneously, and while sliding with the direction away from central point simultaneously, according to the air line distance of these two sliding trace two-end-points, the second determination module 1002 is determined the enlargement factor of the first video, then Zoom module 1003 amplifies the first video according to this enlargement factor, obtains the second video; When two fingers of user contact terminal display simultaneously, and when sliding near the direction of central point simultaneously, according to the air line distance of these two sliding trace two-end-points, the second determination module 1002 is determined the minification of the first video, then Zoom module 1003 dwindles the first video according to this enlargement factor, obtains the second video.
The embodiment of the present invention provides a kind of device of video scaling, and by the time showing the first video, the first determination module receives the first operation, determines contact point at Video Layer according to the first operation; Then receive the second operation, the second determination module is determined the convergent-divergent multiple of the first video according to the second operation; According to the convergent-divergent multiple Zoom module of the first video, the first video is carried out to convergent-divergent, obtain the second video, in the time that the second size is greater than first size, according to contact point, first size and the second video, processing module obtains and shows the 3rd video, wherein, terminal display is of a size of first size, and the second video is of a size of the second size; In the time that the second size is not more than first size, processing module shows the second video.The embodiment of the present invention has solved in prior art the restriction due to the screen resolution of mobile communication equipment, while making to play high-resolution video in the mobile communication equipment of low resolution, the problem that can not amplify this video, while having solved the video of playing low resolution in high-resolution mobile communication equipment simultaneously, can not dwindle this video, cause the problem that video pictures is fuzzy, realized to displaying video carry out part amplify or entirety dwindle, improved the sharpness of displaying video picture.
Further, as shown in figure 11, in this device, the first determination module 1001 comprises: obtain unit 10011, determining unit 10012;
In the time that the first operation comprises a child-operation, the first operation is for determining the operation of first make contact at the first video;
Wherein, obtain unit 10011 according to the first operation, acquisition user contacts the first area of terminal;
First area can contact the irregular area that terminal display obtains for user, can be also the regular domain obtaining by equipment contact terminals such as capacitance pens.
After acquisition unit 10011 obtains first area, determining unit 10012 is according to first area, and the central point of determining first area is first make contact.
In the time that the first operation comprises two child-operations, the first operation is for determining the operation of the second contact point and the 3rd contact point at the first video;
Wherein, obtain unit 10011 according to two child-operations, obtain respectively user and contact second area and the 3rd region of terminal;
Second area is identical with the acquisition pattern of first area with the 3rd acquisition pattern in region, specifically can, referring to the acquisition pattern of first area, not repeat one by one at this.
Determining unit 10012 is according to second area, and the central point of determining second area is the second contact point; And according to the 3rd region, the central point of determining the 3rd region is the 3rd contact point.
Further, the second determination module 1002 in this device, comprising: receiving element 10021, and acquiring unit 10022, determining unit 10023,
After determining unit 10012 is determined contact point, receiving element 10021 receives the second operation;
The second operation, amplifies the first video or dwindles the first video for determining, and determines the convergent-divergent multiple of the first video.
According to the second operation, acquiring unit 10022 obtains user by least one sliding trace of the second operation;
In the time that contact point is one, acquiring unit 10022 obtains a sliding trace;
In the time that contact point is two, acquiring unit 10022 obtains two sliding traces.
According to the sliding trace of the maximum length at least one sliding trace, determining unit 10023 is determined the air line distance of the two-end-point of the sliding trace of maximum length; And determine the convergent-divergent multiple of the first video according to air line distance, air line distance is directly proportional to the convergent-divergent multiple of the first video.
Optionally, in the time that contact point is one, the determining unit 10012 in the first determination module 1001 is for determining the 4th contact point.Wherein, definite mode of the 4th contact point is consistent with first make contact, does not here repeat one by one.
By the continuous movement of the 4th contact point, obtain sliding trace.During taking first make contact as basic point, when the second starting point being operating as with the 4th contact point sliding trace, while slip away from the direction of first make contact, determining unit 10023 determines that second is operating as amplifieroperation, and determines the enlargement factor of the first video according to the air line distance of the 4th contact point sliding trace;
When the second starting point being operating as with the 4th contact point sliding trace, while slip near the direction of first make contact, determining unit 10023 determines that second is operating as reduction operation, and determines the minification of the first video according to the air line distance of four contact point sliding traces.
It should be noted that, in the time sliding the 4th contact point operation, user contacts the invariant position that display screen keeps first make contact all the time.
In the time that contact point is two, by the continuous movement of the second contact point and the 3rd contact point, obtain respectively two sliding traces.When the second starting point being operating as with the sliding trace of maximum length, while slip away from the direction of the central point between the second contact point and the line of the 3rd contact point formation, determining unit 10023 determines that second is operating as amplifieroperation, and determines the enlargement factor of the first video according to the air line distance of this sliding trace;
When the second starting point being operating as with sliding trace, while slip near the direction of the central point between the second contact point and the line of the 3rd contact point formation, determining unit 10023 determines that second is operating as reduction operation, and determines the minification of the first video according to the air line distance of this sliding trace.
It should be noted that, because user manually carries out the slide of the second contact point and the slide of the 3rd contact point, two sliding traces that obtain may not be straight lines, and the length of two sliding traces may be not identical, determining unit 10023 need to be determined the sliding trace of maximum length in two sliding traces, determine the bee-line between this sliding trace two-end-point according to the sliding trace of maximum length, this bee-line is the air line distance of the two-end-point of sliding trace, and determine the convergent-divergent multiple of the first video according to air line distance, air line distance is directly proportional to the convergent-divergent multiple of the first video.
Further, the processing module 1004 in this device, comprising: determining unit 10041, obtains unit 10042, display unit 10043;
Determining unit 10041, for determining basic point according to contact point; In the time that contact point is one, determine that first make contact is basic point; Or, in the time that contact point is two, determine that the central point between the second contact point and the line of the 3rd contact point formation is basic point.
After obtaining convergent-divergent multiple, in the time that the second size is greater than first size, point centered by basic point, obtains unit 10042 and according to first size, the second video is intercepted, and obtains the 3rd video; Wherein, terminal display is of a size of first size, and the second video is of a size of the second size.
Display unit 10043, obtains the first figure layer by Video Layer and figure map overlay, the first figure layer is projected in display screen, to show the second video or the 3rd video in the first figure layer at display screen.
In the time that the second size is greater than first size, illustrate that the second video is to amplify the first video afterwards.Point centered by basic point, intercepts the second video according to first size, thereby obtains the 3rd video; In the time that the second size is not more than first size, illustrate that the second video is to dwindle the first video afterwards;
Or, in the time that the second size equals first size, illustrate that user reduces the first video after amplifying, after reduction, user can watch the full content of the first video.
For example, due to high-resolution first video of device plays of low resolution, may cause the first video details to represent unintelligible, Zoom module 1003 amplifies the first video, what on Video Layer, show is the second video, what display unit 10042 showed is point centered by basic point, thereby the second video is intercepted to the 3rd video obtaining according to first size, and what on the display screen of terminal, show is the part of the second video; Or, due to the first video of high-resolution terminal plays low resolution, may cause the first video playback fuzzy, Zoom module 1003 dwindles the first video, makes user can watch the first video clearly.
The processing procedure of installing in the present embodiment, referring to the processing procedure of above-mentioned video scaling.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, any be familiar with those skilled in the art the present invention disclose technical scope in; can expect easily changing or replacing, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should described be as the criterion with the protection domain of claim.

Claims (22)

1. a method for video scaling, is applied to terminal, and described terminal possesses touch screen functionality, it is characterized in that, comprising:
In the time showing the first video, receive the first operation, determine contact point at Video Layer according to described the first operation;
Receive the second operation, determine the convergent-divergent multiple of described the first video according to described the second operation;
According to the convergent-divergent multiple of described the first video, described the first video is carried out to convergent-divergent, obtain the second video;
In the time that the second size is greater than first size, according to described contact point, described first size and described the second video, obtain and show the 3rd video, wherein, described first size is the size of the display screen of described terminal, and described second is of a size of the size of described the second video;
In the time that described the second size is not more than described first size, show described the second video.
2. method according to claim 1, is characterized in that,
In the time that described the first operation comprises a child-operation, described the first operation is for determining the operation of first make contact at described the first video;
In the time that described the first operation comprises two child-operations, described the first operation is for determining the operation of the second contact point and the 3rd contact point at described the first video.
3. method according to claim 2, is characterized in that, in the time that described contact point is first make contact, described according to the definite contact point of described the first operation, comprising:
According to described the first operation, acquisition user contacts the first area of described terminal;
According to described first area, the central point of determining described first area is described first make contact.
4. method according to claim 2, is characterized in that, in the time that described contact point is the second contact point and the 3rd contact point, described according to the definite contact point of described the first operation, comprising:
According to described two child-operations, obtain respectively user and contact second area and the 3rd region of described terminal;
According to described second area, the central point of determining described second area is described the second contact point; And according to described the 3rd region, the central point of determining described the 3rd region is described the 3rd contact point.
5. method according to claim 1, is characterized in that, described reception second operates, and determines the convergent-divergent multiple of described the first video according to described the second operation, comprising:
Receive the second operation;
According to described the second operation, obtain user by described second at least one sliding trace operating;
According to the sliding trace of the maximum length in described at least one sliding trace, determine the air line distance of the two-end-point of the sliding trace of described maximum length;
Determine the convergent-divergent multiple of described the first video according to described air line distance, described air line distance is directly proportional to the convergent-divergent multiple of described the first video.
6. method according to claim 5, is characterized in that, in the time that described contact point is first make contact, describedly determines that according to described air line distance the convergent-divergent multiple of described the first video comprises:
When described the second starting point being operating as with described sliding trace, while slip away from the direction of described first make contact, determine the enlargement factor of described the first video according to described air line distance;
When described the second starting point being operating as with described sliding trace, while slip near the direction of described first make contact, determine the minification of described the first video according to described air line distance.
7. method according to claim 6, is characterized in that,
When described first make contact determine after, and described second operation carry out time, described first operation remain unchanged.
8. method according to claim 5, is characterized in that, in the time that described contact point is the second contact point and the 3rd contact point, describedly determines that according to described air line distance the convergent-divergent multiple of described the first video comprises:
When described the second starting point being operating as with the sliding trace of described maximum length, while slip away from the direction of the central point between described the second contact point and the line of described the 3rd contact point formation, determine the enlargement factor of described the first video according to described air line distance;
When described the second starting point being operating as with described sliding trace, while slip near the direction of the central point between described the second contact point and the line of described the 3rd contact point formation, determine the minification of described the first video according to described air line distance.
9. method according to claim 1, is characterized in that, described in the time that the second size is greater than first size, according to described contact point, described first size and described the second video, obtains and shows the 3rd video, comprising:
Determine basic point according to described contact point;
Point centered by described basic point, intercepts described the second video according to described first size, obtains described the 3rd video.
10. method according to claim 9, is characterized in that, describedly determines basic point according to described contact point, comprising:
In the time that described contact point is one, determine that described first make contact is basic point; Or,
In the time that described contact point is two, determine that the central point between described the second contact point and the line of described the 3rd contact point formation is basic point.
11. according to the method described in claim 1 or 9, it is characterized in that, described method also comprises:
Described Video Layer and figure map overlay are obtained to the first figure layer, described the first figure layer is projected in described display screen, to show described the second video or described the 3rd video in described the first figure layer at described display screen.
The device of 12. 1 kinds of video scalings, described device possesses touch screen functionality, it is characterized in that, comprising:
The first determination module, in the time showing the first video, receives the first operation, determines contact point at Video Layer according to described the first operation;
The second determination module, for receiving the second operation, determines the convergent-divergent multiple of described the first video according to described the second operation;
Zoom module, for according to the convergent-divergent multiple of described the first video, described the first video being carried out to convergent-divergent, obtains the second video;
Processing module, for in the time that the second size is greater than first size, according to described contact point, described first size and described the second video, obtain and show the 3rd video, wherein, described first size is the size of the display screen of described terminal, and described second is of a size of the size of described the second video;
And in the time that described the second size is not more than described first size, show described the second video.
13. devices according to claim 12, is characterized in that,
In the time that described the first operation comprises a child-operation, described the first operation is for determining the operation of first make contact at described the first video;
In the time that described the first operation comprises two child-operations, described the first operation is for determining the operation of the second contact point and the 3rd contact point at described the first video.
14. devices according to claim 13, is characterized in that, described the first determination module, comprising:
Obtain unit, for according to described the first operation, obtain user and contact the first area of described terminal;
Determining unit, for according to described first area, the central point of determining described first area is described first make contact.
15. devices according to claim 13, is characterized in that, in described the first determination module:
Described acquisition unit, also for according to described two child-operations, obtains respectively user and contacts second area and the 3rd region of described terminal;
Described determining unit, also for according to described second area, the central point of determining described second area is described the second contact point; And according to described the 3rd region, the central point of determining described the 3rd region is described the 3rd contact point.
16. devices according to claim 12, is characterized in that, described the second determination module, comprising:
Receiving element, for receiving the second operation;
Acquiring unit, for according to described the second operation, obtains user by described second at least one sliding trace operating;
Determining unit, for according to the sliding trace of the maximum length of described at least one sliding trace, determines the air line distance of the two-end-point of the sliding trace of described maximum length; And determine the convergent-divergent multiple of described the first video according to described air line distance, described air line distance is directly proportional to the convergent-divergent multiple of described the first video.
17. devices according to claim 16, is characterized in that, described determining unit also for:
When described the second starting point being operating as with described sliding trace, while slip away from the direction of described first make contact, determine the enlargement factor of described the first video according to described air line distance; Or,
When described the second starting point being operating as with described sliding trace, while slip near the direction of described first make contact, determine the minification of described the first video according to described air line distance.
18. devices according to claim 17, is characterized in that,
When described first make contact determine after, and described second operation carry out time, described first operation remain unchanged.
19. devices according to claim 16, is characterized in that, described determining unit also for:
When described the second starting point being operating as with the sliding trace of described maximum length, while slip away from the direction of the central point between described the second contact point and the line of described the 3rd contact point formation, determine the enlargement factor of described the first video according to described air line distance; Or,
When described the second starting point being operating as with described sliding trace, while slip near the direction of the central point between described the second contact point and the line of described the 3rd contact point formation, determine the minification of described the first video according to described air line distance.
20. devices according to claim 12, is characterized in that, described processing module, comprising:
Determining unit, for determining basic point according to described contact point;
Obtain unit, for point centered by described basic point, according to described first size, described the second video is intercepted, obtain described the 3rd video.
21. devices according to claim 20, is characterized in that, described determining unit is used for: in the time that described contact point is one, determine that described first make contact is basic point; Or, in the time that described contact point is two, determine that the central point between described the second contact point and the line of described the 3rd contact point formation is basic point.
22. according to the device described in claim 12 or 20, it is characterized in that, described processing module, also comprises:
Display unit, for described Video Layer and figure map overlay are obtained to the first figure layer, is projected in described the first figure layer in described display screen, to show described the second video or described the 3rd video in described the first figure layer at described display screen.
CN201210520242.4A 2012-12-06 2012-12-06 A kind of method and device of video scaling Active CN103853482B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210520242.4A CN103853482B (en) 2012-12-06 2012-12-06 A kind of method and device of video scaling

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210520242.4A CN103853482B (en) 2012-12-06 2012-12-06 A kind of method and device of video scaling

Publications (2)

Publication Number Publication Date
CN103853482A true CN103853482A (en) 2014-06-11
CN103853482B CN103853482B (en) 2018-11-13

Family

ID=50861205

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210520242.4A Active CN103853482B (en) 2012-12-06 2012-12-06 A kind of method and device of video scaling

Country Status (1)

Country Link
CN (1) CN103853482B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461430A (en) * 2014-12-08 2015-03-25 联想(北京)有限公司 Information processing method and electronic device
CN104811800A (en) * 2015-04-24 2015-07-29 无锡天脉聚源传媒科技有限公司 Video resolution modification method and apparatus
CN104991699A (en) * 2015-06-25 2015-10-21 广州华多网络科技有限公司 Video display control method and apparatus
CN105635522A (en) * 2015-12-30 2016-06-01 广州华多网络科技有限公司 Video displaying method and device based on user requirements
CN106227426A (en) * 2016-07-22 2016-12-14 Tcl移动通信科技(宁波)有限公司 A kind of screen scaling control method based on mobile terminal and system
CN106484299A (en) * 2016-10-17 2017-03-08 诺仪器(中国)有限公司 Instrument and meter dynamic image amplifies inspection method, device and instrument and meter
CN107547913A (en) * 2016-06-27 2018-01-05 阿里巴巴集团控股有限公司 Video data plays and processing method, client and equipment
CN109963200A (en) * 2017-12-25 2019-07-02 上海全土豆文化传播有限公司 Video broadcasting method and device
CN110694270A (en) * 2019-10-17 2020-01-17 腾讯科技(深圳)有限公司 Video stream display method, device and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020129382A1 (en) * 2000-03-31 2002-09-12 Kun Zhao Adaptive method for browsing internet videotex data on-line by using the sdtv
CN101236472A (en) * 2007-02-01 2008-08-06 英华达(南京)科技有限公司 Method for scaling display video
US20110074824A1 (en) * 2009-09-30 2011-03-31 Microsoft Corporation Dynamic image presentation
CN102541319A (en) * 2010-12-20 2012-07-04 联想(北京)有限公司 Electronic equipment and display processing method thereof
CN102609193A (en) * 2011-11-23 2012-07-25 明基电通有限公司 Electronic device and operation method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020129382A1 (en) * 2000-03-31 2002-09-12 Kun Zhao Adaptive method for browsing internet videotex data on-line by using the sdtv
CN101236472A (en) * 2007-02-01 2008-08-06 英华达(南京)科技有限公司 Method for scaling display video
US20110074824A1 (en) * 2009-09-30 2011-03-31 Microsoft Corporation Dynamic image presentation
CN102541319A (en) * 2010-12-20 2012-07-04 联想(北京)有限公司 Electronic equipment and display processing method thereof
CN102609193A (en) * 2011-11-23 2012-07-25 明基电通有限公司 Electronic device and operation method thereof

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461430A (en) * 2014-12-08 2015-03-25 联想(北京)有限公司 Information processing method and electronic device
CN104461430B (en) * 2014-12-08 2018-04-27 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN104811800A (en) * 2015-04-24 2015-07-29 无锡天脉聚源传媒科技有限公司 Video resolution modification method and apparatus
CN104991699A (en) * 2015-06-25 2015-10-21 广州华多网络科技有限公司 Video display control method and apparatus
CN104991699B (en) * 2015-06-25 2019-01-01 广州华多网络科技有限公司 A kind of method and apparatus of video display control
CN105635522A (en) * 2015-12-30 2016-06-01 广州华多网络科技有限公司 Video displaying method and device based on user requirements
CN107547913A (en) * 2016-06-27 2018-01-05 阿里巴巴集团控股有限公司 Video data plays and processing method, client and equipment
CN107547913B (en) * 2016-06-27 2021-06-18 阿里巴巴集团控股有限公司 Video data playing and processing method, client and equipment
CN106227426A (en) * 2016-07-22 2016-12-14 Tcl移动通信科技(宁波)有限公司 A kind of screen scaling control method based on mobile terminal and system
CN106484299A (en) * 2016-10-17 2017-03-08 诺仪器(中国)有限公司 Instrument and meter dynamic image amplifies inspection method, device and instrument and meter
CN109963200A (en) * 2017-12-25 2019-07-02 上海全土豆文化传播有限公司 Video broadcasting method and device
CN110694270A (en) * 2019-10-17 2020-01-17 腾讯科技(深圳)有限公司 Video stream display method, device and system

Also Published As

Publication number Publication date
CN103853482B (en) 2018-11-13

Similar Documents

Publication Publication Date Title
CN103853482A (en) Method and device for video zooming
US9417787B2 (en) Distortion effects to indicate location in a movable data collection
US8723812B2 (en) Mobile terminal and method of controlling the mobile terminal
CN101661383B (en) Electronic equipment and display control method thereof
US20150121225A1 (en) Method and System for Navigating Video to an Instant Time
CN102163126A (en) Display method and electronic device for using the same
KR100855611B1 (en) Method, apparatus and system for showing and editing multiple video streams on a small screen with a minimal input device
US20100031188A1 (en) Method for zooming image and electronic device using the same
CN104106037A (en) Projector, graphical input/display device, portable terminal and program
CN111031398A (en) Video control method and electronic equipment
CN108509122B (en) Image sharing method and terminal
US20140229834A1 (en) Method of video interaction using poster view
CN108733296B (en) Method, device and equipment for erasing handwriting
CN102890603B (en) Video image processing method and video image processing device
CN111638837B (en) Message processing method and electronic equipment
CN107870703B (en) Method, system and terminal equipment for full-screen display of picture
CN103347211A (en) Method for sending screenshot in mobile phone television playing process
CN101573684B (en) Method for visualizing a change caused by scrolling in a scrolling direction of a section of a text and/or graphic displayed on an optical display means
CN111176526B (en) Picture display method and electronic equipment
CN104850340A (en) Method and device for displaying file on touch display screen
CN106569686B (en) Method for controlling screen capture by rolling ball and related intelligent equipment
CN104461364A (en) Image magnification display method and image magnification display device
CN111698569A (en) Bullet screen data processing method and device, terminal equipment and storage medium
CN110769129B (en) Image processing method, image processing device, electronic equipment and computer readable storage medium
CN101145333A (en) Display method and device

Legal Events

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