CN103853482B - A kind of method and device of video scaling - Google Patents

A kind of method and device of video scaling Download PDF

Info

Publication number
CN103853482B
CN103853482B CN201210520242.4A CN201210520242A CN103853482B CN 103853482 B CN103853482 B CN 103853482B CN 201210520242 A CN201210520242 A CN 201210520242A CN 103853482 B CN103853482 B CN 103853482B
Authority
CN
China
Prior art keywords
video
point
contact
contact point
size
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.)
Active
Application number
CN201210520242.4A
Other languages
Chinese (zh)
Other versions
CN103853482A (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

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The present invention discloses a kind of method and device of video scaling, it is related to technical field of communication network, it solves when playing high-resolution video in the mobile communication equipment of low resolution in the prior art, the problem of video cannot being amplified, when solving the video for playing low resolution in high-resolution mobile communication equipment simultaneously, the video cannot be reduced, the problem for causing video pictures fuzzy.By when showing the first video, receiving the first operation, contact point is determined according to the first operation;The scaling multiple of the first video is determined according to the second of reception the operation;It is zoomed in and out according to the first video of scaling multiple pair of the first video, obtains the second video;When the second size is more than first size, according to contact point, first size and the second video, obtains and show third video;When the second size is not more than first size, the second video is shown.The embodiment of the present invention is suitable for using when zooming in and out the video of broadcasting.

Description

A kind of method and device of video scaling
Technical field
The present invention relates to technical field of communication network more particularly to a kind of method and devices of video scaling.
Background technology
In today of communication technology high speed development, people are increasingly dependent on the use to mobile communication equipment, such as move Communication equipment can be mobile phone.It made a phone call from initial people with mobile phone, receive and dispatch short message, people can using mobile phone till now Text message and video playing are watched to be surfed the Internet.Currently, when playing video using mobile phone, usual mobile phone open waits broadcasting The video put, and in the form of full frame carry out video broadcasting.
However, when using mobile phone to play video in the prior art, mobile phone can only carry out video with full frame fixed form It plays, due to the limitation of the screen resolution of mobile phone, when causing to play high-resolution video in the mobile phone of low resolution, no The video can be amplified so that some details can not be shown in high-resolution video;In high-resolution mobile phone When the middle video for playing low resolution, which cannot be reduced so that the video pictures of low resolution are fuzzy.Therefore hand Machine sowing causes video pictures fuzzy when putting video.
Invention content
The embodiment of the present invention provides a kind of method and device of video scaling, realizes and carries out local put to playing video Big or whole diminution, improves the clarity for playing video pictures.
On the one hand, the embodiment of the present invention provides a kind of method of video scaling, is applied to terminal, the terminal has tactile Shield function, including:
When showing the first video, the first operation is received, contact point is determined according to first operation in Video Layer;
The second operation is received, the scaling multiple of first video is determined according to second operation;
First video is zoomed in and out according to the scaling multiple of first video, obtains the second video;
When the second size is more than first size, according to the contact point, the first size and second video, It obtains and shows third video, wherein the first size is the size of the display screen of the terminal, and second size is The size of second video;
When second size is not more than the first size, second video is shown.
In another embodiment of the invention, when first operation includes a sub-operation, first operation is used In the operation for determining first make contact in first video;
When first operation includes two sub-operations, first operation is for the determination the in first video The operation of two contact points and third contact point.
In another embodiment of the invention, described to be grasped according to described first when the contact point is first make contact Make to determine contact point, including:
It is operated according to described first, obtains the first area that user contacts the terminal;
According to the first area, determine that the central point of the first area is the first make contact.
It is described that contact is determined according to first operation when the contact point is the second contact point and third contact point Point, including:
According to described two sub-operations, second area and third region that user contacts the terminal are obtained respectively;
According to the second area, determine that the central point of the second area is second contact point;And according to institute Third region is stated, determines that the central point in the third region is the third contact point.
In another embodiment of the invention, described to receive the second operation, determine described first according to second operation The scaling multiple of video, including:
Receive the second operation;
It is operated according to described second, obtains at least one sliding trace that user operates by described second;
According to the sliding trace of the maximum length at least one sliding trace, the sliding of the maximum length is determined The air line distance of the two-end-point of track;
The scaling multiple of first video, the air line distance and first video are determined according to the air line distance Scaling multiple it is directly proportional.
In another embodiment of the invention, when the contact point be first make contact when, it is described according to the straight line away from The scaling multiple of the first video described from determination includes:
When second operation is slides with the direction of the starting point of the sliding trace, the separate first make contact, The amplification factor of first video is determined according to the air line distance;
When second operation is slides with the direction of the starting point of the sliding trace, the close first make contact, The minification of first video is determined according to the air line distance.
In another embodiment of the invention, after the first make contact determines, and second operation executes When, first operation remains unchanged.
In another embodiment of the invention, when the contact point is the second contact point and third contact point, described Determine that the scaling multiple of first video includes according to the air line distance:
When second operation is with the starting point of the sliding trace of the maximum length, separate second contact point and institute When stating the direction sliding of the central point between the line of third contact point formation, determine that described first regards according to the air line distance The amplification factor of frequency;
When second operation is with the starting point of the sliding trace, close second contact point and third contact When the direction sliding of the central point between the line that point is formed, the diminution times of first video is determined according to the air line distance Number.
In another embodiment of the invention, described when the second size is more than first size, according to the contact point, institute First size and second video are stated, obtains and show third video, including:
Basic point is determined according to the contact point;
The point centered on the basic point intercepts second video according to the first size, obtains described the Three videos.
It is described that basic point is determined according to the contact point, including:
When the contact point is one, determine that the first make contact is basic point;Alternatively,
When the contact point is two, determine between second contact point and the line of third contact point formation Central point be basic point.
In another embodiment of the invention, the method further includes:
The Video Layer and figure map overlay are obtained into the first figure layer, first figure layer is projected in the display In screen, so as to described in the display screen display in the first figure layer second video or the third video.
On the other hand, the embodiment of the present invention provides a kind of device of video scaling, and described device has touch screen functionality, packet It includes:
First determining module, for when showing the first video, receiving the first operation, in Video Layer according to described first Operation determines contact point;
Second determining module determines the scaling of first video according to second operation for receiving the second operation Multiple;
Zoom module obtains for being zoomed in and out to first video according to the scaling multiple of first video Two videos;
Processing module, for when the second size be more than first size when, according to the contact point, the first size and Second video obtains and shows third video, wherein and the first size is the size of the display screen of the terminal, Second size is the size of second video;
And when second size is not more than the first size, show second video.
In another embodiment of the invention, when first operation includes a sub-operation, first operation is used In the operation for determining first make contact in first video;
When first operation includes two sub-operations, first operation is for the determination the in first video The operation of two contact points and third contact point.
In another embodiment of the invention, first determining module, including:
Obtaining unit obtains the first area that user contacts the terminal for being operated according to described first;
Determination unit, for according to the first area, determining that the central point of the first area is first contact Point.
In first determining module:The obtaining unit is additionally operable to, according to described two sub-operations, be used respectively Family contacts second area and the third region of the terminal;
The determination unit is additionally operable to determine that the central point of the second area is described the according to the second area Two contact points;And according to the third region, determine that the central point in the third region is the third contact point.
In another embodiment of the invention, second determining module, including:
Receiving unit, for receiving the second operation;
Acquiring unit obtains at least one sliding that user operates by described second for being operated according to described second Track;
Determination unit, described according to the sliding trace of the maximum length at least one sliding trace, determining The air line distance of the two-end-point of the sliding trace of maximum length;And the contracting of first video is determined according to the air line distance Multiple is put, the air line distance is directly proportional to the scaling multiple of the first video.
In another embodiment of the invention, the determination unit is additionally operable to:
When second operation is slides with the direction of the starting point of the sliding trace, the separate first make contact, The amplification factor of first video is determined according to the air line distance;Alternatively,
When second operation is slides with the direction of the starting point of the sliding trace, the close first make contact, The minification of first video is determined according to the air line distance.
In another embodiment of the invention, after the first make contact determines, and second operation executes When, first operation remains unchanged.
In another embodiment of the invention, the determination unit is additionally operable to:
When second operation is with the starting point of the sliding trace of the maximum length, separate second contact point and institute When stating the direction sliding of the central point between the line of third contact point formation, determine that described first regards according to the air line distance The amplification factor of frequency;Alternatively,
When second operation is with the starting point of the sliding trace, close second contact point and third contact When the direction sliding of the central point between the line that point is formed, the diminution times of first video is determined according to the air line distance Number.
In another embodiment of the invention, the processing module, including:
Determination unit, for determining basic point according to the contact point;
Obtaining unit cuts second video according to the first size for the point centered on the basic point It takes, obtains the third video.
The determination unit is used for:When the contact point is one, determine that the first make contact is basic point;Alternatively, When the contact point is two, the central point between the line that second contact point and the third contact point are formed is determined For basic point.
In another embodiment of the invention, the processing module further includes:
Display unit, for the Video Layer and figure map overlay to be obtained the first figure layer, by first figure layer Be projected in the display screen, so as to described in the display screen display in the first figure layer second video or institute State third video.
The embodiment of the present invention provides a kind of method and device of video scaling, by when showing the first video, receives the One operation determines contact point in Video Layer according to first operation;The second operation is received, is determined according to second operation The scaling multiple of first video;First video is zoomed in and out according to the scaling multiple of first video, is obtained Second video, wherein the first size is the size of the display screen of the terminal, and second size regards for described second The size of frequency;When second size is more than the first size, according to the contact point, the first size and described Second video obtains and shows third video;When second size is not more than the first size, display described second regards Frequently.The embodiment of the present invention solves the limitation of the screen resolution due to mobile communication equipment in the prior art so that at low point When playing high-resolution video in the mobile communication equipment of resolution, the problem of cannot being amplified to the video, solve simultaneously When playing the video of low resolution in high-resolution mobile communication equipment, which cannot be reduced, cause to regard The problem of frequency fuzzy pictures, realizes and carries out partial enlargement or whole diminution to playing video, improves broadcasting video pictures Clarity.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention without having to pay creative labor, may be used also for those of ordinary skill in the art With obtain other attached drawings according to these attached drawings.
Fig. 1 is a kind of flow chart of the method for video scaling that the embodiment of the present invention 1 provides;
Fig. 2 is the flow chart of the method for another video scaling that the embodiment of the present invention 1 provides;
Fig. 3 is the schematic diagram of the first video of display screen display for the terminal that the embodiment of the present invention 1 provides;
Fig. 4 is a kind of flow chart of the scaling multiple for the first video of determination that the embodiment of the present invention 1 provides;
Fig. 5 is the flow chart for the scaling multiple that the another kind that the embodiment of the present invention 1 provides determines the first video;
Fig. 6 is the schematic diagram for the second video of display that the embodiment of the present invention 1 provides;
Fig. 7 be the embodiment of the present invention 1 provide when the second size be more than first size when, show third video signal Figure;
Fig. 8 be the embodiment of the present invention 1 provide when the second size be less than first size when, show the second video signal Figure;
Fig. 9 be the embodiment of the present invention 1 provide when the second size be equal to first size when, show the second video signal Figure;
Figure 10 is a kind of structure chart of the device for video scaling that the embodiment of the present invention 2 provides;
Figure 11 is the structure chart of the device for another video scaling that the embodiment of the present invention 2 provides.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other without creative efforts Embodiment shall fall within the protection scope of the present invention.
Embodiment 1
As shown in Figure 1, the embodiment of the present invention provides a kind of flow chart of the method for video scaling, the executive agent of this method For terminal, which has touch screen functionality, wherein the terminal can be mobile phone, tablet computer etc..This method includes following step Suddenly:
Step 101, when showing the first video, the first operation is received, contact is determined according to the first operation in Video Layer Point;
Video is the various technologies captured, noted down by using electric signal mode, handled, stored, transmitted and reappeared A series of static images are presented as continuous picture.Continuous image change it is per second more than more than 24 frame pictures when, according to regarding Feel persists principle, and human eye can not distinguish the tableaux of single width, so appearing to be smooth continuous visual effect.
For determining contact point, which is in the region obtained when user shows screen by contact for first operation Heart point, the region can be the irregular area that user contacts that terminal is obtained by finger, can also pass through the equipment such as capacitance pen Contact the regular domain that terminal obtains.First operation can determine a contact point, alternatively, the first operation can determine that two connect Contact.
Video Layer is used to store the data of video.Video Layer and graphic diagram stacking usually is shown in display screen In addition the figure layer after.Wherein, figure figure layer is used to store the data of title bar, the data and frame of the toolbar for controlling video Data etc..
Step 102, the second operation is received, the scaling multiple of the first video is determined according to the second operation;
Scaling multiple of second operation for determining the first video.In the present embodiment, the second operation is moved according to contact point Dynamic direction, and determine according to the air line distance of the two-end-point of at least one sliding trace the scaling multiple of the first video.
Optionally, when the second operation is with the starting point of the sliding trace, when the direction far from basic point is slided, second operates For amplifieroperation;When the second operation is with the starting point of the sliding trace, when being slided close to the direction of basic point, the second operation is contracting Small operation.
Optionally, when the second operation is with the starting point of the sliding trace of maximum length, separate second contact point and third contact When the direction sliding of the central point between the line that point is formed, the second operation is amplifieroperation;When the second operation is with maximum length Sliding trace starting point, the direction sliding of the central point between the line that the second contact point and third contact point are formed When, the second operation is reduction operation.
Step 103, it is zoomed in and out according to the first video of scaling multiple pair of the first video, obtains the second video;
When contact point is one, the central point in the region that user obtains when showing screen by contact is contact point, should Region can be the irregular area that user contacts that terminal is obtained by finger, or be contacted eventually by equipment such as capacitance pens It is first make contact to hold the regular domain obtained, the contact point.In addition user shows another region of screen acquisition by contact Central point be the 4th contact point.Wherein, by the continuous movement of the 4th contact point, sliding trace is obtained.With first make contact For basic point when, when user contact terminal display, and with far from first make contact direction slide four contact points when, first Video amplifier obtains the second video;When user contacts terminal display, and to connect sliding the close to the direction of first make contact When four contact points, the first video reduces, and obtains the second video.
It should be noted that when carrying out sliding the 4th contact point operation, user contacts display screen and keeps first always The position of contact point is constant.
For example, user's finger(Such as index finger)It pins the first video and needs the region amplified, the center in the region of the amplification Point is first make contact.When another finger of user(Such as middle finger)When contacting terminal display four contact point of acquisition, user When sliding four contact points with the direction far from first make contact, the first video is amplified by basic point of first make contact, is obtained Obtain the second video, wherein the second video is the first video after amplification;When the other hand abutment terminal display of user When obtaining four contact points, when user close to the direction of contact point to slide four contact points, the first video is with first make contact It is reduced for basic point, obtains the second video, wherein the second video is the first video after reducing.
When contact point is two, user obtains two regions when showing screen by contact, here in two regions Heart point is respectively the second contact point and third contact point.Wherein, pass through the not offset of the second contact point and third contact point respectively It is dynamic, obtain two sliding traces.Central point between the line formed using the second contact point and third contact point as basic point, when with Family contacts terminal display, and is slided simultaneously to the second contact point and third contact point with the direction far from the basic point When, the first video amplifier obtains the second video;When user's contact terminal display, and simultaneously with the direction of the close basic point When being slided to the second contact point and third contact point, the first video reduces, and obtains the second video.
For example, user is simultaneously with two fingers(Such as index finger and middle finger)It contacts the first video and needs the region amplified, two The central point that finger contacts two irregular areas of the display screen where the first video respectively is two contact points, and two connect Central point between the line that contact is formed is the central point in the region of the amplification.When two fingers of user contact terminal simultaneously When showing screen, and being carried out at the same time sliding with the direction far from central point, the first video is amplified by basic point of central point, is obtained Obtain the second video;When two fingers of user contact terminal display simultaneously, and it is carried out at the same time with the direction by pericenter When sliding, the first video is reduced by basic point of central point, obtains the second video.
Step 104, it when the second size is more than first size, according to contact point, first size and the second video, obtains And show third video, wherein first size is the size of the display screen of terminal, and the second size is the size of the second video;
When the second size is more than first size, illustrate that the second video is the first video after amplification.In being with basic point Heart point is intercepted by the second video of first size pair, to obtain third video.Wherein, first size and the second size It is that length is multiplied by wide rectangle, unit is pixel.
When contact point is one, determine that first make contact is basic point;Alternatively,
When contact point is two, determine that the central point between the line that the second contact point and third contact point are formed is base Point.
For example, the first video of user couple is amplified, the second video is shown on Video Layer, in the aobvious of the terminal The point centered on basic point is shown on display screen curtain, intercept to which the third obtained regards by the second video of first size pair Frequently, i.e., the part of the second video is shown on the display screen of terminal.
Step 105, when the second size is not more than first size, the second video is shown.
When the second size is not more than first size, illustrate that the second video is the first video after reducing.In terminal The second video is directly displayed on display screen, i.e., shows the first video after reducing on the display screen of terminal.
For example, when the second size is less than first size, first due to high-resolution terminal plays low resolution regards Frequently, the first video playing may be caused fuzzy, user first can clearly regard by reducing the first video so as to watch Frequently.Alternatively, when the second size is equal to first size, illustrates that user restores the first video after amplification, restoring User can carry out the full content of the first video of viewing later.
It should be noted that step 104 and step 105 are relationships arranged side by side, the two can not be performed simultaneously.In fig. 1, Step 105 is indicated with dotted line frame, or can also indicate step 104 with dotted line frame, and wherein dotted line frame indicates that this step is optional Step, naturally it is also possible to otherwise indicate that optional relationship, the embodiment of the present invention are not limited the side for indicating optional relationship Formula.
The embodiment of the present invention provides a kind of method of video scaling, by when showing the first video, receiving the first operation, Contact point is determined according to first operation in Video Layer;The second operation is received, described the is determined according to second operation The scaling multiple of one video;First video is zoomed in and out according to the scaling multiple of first video, second is obtained and regards Frequently, wherein the first size is the size of the display screen of the terminal, and second size is the ruler of second video It is very little;When second size is more than the first size, regarded according to the contact point, the first size and described second Frequently, it obtains and shows third video;When second size is not more than the first size, second video is shown.This Inventive embodiments solve the limitation of the screen resolution due to mobile communication equipment in the prior art so that in low resolution When playing high-resolution video in mobile communication equipment, the problem of cannot being amplified to the video, while solving in height When playing the video of low resolution in the mobile communication equipment of resolution ratio, which cannot be reduced, lead to video pictures Fuzzy problem realizes and carries out partial enlargement or whole diminution to playing video, improves and play the clear of video pictures Degree.
As shown in Fig. 2, the embodiment of the present invention provides the flow chart of the method for another video scaling, the execution master of this method Body is terminal, which has touch screen functionality, wherein the terminal can be mobile phone, tablet computer etc..This method includes following step Suddenly:
Step 201, when showing the first video, terminal receives the first operation, true according to the first operation on Video Layer Determine the contact point of predetermined number;
Video Layer is used to store the data of video.Video Layer and graphic diagram stacking usually is shown in display screen In addition the figure layer after.Wherein, figure figure layer is used to store the data of title bar, the data and frame of the toolbar for controlling video Data etc..
First operation is for determining contact point, and when the first operation includes a sub-operation, the first operation is for first The operation of first make contact is determined in video;When the first operation includes two sub-operations, the first operation is in the first video The operation of middle determination the second contact point and third contact point.
When contact point is first make contact, terminal is contacted by user according to the first operation and obtains first area, then According to first area, determine that the central point of first area is first make contact.First area can be that user is contacted by finger The irregular area that terminal obtains can also contact the regular domain that terminal obtains by equipment such as capacitance pens.
When contact point is the second contact point and third contact point, contact point is determined according to the first operation, is used respectively Family contacts second area and the third region of terminal, then according to second area, determines that the central point of second area connects for second Contact, and according to third region, determine that the central point in third region is third contact point, it should be noted that second area It is identical as the acquisition pattern of first area with the acquisition pattern in third region, specifically can referring to the acquisition pattern of first area, This is not repeated one by one.For example, when user contacts terminal display(As user can contact terminal display screen by finger Curtain, which can be index finger), what terminal received is that user contacts an irregular area for showing screen, and then basis should Irregular area determines that the central point of the irregular area is first make contact.
When user contacts two irregular areas of terminal display simultaneously(As user can be connect by two fingers Terminal display is touched, the two fingers can be index finger and middle finger), that terminal receives is two that user contacts display screen Then irregular area determines that the central point of the irregular area is the second contact point according to one of irregular area; Determine that the central point of the irregular area is third contact point according to another irregular area.
Specifically, as shown in figure 3, the display screen 301 in terminal shows the first video 303.
Wherein, when contact point is one, determine that first make contact is basic point 302;Alternatively, when contact point is two, Determine that the central point between the line that the second contact point and third contact point are formed is basic point 302.
Step 202, when contact point is one, terminal receives the second operation on Video Layer, true according to the second operation The scaling multiple of fixed first video;
When contact point is one, illustrate that the contact point is first make contact.
As shown in figure 4, when determining the scaling multiple of the first video according to the second operation, include the following steps:
Step 401, terminal receives the second operation;
Second operation amplifies the first video of the first video or diminution for determining, and determines the scaling times of the first video Number.
Step 402, according to the second operation, terminal obtains a sliding trace of the user by the second operation;
The sliding trace is the motion track of the 4th contact point;In the present embodiment, the first operation is additionally operable to determine the 4th Contact point;Terminal obtains the fourth region that user contacts terminal according to the first operation, then determines the 4th area according to the fourth region The central point in domain 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, another finger of user(Such as middle finger)Contact terminal display screen When curtain, what terminal received is the irregular area that user's finger contacts show screen, then true according to the irregular area The central point of the fixed irregular area is the 4th contact point.After terminal receives the 4th contact point, user is slided eventually with finger End shows screen, and to form the motion track of one article of the 4th contact point, which is that terminal passes through the 4th contact point A constantly mobile sliding trace to obtain.
It should be noted that after first make contact determines, and when the second operation execution, the first operation is kept not Become.For example, when the forefinger contact of user shows that the central point of the first area of screen is first make contact, the food of user is needed Finger is permanently connected to display screen, and cannot change the position of first make contact, until the first video scaling is completed, user Index finger can just leave display screen.
Step 403, according to the sliding trace, terminal determines the air line distance of the two-end-point of the sliding trace;
Since user carries out the slide of the 4th contact point manually so that sliding trace is not straight line, and terminal needs Determine the shortest distance between sliding trace two-end-point, which is the air line distance of the two-end-point of sliding trace.
Step 404, according to the air line distance, terminal determines the scaling multiple of the first video.
Air line distance is directly proportional to the scaling multiple of the first video.When the sliding trace of the 4th contact point is bigger, illustrate this Air line distance is bigger, then the scaling multiple of the first video is bigger.In the present embodiment, when air line distance often increases by one millimeter, The scaling multiple of first video increases by 2 times.Certainly, the ratio of terminal-pair air line distance and the scaling multiple of the first video is not limited Example, can also be when air line distance often increases by one millimeter, and the scaling multiple of the first video increases by 3 times or 4 times etc..
For example, after terminal receives the sliding trace that user is slided by middle finger on terminal display, terminal is true The air line distance length of the two-end-point of the fixed sliding trace is 3 millimeters, then 6 times of the first video scaling.
After determining the scaling multiple of the first video, step 203 is continued to execute.
Step 203, when contact point is two, terminal receives the second operation on Video Layer, true according to the second operation The scaling multiple of fixed first video;
When contact point is two, illustrate that the contact point is the second contact point and third contact point.
As shown in figure 5, when determining the scaling multiple of the first video according to the second operation, include the following steps:
Step 501, terminal receives the second operation;
The effect of second operation is identical as the effect of the second operation in step 401.
Step 502, according to the second operation, terminal obtains two sliding traces of the user by the second operation;
One of sliding trace is the motion track of the second contact point, another sliding trace is the shifting of third contact point Dynamic rail mark.It should be noted that obtaining two sliding rails by the continuous movement of the second contact point and third contact point respectively Mark.For example, after terminal receives the second contact point and third contact point simultaneously, i.e. user is by two fingers(If index finger is in Refer to)After contacting terminal display simultaneously, two fingers of user slide on terminal display simultaneously, to shape At two sliding traces, terminal receives the two sliding traces at this time.After the first video scaling is completed, two fingers of user It may exit off terminal display.
Step 503, according to the sliding trace of the maximum length at least one sliding trace, terminal determines maximum length The air line distance of the two-end-point of sliding trace;
Carry out the slide of the second contact point and the slide of third contact point manually due to user so that two Sliding trace is not straight line, and the length of two sliding traces is not necessarily identical, and terminal is it needs to be determined that two sliding rails The sliding trace of maximum length in mark determines the most short distance between the sliding trace two-end-point according to the sliding trace of maximum length From the shortest distance is the air line distance of the two-end-point of sliding trace.
Step 504, according to the air line distance, terminal determines the scaling multiple of the first video.
Air line distance is directly proportional to the scaling multiple of the first video.When sliding trace is bigger, illustrate that the air line distance is got over Greatly, then the scaling multiple of the first video is bigger.
After determining the scaling multiple of the first video, step 204 is continued to execute.
It should be noted that step 202 and step 203 are relationships arranged side by side, the two can not be performed simultaneously.In fig 2, Step 203 is indicated with dotted line frame, or can also indicate step 202 with dotted line frame, and wherein dotted line frame indicates that this step is optional Step, naturally it is also possible to otherwise indicate that optional relationship, the embodiment of the present invention are not limited the side for indicating optional relationship Formula.
Step 204, according to the first determining video scaling multiple, terminal contracts to the first video on Video Layer It puts, obtains the second video;
As shown in fig. 6, terminal zooms in and out the first video on Video Layer, the second video 601 is obtained;
The position of basic point 602 is constant in the second video 601.
Second video 601 is the video after terminal is zoomed in and out according to scaling the first video of multiple pair.
When contact point is one;
When the second operation is, with the starting point of sliding trace, when the direction far from first make contact is slided, the first video carries out Amplification, to obtain the second video 601;When the second operation is with the starting point of sliding trace, the direction cunning of close first make contact When dynamic, the first video is reduced, to obtain the second video 601.
For example, after terminal receives first make contact, the index finger of user contacts terminal display and keeps eating always The position of finger is constant, and when then middle finger is slided with the direction far from index finger, the first video is amplified, to obtain second Video 601;After terminal receives first make contact, the index finger of user contacts terminal display and keeps the position of index finger always Set constant, when then middle finger close to the direction of index finger to be slided, the first video is reduced, to obtain the second video 601。
When contact point is two;
When the second operation is, with the starting point of the sliding trace of maximum length, separate second contact point and third contact point is formed Line between central point direction sliding when, the first video basic point is amplified, to obtain the second video 601;When Two operations are the side between the line that the central point of the second contact point and third contact point is formed with the starting point of sliding trace To when sliding, the first video is reduced, to obtain the second video 601.
For example, after terminal receives the second contact point and third contact point, the index finger as user and middle abutment terminal When showing screen and being slided in a reverse direction, the first video is amplified, to obtain the second video 601;Work as user Index finger and middle abutment terminal display and when being slided with opposite direction, the first video is reduced, to obtain Obtain the second video 601.
Step 205, it when the second size is more than first size, according to contact point, first size and the second video, obtains Third video;
As shown in fig. 7, when the second size 701 is more than first size 702, illustrate that the second video is first after amplification Video.The point centered on basic point 703 intercepts the second video according to first size 702, to obtain third video 704.
It should be noted that third video 704 is the part of the second video, first size 702 is the display screen of terminal Size, the second size 701 be the second video size.
First size 702 and the second size 701 are that length is multiplied by high rectangle, and unit is pixel.
For example, due to high-resolution first video of the device plays of low resolution, the first video details exhibition may be caused Existing unintelligible, the first video of user couple is amplified, and the second video is shown on Video Layer, in the display screen of the terminal The point centered on basic point is shown on curtain, second video intercept to which the third obtained regards by first size 702 Frequently 704, i.e., the third video 704 shown on the display screen of terminal is the part of the second video.
Step 206, when the second size is not more than first size, the second video is shown;
As shown in figure 8, when the second size 801 is less than first size 803, illustrate that the second video is first after reducing Video, wherein the position of basic point 802 remains unchanged.
The second video is directly displayed on the display screen of terminal, i.e., is shown on the display screen of terminal after reducing First video.
As shown in figure 9, when the second size 801 is equal to first size 803, illustrate that the second video is regarding after restoring Frequently, i.e. the first video amplifier of terminal-pair, then the first video of amplification is narrowed down into original size.The position of basic point 802 is kept not Become.
It should be noted that the second size 801 is equal to first size 803, but differentiation first size 803 for clarity With the second size 801, first size 803 expression is not overlapped into the second size 801 in figure.
For example, when the second size 801 is less than first size 803, due to high-resolution terminal plays low resolution First video may cause the first video playing fuzzy, and user can be by reducing the first video, so as to watch clearly First video.Alternatively, when the second size 801 is equal to first size 803, illustrate that user carries out the first video after amplification It restores, user can carry out the full content of the first video of viewing after the reduction.
It should be noted that step 205 and step 206 are relationships arranged side by side, the two can not be performed simultaneously.In fig 2, Step 206 is indicated with dotted line frame, or can also indicate step 205 with dotted line frame, and wherein dotted line frame indicates that this step is optional Step, naturally it is also possible to otherwise indicate that optional relationship, the embodiment of the present invention are not limited the side for indicating optional relationship Formula.
Step 207, Video Layer and figure map overlay are obtained into the first figure layer, which is projected in aobvious by terminal In display screen curtain, so as to the second video or third video in showing screen display first figure layer.
When being amplified operation to the first video, the point centered on basic point determines third video in Video Layer, then will Video Layer and figure map overlay obtain the first figure layer, within display screen by the projection of the first figure layer, so as in display screen Show the third video in the first figure layer;
When carrying out reduction operation to the first video, the second video is determined in Video Layer, then by Video Layer and figure Map overlay obtains the first figure layer, within display screen by the projection of the first figure layer, so as in showing the first figure layer of screen display The second video.
A kind of method of video scaling provided in an embodiment of the present invention, may be implemented the mobile communication equipment in low resolution Play high-resolution video or high-resolution mobile communication equipment play low resolution video when, can to play Video zoom in and out, realize the operation that partial enlargement is carried out to the first video of broadcasting or is integrally reduced, it is clear to reach The clear purpose for playing video pictures.
Embodiment 2
As shown in Figure 10, the embodiment of the present invention provides a kind of device of video scaling, including:First determining module 1001, Second determining module 1002, Zoom module 1003, processing module 1004;The device has touch screen functionality, which can be arranged In terminal, which can be mobile phone, tablet computer etc..
First determining module 1001 plays Video Layer for when showing the first video, receiving the first operation in superposition Contact point is determined according to the first operation;
For determining contact point, which is in the region obtained when user shows screen by contact for first operation Heart point, the region can be the irregular area that user contacts that terminal is obtained by finger, can also pass through the equipment such as capacitance pen Contact the regular domain that terminal obtains.First operation can determine a contact point, alternatively, the first operation can determine that two connect Contact.
Video Layer is used to store the data of video.Video Layer and graphic diagram stacking usually is shown in display screen In addition the figure layer after.Wherein, figure figure layer is used to store the data of title bar, the data and frame of the toolbar for controlling video Data etc..
After the first determining module 1001 determines contact point, the second determining module 1002, for receiving the second operation, root The scaling multiple of the first video is determined according to the second operation;
Scaling multiple of second operation for determining the first video.In the present embodiment, 1002 basis of the second determining module The direction of contact point movement, and determine according to the air line distance of the two-end-point of at least one sliding trace the scaling of the first video Multiple.
Optionally, when the second operation is with the starting point of the sliding trace, when the direction far from first make contact is slided, the Two determining modules 1002 determine that the second operation is amplifieroperation;When the second operation is connect with the starting point of the sliding trace, close first When the direction of contact is slided, the second determining module 1002 determines that the second operation is reduction operation.
Optionally, when the second operation is with the starting point of the sliding trace of maximum length, separate second contact point and third contact When the direction sliding of the central point between the line that point is formed, the second determining module 1002 determines that the second operation is amplifieroperation; When between the line that the second operation is formed with the starting point of the sliding trace of maximum length, close second contact point and third contact point Central point direction sliding when, the second determining module 1002 determine second operation be reduction operation.
After the scaling multiple that the second determining module 1002 determines the first video, Zoom module 1003, for according to the The first video of scaling multiple pair of one video zooms in and out, and obtains the second video;
Optionally, when contact point is one, the first determining module 1001 determines to be obtained when user shows screen by contact The central point in the region obtained is contact point, which can be the irregular area that user contacts that terminal is obtained by finger, The regular domain that terminal obtains can be contacted by equipment such as capacitance pens, which is first make contact.Optionally, first really Cover half block 1001 determines that user shows that the central point in another region of screen acquisition is the 4th contact point by contact.Wherein, lead to The continuous movement of the 4th contact point is crossed, sliding trace is obtained.When using first make contact as basic point, when user contacts terminal display screen Curtain, and the 4th contact point is slided with the direction far from first make contact, according to the straight line of the 4th contact point sliding trace two-end-point Distance, the second determining module 1002 determine the amplification factor of the first video, and then Zoom module 1003 is according to the amplification factor pair First video amplifier obtains the second video, wherein the second video is the first video after amplification;It is shown when user contacts terminal Display screen curtain, and with close to first make contact direction slide four contact points when, according to the 4th contact point sliding trace two-end-point Air line distance, the second determining module 1002 determine the first video minification, then Zoom module 1003 is according to the diminution The first video of multiple pair reduces, and obtains the second video, wherein the second video is the first video after reducing.
It should be noted that when carrying out sliding the 4th contact point operation, user contacts display screen and keeps first always The position of contact point is constant.
For example, user's finger(Such as index finger)It pins the first video and needs the region amplified, the first determining module 1001 is really The central point in the region of the fixed amplification is first make contact.Using first make contact as basic point, when another finger of user(As in Refer to)When contacting terminal display four contact point of acquisition, user slides the 4th contact point with the direction far from first make contact, According to the two-end-point air line distance of the 4th contact point sliding trace, the second determining module 1002 determines the times magnification of the first video Number, then Zoom module 1003 is amplified according to first video of amplification factor pair, obtains the second video;It is another as user When finger contacts terminal display four contact point of acquisition, when user close to the direction of contact point to slide four contact points, According to the two-end-point air line distance of the 4th contact point sliding trace, the second determining module 1002 determines the diminution times of the first video Number, then Zoom module 1003 is reduced according to first video of minification pair, obtains the second video.
Optionally, when contact point is two, the first determining module 1001 determines to be obtained when user shows screen by contact The central point of two irregular areas obtained is respectively the second contact point and third contact point.Wherein, pass through the second contact respectively The continuous movement of point and third contact point obtains two sliding traces.The line formed with the second contact point and third contact point Between central point be basic point, when user contact terminal display, and with far from the basic point direction simultaneously to second contact When point and third contact point are slided, according to the air line distance of the two sliding trace two-end-points, the second determining module 1002 Determine the amplification factor of the first video, then Zoom module 1003 obtains second according to first video amplifier of amplification factor pair Video;When user's contact terminal display, and with close to the direction of the basic point while to the second contact point and third contact point When being slided, according to the air line distance of the two sliding trace two-end-points, the second determining module 1002 determines the first video Minification, then Zoom module 1003 is according to first video of amplification factor pair diminution, the second video of acquisition.
For example, user is simultaneously with two fingers(Such as index finger and middle finger)It contacts the first video and needs the region amplified, first Determining module 1001 determines that the central point in two regions of the display screen where user's the first video of contact is two contact points, Central point between two contact points is the central point in the region of the amplification.Center between the line formed with two contact points Point is basic point, when two fingers of user contact terminal display simultaneously, and is carried out at the same time cunning with the direction far from central point When dynamic, according to the air line distance of the two sliding trace two-end-points, the second determining module 1002 determines the times magnification of the first video Number, then Zoom module 1003 is amplified according to first video of amplification factor pair, obtains the second video;When two of user Finger contacts terminal display simultaneously, and when being carried out at the same time sliding with the direction by pericenter, according to the two sliding rails The air line distance of mark two-end-point, the second determining module 1002 determine the minification of the first video, then Zoom module 1003 It is reduced according to first video of amplification factor pair, obtains the second video.
The embodiment of the present invention provides a kind of device of video scaling, by when showing the first video, the first determining module The first operation is received, contact point is determined according to the first operation in Video Layer;Then the second operation, the second determining module root are received The scaling multiple of the first video is determined according to the second operation;It is carried out according to scaling multiple the first video of Zoom module pair of the first video Scaling obtains the second video, when the second size is more than first size, according to contact point, first size and the second video, place Reason module obtains and shows third video, wherein the size of terminal display is first size, and the size of the second video is the Two sizes;When the second size is not more than first size, processing module shows the second video.The embodiment of the present invention solves existing Due to the limitation of the screen resolution of mobile communication equipment in technology so that played in the mobile communication equipment of low resolution high When the video of resolution ratio, the problem of cannot being amplified to the video, while solving in high-resolution mobile communication equipment When the middle video for playing low resolution, which cannot be reduced, the problem for causing video pictures fuzzy is realized to broadcasting It puts video and carries out partial enlargement or whole diminution, improve the clarity for playing video pictures.
Further, as shown in figure 11, the first determining module 1001 includes in the device:Obtaining unit 10011 determines single Member 10012;
When the first operation includes a sub-operation, behaviour of first operation for determining first make contact in the first video Make;
Wherein, obtaining unit 10011 obtains the first area that user contacts terminal according to the first operation;
First area can be the irregular area that user contacts that terminal display obtains, or pass through electricity Hold the regular domain that the equipment such as pen contact terminal obtains.
After obtaining unit 10011 obtains first area, determination unit 10012 determines the firstth area according to first area The central point in domain is first make contact.
When the first operation includes two sub-operations, the first operation is for the second contact point of determination and the in the first video The operation of three contact points;
Wherein, obtaining unit 10011 obtains second area and third that user contacts terminal respectively according to two sub-operations Region;
Second area and the acquisition pattern in third region are identical as the acquisition pattern of first area, specifically can be referring to the firstth area The acquisition pattern in domain, does not repeat one by one herein.
Determination unit 10012 determines that the central point of second area is the second contact point according to second area;And according to Three regions determine that the central point in third region is third contact point.
Further, the second determining module 1002 in the device, including:Receiving unit 10021, acquiring unit 10022, really Order member 10023,
After determination unit 10012 determines contact point, receiving unit 10021 receives the second operation;
Second operation amplifies the first video of the first video or diminution for determining, and determines the scaling of the first video Multiple.
According to the second operation, acquiring unit 10022 obtains at least one sliding trace of the user by the second operation;
When contact point is one, acquiring unit 10022 obtains a sliding trace;
When 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, determination unit 10023 determines maximum length Sliding trace two-end-point air line distance;And the scaling multiple of the first video, air line distance are determined according to air line distance It is directly proportional to the scaling multiple of the first video.
Optionally, when contact point is one, the determination unit 10012 in the first determining module 1001 is for determining the 4th Contact point.Wherein, the method for determination of the 4th contact point is consistent with first make contact, does not repeat one by one herein.
By the continuous movement of the 4th contact point, sliding trace is obtained.When using first make contact as basic point, when the second operation For with the starting point of the 4th contact point sliding trace, when the direction far from first make contact is slided, determination unit 10023 determines second Operation is amplifieroperation, and the amplification factor of the first video is determined according to the air line distance of the 4th contact point sliding trace;
When the second operation is slides with the direction of the starting point of the 4th contact point sliding trace, close first make contact, really Order member 10023 determines that the second operation is reduction operation, and determines first according to the air line distance of four contact point sliding traces The minification of video.
It should be noted that when carrying out sliding the 4th contact point operation, user contacts display screen and keeps first always The position of contact point is constant.
When contact point is two, by the continuous movement of the second contact point and third contact point, two cunnings are obtained respectively Dynamic rail mark.When the second operation is, with the starting point of the sliding trace of maximum length, separate second contact point and third contact point is formed Line between central point direction sliding when, determination unit 10023 determines that the second operation is amplifieroperation, and according to this The air line distance of sliding trace determines the amplification factor of the first video;
When the second operation is with the starting point of sliding trace, between the line that the second contact point and third contact point are formed Central point direction sliding when, determination unit 10023 determines that the second operation is reduction operation, and according to the sliding trace Air line distance determines the minification of the first video.
It should be noted that since user carries out the sliding of the slide and third contact point of the second contact point manually Operation, two sliding traces of acquisition may not be straight line, and the length of two sliding traces may differ, and determine single Member 10023 it needs to be determined that in two sliding traces maximum length sliding trace, according to the sliding trace of maximum length determine should The shortest distance between sliding trace two-end-point, the shortest distance are the air line distance of the two-end-point of sliding trace, and according to Air line distance determines that the scaling multiple of the first video, air line distance are directly proportional to the scaling multiple of the first video.
Further, the processing module 1004 in the device, including:Determination unit 10041, obtaining unit 10042, display Unit 10043;
Determination unit 10041, for determining basic point according to contact point;When contact point is one, first make contact is determined For basic point;Alternatively, when contact point is two, the central point between the line that the second contact point and third contact point are formed is determined For basic point.
After obtaining scaling multiple, when the second size is more than first size, point, obtaining unit centered on basic point 10042 intercept according to the second video of first size pair, obtain third video;Wherein, the size of terminal display is the The size of one size, the second video is the second size.
Video Layer and figure map overlay are obtained the first figure layer, the first figure layer are projected in aobvious by display unit 10043 In display screen curtain, so as to the second video or third video in showing the first figure layer of screen display.
When the second size is more than first size, illustrate that the second video is the first video after amplification.In being with basic point Heart point is intercepted according to the second video of first size pair, to obtain third video;When the second size is not more than first size When, illustrate that the second video is the first video after reducing;
Alternatively, when the second size is equal to first size, illustrate that user restores the first video after amplification, User can carry out the full content of the first video of viewing after reduction.
For example, due to high-resolution first video of the device plays of low resolution, the first video details exhibition may be caused Existing unintelligible, Zoom module 1003 is amplified the first video, and the second video, display unit are shown on Video Layer 10042 are shown the point centered on basic point, and the third video to obtain intercept according to the second video of first size pair, The part of the second video is shown on the display screen of terminal;Alternatively, due to high-resolution terminal plays low resolution The first video, the first video playing may be caused fuzzy, Zoom module 1003 reduces the first video so that Yong Huke To watch clearly the first video.
The processing procedure of device in the present embodiment, referring to the processing procedure of above-mentioned video scaling.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (18)

1. a kind of method of video scaling, is applied to terminal, the terminal has touch screen functionality, which is characterized in that including:
When showing the first video, the first operation is received, contact point is determined according to first operation in Video Layer;
The second operation is received, the scaling multiple of first video is determined according to second operation, is specifically included:Receive second Operation;It is operated according to described second, obtains at least one sliding trace that user operates by described second;According to it is described at least The sliding trace of maximum length in one sliding trace, determine the straight line of the two-end-point of the sliding trace of the maximum length away from From;The scaling multiple of first video, the contracting of the air line distance and first video are determined according to the air line distance It is directly proportional to put multiple;
When the contact point is first make contact, the scaling multiple that first video is determined according to the air line distance Including:When second operation is slides with the direction of the starting point of the sliding trace, the separate first make contact, according to The air line distance determines the amplification factor of first video;When second operation is with the starting point of the sliding trace, When close to the sliding of the direction of the first make contact, the minification of first video is determined according to the air line distance;
First video is zoomed in and out according to the scaling multiple of first video, obtains the second video;
When the second size is more than first size, according to the contact point, the first size and second video, obtain And show third video, wherein the first size is the size of the display screen of the terminal, and second size is described The size of second video;
When second size is not more than the first size, second video is shown.
2. according to the method described in claim 1, it is characterized in that,
When first operation includes a sub-operation, first operation in first video for determining that first connects The operation of contact;
When first operation includes two sub-operations, first operation in first video for determining that second connects The operation of contact and third contact point.
3. according to the method described in claim 2, it is characterized in that, when the contact point be first make contact when, the basis First operation determines contact point, including:
It is operated according to described first, obtains the first area that user contacts the terminal;
According to the first area, determine that the central point of the first area is the first make contact.
4. according to the method described in claim 2, it is characterized in that, when the contact point is the second contact point and third contact point When, it is described that contact point is determined according to first operation, including:
According to described two sub-operations, second area and third region that user contacts the terminal are obtained respectively;
According to the second area, determine that the central point of the second area is second contact point;And according to described Three regions determine that the central point in the third region is the third contact point.
5. according to the method described in claim 1, it is characterized in that,
After the first make contact determines, and when the second operation execution, first operation remains unchanged.
6. according to the method described in claim 1, it is characterized in that, when the contact point is the second contact point and third contact point When, it is described to determine that the scaling multiple of first video includes according to the air line distance:
When second operation is with the starting point of the sliding trace of the maximum length, far from second contact point and described the When the direction sliding of the central point between the line that three contact points are formed, first video is determined according to the air line distance Amplification factor;
When second operation is with the starting point of the sliding trace, close second contact point and third contact dot At line between central point direction sliding when, the minification of first video is determined according to the air line distance.
7. according to the method described in claim 1, it is characterized in that, it is described when the second size be more than first size when, according to institute Contact point, the first size and second video are stated, obtains and show third video, including:
Basic point is determined according to the contact point;
The point centered on the basic point intercepts second video according to the first size, obtains the third and regard Frequently.
8. the method according to the description of claim 7 is characterized in that described determine basic point according to the contact point, including:
When the contact point is one, determine that the first make contact is basic point;Alternatively,
When the contact point is two, determine that the central point between the line that the second contact point and third contact point are formed is base Point.
9. according to the method described in claim 1 or 7, which is characterized in that the method further includes:
The Video Layer and figure map overlay are obtained into the first figure layer, first figure layer is projected in the display screen In, so as to described in the display screen display in the first figure layer second video or the third video.
10. a kind of device of video scaling, described device have touch screen functionality, which is characterized in that including:
First determining module is operated in Video Layer according to described first for when showing the first video, receiving the first operation Determine contact point;
Second determining module determines the scaling multiple of first video according to second operation for receiving the second operation;
Zoom module obtains second and regards for being zoomed in and out to first video according to the scaling multiple of first video Frequently;
Processing module, for when the second size is more than first size, according to the contact point, the first size and described Second video obtains and shows third video, wherein the first size be terminal display screen size, described second Size is the size of second video;
And when second size is not more than the first size, show second video;
Second determining module, including:
Receiving unit, for receiving the second operation;
Acquiring unit obtains at least one sliding trace that user operates by described second for being operated according to described second;
Determination unit determines the maximum for the sliding trace according to the maximum length at least one sliding trace The air line distance of the two-end-point of the sliding trace of length;And the scaling times of first video is determined according to the air line distance Number, the air line distance are directly proportional to the scaling multiple of the first video;
The determination unit is additionally operable to:
When second operation is slides with the direction of the starting point of the sliding trace, separate first make contact, according to described Air line distance determines the amplification factor of first video;Alternatively,
When second operation is slides with the direction of the starting point of the sliding trace, the close first make contact, according to The air line distance determines the minification of first video.
11. device according to claim 10, which is characterized in that
When first operation includes a sub-operation, first operation in first video for determining that first connects The operation of contact;
When first operation includes two sub-operations, first operation in first video for determining that second connects The operation of contact and third contact point.
12. according to the devices described in claim 11, which is characterized in that first determining module, including:
Obtaining unit obtains the first area that user contacts the terminal for being operated according to described first;
Determination unit, for according to the first area, determining that the central point of the first area is the first make contact.
13. according to the devices described in claim 11, which is characterized in that in first determining module:
The obtaining unit, is additionally operable to according to described two sub-operations, obtains the second area that user contacts the terminal respectively With third region;
The determination unit is additionally operable to determine the central point of the second area according to the second area and is connect for described second Contact;And according to the third region, determine that the central point in the third region is the third contact point.
14. device according to claim 10, which is characterized in that
After the first make contact determines, and when the second operation execution, first operation remains unchanged.
15. device according to claim 10, which is characterized in that the determination unit is additionally operable to:
When second operation is with the starting point of the sliding trace of the maximum length, separate second contact point and third contact point When the direction sliding of the central point between the line of formation, the times magnification of first video is determined according to the air line distance Number;Alternatively,
When second operation is with the starting point of the sliding trace, close second contact point and third contact dot At line between central point direction sliding when, the minification of first video is determined according to the air line distance.
16. device according to claim 10, which is characterized in that the processing module, including:
Determination unit, for determining basic point according to the contact point;
Obtaining unit intercepts second video according to the first size, obtains for the point centered on the basic point Obtain the third video.
17. device according to claim 16, which is characterized in that the determination unit is used for:When the contact point is one When a, determine that the first make contact is basic point;Alternatively, when the contact point is two, the second contact point and third are determined Central point between the line that contact point is formed is basic point.
18. according to the device described in claim 10 or 16, which is characterized in that the processing module further includes:
Display unit projects first figure layer for the Video Layer and figure map overlay to be obtained the first figure layer In the display screen, so as to second video or described the described in the display screen display in the first figure layer Three videos.
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 CN103853482A (en) 2014-06-11
CN103853482B true 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)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
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
CN107547913B (en) * 2016-06-27 2021-06-18 阿里巴巴集团控股有限公司 Video data playing and processing method, client and equipment
CN106227426B (en) * 2016-07-22 2020-05-08 Tcl移动通信科技(宁波)有限公司 Screen zooming control method and system based on mobile terminal
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

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102541319A (en) * 2010-12-20 2012-07-04 联想(北京)有限公司 Electronic equipment and display processing method thereof

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1315807A (en) * 2000-03-31 2001-10-03 北京华诺信息技术有限公司 Adaptive method of standard TV set for browsing image, text and data over network
CN101236472A (en) * 2007-02-01 2008-08-06 英华达(南京)科技有限公司 Method for scaling display video
US9383916B2 (en) * 2009-09-30 2016-07-05 Microsoft Technology Licensing, Llc Dynamic image presentation
CN102609193B (en) * 2011-11-23 2014-11-05 明基电通有限公司 Electronic device and operation method thereof

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102541319A (en) * 2010-12-20 2012-07-04 联想(北京)有限公司 Electronic equipment and display processing method thereof

Also Published As

Publication number Publication date
CN103853482A (en) 2014-06-11

Similar Documents

Publication Publication Date Title
CN103853482B (en) A kind of method and device of video scaling
CN108958615B (en) Display control method, terminal and computer readable storage medium
JP7359920B2 (en) Image processing method and flexible screen terminal
CN102737228B (en) Display control apparatus, display control method and program
US20160239203A1 (en) Electronic apparatus and display method
CN104572058B (en) A kind of information processing method and electronic equipment
US20100031188A1 (en) Method for zooming image and electronic device using the same
CN103176744B (en) A kind of display equipment and its information processing method
CN102163126A (en) Display method and electronic device for using the same
KR101885132B1 (en) Apparatus and method for input by touch in user equipment
EP2597559A3 (en) Information Processing Apparatus and Information Processing Method to Realize Input Means Having High Operability
US20140229834A1 (en) Method of video interaction using poster view
CN101419532B (en) Method for changing information content dimension in mobile terminal and the mobile terminal
CN109582207A (en) Display methods, device, terminal and the storage medium at multiple task management interface
CN104423826B (en) A kind of method and device for realizing scaling using middle button of mouse and idler wheel
US20150135090A1 (en) User adaptive interface providing system and method
CN110941378B (en) Video content display method and electronic equipment
CN111176526A (en) Picture display method and electronic equipment
CN104850340A (en) Method and device for displaying file on touch display screen
US20130162562A1 (en) Information processing device and non-transitory recording medium storing program
CN106569686B (en) Method for controlling screen capture by rolling ball and related intelligent equipment
CN112650428A (en) Dynamic digital content display method, graphical user interface and system
US10401957B2 (en) System and method for providing simulated environment
CN103870145B (en) A kind of display packing and electronic equipment
US20220091717A1 (en) Methods, systems, and media for presenting offset content

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