CN105007446A - Instant video display method and electronic device - Google Patents
Instant video display method and electronic device Download PDFInfo
- Publication number
- CN105007446A CN105007446A CN201510342600.0A CN201510342600A CN105007446A CN 105007446 A CN105007446 A CN 105007446A CN 201510342600 A CN201510342600 A CN 201510342600A CN 105007446 A CN105007446 A CN 105007446A
- Authority
- CN
- China
- Prior art keywords
- instant video
- video picture
- display parameters
- display
- screen
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses an instant video display method and an electronic device and belongs to video field. The method comprises: acquiring a first display parameter input by a user, wherein the first display parameter is used for adjusting a display ratio of an instant video frame; displaying the instant video frame according to the first display parameter; acquiring a second display parameter if a screen is rotated, wherein the second display parameter is used for adjusting the display ratio of the instant video frame after screen is rotated; and displaying the instant video frame according to the second display parameter. The method adjusts the display ratio of the instant video frame according to the first display parameter or the second display parameter so as to increase the display modes and the effects of the instant video frame, satisfy a user requirement, and improve user experience.
Description
Technical field
The present invention relates to video field, particularly a kind of display packing of instant video and electronic equipment.
Background technology
Along with instant video application on mobile terminals universal, make increasing user should be used for realizing and mutual between other people by instant video, communication way and the communication of people are greatly enriched, but the face data of existing terminal collection often can not meet the aesthetic requirement of certain user to oneself, such as some people dislikes oneself face seen in terminal too fat or too thin, make the display packing needing to provide a kind of instant video, to adjust the human face ratio in instant video, meet the diversified demand of user in instant video process.
Prior art provides a kind of display packing of instant video, by the face in instant video being adjusted to the ratio of systemic presupposition, thus realizes the adjustment to the human face ratio in instant video.
But when using existing immediately provided method, due to the restriction of ratio in quantity and kind of systemic presupposition, make user possibly the face in instant video cannot be adjusted to self desired ratio, and the adjustment can not carried out in real time in instant video process self face's ratio, thus when the method using prior art to provide, reduce instant video mutual time Consumer's Experience, the demand of user cannot be met.
Summary of the invention
In order to increase the display effect of instant video, improving Consumer's Experience, the invention provides a kind of display packing and electronic equipment of instant video.Described technical scheme is as follows:
First aspect, provides a kind of display packing of instant video, and described method comprises:
Obtain the first display parameters of user's input, described first display parameters are for adjusting the displaying ratio of instant video picture;
According to described first display parameters, show described instant video picture;
If screen rotates, then obtain the second display parameters, described second display parameters are for the displaying ratio of the instant video picture after adjusting screen and rotating;
According to described second display parameters, show described instant video picture.
In conjunction with first aspect, in the implementation that the first is possible, the first display parameters of described acquisition user input comprise:
Obtain described first display parameters that described user inputs at least one frame video pictures.
In conjunction with the first possible implementation of first aspect, in the implementation that the second is possible, described method also comprises:
Obtain the gesture path of user's input.
In conjunction with the first possible implementation of first aspect or the possible implementation of the second, in the implementation that the third is possible, described acquisition second display parameters comprise:
According to the angle of described first display parameters and screen rotation, calculate described second display parameters.
In conjunction with the third possible implementation of first aspect, in the 4th kind of possible implementation, the described instant video picture of described display comprises:
According to described first display parameters or described second display parameters, the pel spacing of described instant video picture is adjusted, generate the instant video picture after adjustment;
Show the instant video picture after described adjustment.
In conjunction with the 4th kind of possible implementation of first aspect, in the 5th kind of possible implementation, described method also comprises:
Send described first display parameters to other electronic equipments.
Second aspect, provides a kind of electronic equipment, and described electronic equipment comprises:
Acquisition module, for obtaining the first display parameters of user's input, described first display parameters are for adjusting the displaying ratio of instant video picture;
Display module, for according to described first display parameters, shows described instant video picture;
Judge module, for when screen rotates, triggers described acquisition module and obtains the second display parameters, and described second display parameters are for the displaying ratio of the instant video picture after adjusting screen and rotating;
Described display module also for according to described second display parameters, shows described instant video picture.
In conjunction with second aspect, in the implementation that the first is possible, described acquisition module specifically for:
Obtain described first display parameters that described user inputs at least one frame video pictures.
In conjunction with the first possible implementation of second aspect, in the implementation that the second is possible, described acquisition module also for:
Obtain the gesture path of user's input.
In conjunction with the first possible implementation of second aspect or the possible implementation of the second, in the implementation that the third is possible, described electronic equipment also comprises:
Computing module, for the angle according to described first display parameters and screen rotation, calculates described second display parameters.
In conjunction with the third possible implementation of second aspect, in the 4th kind of possible implementation, described equipment also comprises:
Adjusting module, for according to described first display parameters or described second display parameters, adjusts the pel spacing of described instant video picture, generates the instant video picture after adjustment;
Described display module is also for showing the instant video picture after described adjustment.
In conjunction with the 4th kind of possible implementation of second aspect, in the 5th kind of possible implementation, described equipment also comprises:
Sending module, for sending described first display parameters to other electronic equipments.
The third aspect, provide a kind of electronic equipment, comprise: video input module, Video Output Modules, transmission/reception module, memory and the processor be connected with described video input module, described Video Output Modules, described transmission/reception module and described memory, wherein, described memory stores batch processing code, described processor, for calling the program code stored in described memory, performs following operation:
Obtain the first display parameters of user's input, described first display parameters are for adjusting the displaying ratio of instant video picture;
According to described first display parameters, control screen output module and show described instant video picture;
If screen rotates, then obtain the second display parameters, described second display parameters are for the displaying ratio of the instant video picture after adjusting screen and rotating;
According to described second display parameters, control screen output module and show described instant video picture.
Wherein, described processor calls the program code stored in described memory and also receives instant video for controlling video input module.
In conjunction with the third aspect, in the implementation that the first is possible, described processor, for calling the program code stored in described memory, performs following operation:
Obtain described first display parameters that described user inputs at least one frame video pictures.
In conjunction with the first possible implementation of the third aspect, in the implementation that the second is possible, described processor, for calling the program code stored in described memory, performs following operation:
Obtain the gesture path of user's input.
In conjunction with the first possible implementation of the third aspect or the possible implementation of the second, in the implementation that the third is possible, described processor, for calling the program code stored in described memory, performs following operation:
According to the angle of described first display parameters and screen rotation, calculate described second display parameters.
In conjunction with the third possible implementation of the third aspect, in the 4th kind of possible implementation, described processor, for calling the program code stored in described memory, performs following operation:
According to described first display parameters or described second display parameters, the pel spacing of described instant video picture is adjusted, generate the instant video picture after adjustment;
Control display module shows the instant video picture after described adjustment.
In conjunction with the 4th kind of possible implementation of the third aspect, in the 5th kind of possible implementation, described processor, for calling the program code stored in described memory, performs following operation:
Control transmission/reception module and send described first display parameters to other electronic equipments.
Fourth aspect, provides a kind of display packing of instant video, and described method comprises:
Receive the first display parameters that other electronic equipments send;
According to described first display parameters, display instant video picture.
In conjunction with fourth aspect, in the implementation that the first is possible, described according to described first display parameters, display instant video picture comprises:
According to described first display parameters, the pel spacing of described instant video picture is adjusted, generate the instant video picture after adjustment;
Show the instant video picture after described adjustment.
5th aspect, provides a kind of electronic equipment, and described electronic equipment comprises:
Receiver module, for receiving the first display parameters that other electronic equipments send;
Display module, for according to described first display parameters, shows instant video picture.
In conjunction with the 5th aspect, in the implementation that the first is possible,
Described electronic equipment also comprises adjusting module, for according to described first display parameters, adjusts the pel spacing of described instant video picture, generates the instant video picture after adjustment;
Described display module is also for showing the instant video picture after described adjustment.
6th aspect, provide a kind of electronic equipment, comprise: video input module, Video Output Modules, transmission/reception module, memory and the processor be connected with described video input module, described Video Output Modules, described transmission/reception module and described memory, wherein, described memory stores batch processing code, described processor, for calling the program code stored in described memory, performs following operation:
Control the first display parameters that transmission/reception module receives the transmission of other electronic equipments;
According to described first display parameters, control Video Output Modules display instant video picture.
Wherein, wherein, described processor calls the program code stored in described memory and also receives instant video for controlling video input module.
In conjunction with the 6th aspect, in the implementation that the first is possible, described memory stores batch processing code, and described processor, for calling the program code stored in described memory, performs following operation:
According to described first display parameters, the pel spacing of described instant video picture is adjusted, generate the instant video picture after adjustment;
Control screen output module shows the instant video picture after described adjustment.
The invention provides a kind of display packing and electronic equipment of instant video, method comprises: the first display parameters obtaining user's input, and the first display parameters are for adjusting the displaying ratio of instant video picture; According to the first display parameters, display instant video picture; If screen rotates, then obtain the second display parameters, the second display parameters are for the displaying ratio of the instant video picture after adjusting screen and rotating; According to the second display parameters, display instant video picture.By obtaining the first display parameters of user's input, because the first display parameters are for adjusting the displaying ratio of instant video picture, so the displaying ratio of ratio to instant video picture indicated by the first display parameters adjusts, thus achieve user and adjust according to the ratio of the demand of oneself to instant video picture, meet user's request, improve Consumer's Experience, and according to the displaying ratio after adjustment, display instant video picture, adds the display format of instant video picture, meets user's request, improve Consumer's Experience, on the other hand, in traditional method, when screen by erect screen rotate to be horizontal screen time, instant video picture can be compressed, thus cause the out of proportion of the display object in instant video, reduce Consumer's Experience, and the method using the embodiment of the present invention to provide, when screen rotates, obtain the second display parameters, because the second display is for the displaying ratio of instant video picture after adjusting screen and rotating, so according to the second display parameters, the displaying ratio of instant video picture can be adjusted, make when screen rotates, the display of instant video picture meets user's request more, improve Consumer's Experience, meanwhile, because whether equipment automatic decision screen rotates, simplify operating procedure, the method that the embodiment of the present invention is provided is more intelligent, meets user in instant video to the demand that the face's displaying ratio of self adjusts, meanwhile, make when screen rotates, according to the second display parameters display instant video picture, make the display of instant video picture can not because of screen rotation, and the situation of proportion imbalance, improve Consumer's Experience, meet user's request.Simultaneously, use method provided by the present invention, make to achieve efficient thin face and fat face function when affecting original performance hardly by the hardware-accelerated of terminal, compare additive method and save terminal amount of calculation, the effect of good resize ratio is achieved with minimum cost, because use the method can not affect the use of terminal hardware, thus meet user's request, improve Consumer's Experience.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the display packing flow chart of a kind of instant video that the embodiment of the present invention provides;
Fig. 2 is the display packing flow chart of a kind of instant video that the embodiment of the present invention provides;
Fig. 3 is a kind of interface schematic diagram that the embodiment of the present invention provides;
Fig. 4 is a kind of interface schematic diagram that the embodiment of the present invention provides;
Fig. 5 is a kind of interface schematic diagram that the embodiment of the present invention provides;
Fig. 6 is a kind of interface schematic diagram that the embodiment of the present invention provides;
Fig. 7 is a kind of interface schematic diagram that the embodiment of the present invention provides;
Fig. 8 is a kind of interface schematic diagram that the embodiment of the present invention provides;
Fig. 9 is a kind of interface schematic diagram that the embodiment of the present invention provides;
Figure 10 is the display packing flow chart of a kind of instant video that the embodiment of the present invention provides;
Figure 11 is the display packing flow chart of a kind of instant video that the embodiment of the present invention provides;
Figure 12 is a kind of electronic devices structure schematic diagram that the embodiment of the present invention provides;
Figure 13 is a kind of electronic devices structure schematic diagram that the embodiment of the present invention provides;
Figure 14 is a kind of electronic devices structure schematic diagram that the embodiment of the present invention provides;
Figure 15 is a kind of electronic devices structure schematic diagram that the embodiment of the present invention provides.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, 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 embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Embodiments provide a kind of display packing of instant video, the method is applied in a kind of interactive system, this interactive system at least comprises two electronic equipments, the mutual of instant video can be carried out respectively by running the instant video program self stored between these two electronic equipments, wherein, this electronic equipment can be smart mobile phone (Smart Phone), also can be panel computer (Tablet Computer), can also be other electronic equipments, the embodiment of the present invention be limited concrete electronic equipment.
Can be connected by the radio connection such as bluetooth, WiFi between these at least two electronic equipments, directly carry out instant video alternately, also can be connected by connection device, this connection device comprises router etc.; These at least two electronic equipments can also carry out instant video alternately by server, and this server can be the server of application program.
In addition, the method that the embodiment of the present invention provides can also be applied to a kind of only including in the interactive system of electronic equipment and user.
It should be noted that above-mentioned interactive system is only exemplary, the present invention is that embodiment can also comprise other application scenarioss, and the embodiment of the present invention is not limited concrete application scenarios.
Embodiment one
Embodiments provide a kind of display packing of instant video, see Fig. 1, described method comprises:
101, obtain the first display parameters of user's input, the first display parameters are for adjusting the displaying ratio of instant video picture.
Concrete, obtain the first display parameters that user inputs at least one frame video pictures.
102, according to the first display parameters, display instant video picture.
Concrete, according to the first display parameters, the pel spacing of instant video picture is adjusted, generate the instant video picture after adjustment;
Instant video picture after display adjustment.
103, judge whether screen rotates, if so, then execution step 104 and afterwards step; If not, then continue to perform step 103.
104, obtain the second display parameters, the second display parameters are for the displaying ratio of the instant video picture after adjusting screen and rotating.
Concrete, according to the angle of the first display parameters and screen rotation, calculate the second display parameters.
105, according to the second display parameters, display instant video picture.
Concrete, according to the second display parameters, the pel spacing of instant video picture is adjusted, generate the instant video picture after adjustment;
Instant video picture after display adjustment.
Optionally, method also comprises:
Obtain the draw direction of user's input.
Optionally, method also comprises:
Send any one in the first display parameters and the second display parameters to other electronic equipments.
Embodiments provide a kind of display packing of instant video, by obtaining the first display parameters of user's input, because the first display parameters are for adjusting the displaying ratio of instant video picture, so the displaying ratio of ratio to instant video picture indicated by the first display parameters adjusts, thus achieve user and adjust according to the ratio of the demand of oneself to instant video picture, meet user's request, improve Consumer's Experience, and according to the displaying ratio after adjustment, display instant video picture, adds the display format of instant video picture, meets user's request, improve Consumer's Experience, on the other hand, in traditional method, when screen by erect screen rotate to be horizontal screen time, instant video picture can be compressed, thus cause the out of proportion of the display object in instant video, reduce Consumer's Experience, and the method using the embodiment of the present invention to provide, when screen rotates, obtain the second display parameters, because the second display is for the displaying ratio of instant video picture after adjusting screen and rotating, so according to the second display parameters, the displaying ratio of instant video picture can be adjusted, make when screen rotates, the display of instant video picture meets user's request more, improve Consumer's Experience, meanwhile, because whether equipment automatic decision screen rotates, simplify operating procedure, the method that the embodiment of the present invention is provided is more intelligent, meets user in instant video to the demand that the face's displaying ratio of self adjusts, meanwhile, make when screen rotates, according to the second display parameters display instant video picture, make the display of instant video picture can not because of screen rotation, and the situation of proportion imbalance, improve Consumer's Experience, meet user's request.Simultaneously, use the method that the embodiment of the present invention provides, make to achieve efficient thin face and fat face function when affecting original performance hardly by the hardware-accelerated of terminal, compare additive method and save terminal amount of calculation, the effect of good resize ratio is achieved with minimum cost, because use the method can not affect the use of terminal hardware, thus meet user's request, improve Consumer's Experience.
Embodiment two
Embodiments provide a kind of display packing of instant video, shown in Figure 2, described method comprises:
201, obtain the first display parameters of user's input, the first display parameters are for adjusting the displaying ratio of instant video picture.
Concrete, obtain the first display parameters that user inputs at least one frame video pictures, this process can be:
After acquisition user finger triggers starting point on a display screen, after at least one frame frame of video picture, detect the displacement between the user position of finger in screen and starting point, and determine that the display parameters corresponding to this displacement are the first display parameters that user inputs at least one frame video pictures.
Optionally, user by clicking the function key with selection first display parameters numerical value, according to the numerical value that this function key shows, can also obtain the first display parameters that user inputs at least one frame video pictures.
In addition, can also obtain the first display parameters that user inputs at least one frame video pictures by other means, the embodiment of the present invention is not limited concrete mode.
By detecting the displacement between the user position of finger in screen and starting point, determine that display parameters corresponding to this displacement are the first display parameters that user inputs, the mode of acquisition first display parameters is more succinctly facilitated, be easy to operation, improve Consumer's Experience, the first display parameters can also be selected by function key simultaneously, thus add the obtain manner of the first display parameters, thus meet user's request, improve Consumer's Experience.
Optionally, step also comprises:
Obtain the gesture path of user's input.
Concrete, gesture path direction comprises: left and right directions and above-below direction.
Wherein, the track of finger in screen meets first condition, then be defined as left and right directions, first condition is that gesture path angular range meets and is less than or equal to the first angle and is greater than the second angle, and is less than or equal to the 3rd angle and is greater than the 4th angle, in actual applications, first angle can be-π/4, second angle can be-3 π/4, and the 3rd angle can be-5 π/4, and the 4th angle can be-7 π/4; The track of finger in screen meets second condition, then be defined as above-below direction, second condition is that gesture path angle meets and is greater than the 5th angle and is less than or equal to hexagonal degree, and be less than or equal to heptangle degree and be greater than eighth angle, in actual applications, 5th angle can be that-π/4 hexagonal degree can-7 π/4, and heptangle degree can be-3 π/4 eighth angles can be-5 π/4.
In order to further illustrate the method described in the embodiment of the present invention, in instant video process, electronic equipment is preset as initial position in vertical position of erecting when shielding, polar coordinates are utilized to be divided by electronic equipment screen, polar origin of coordinates can be the optional position of screen, and schematic diagram can with reference in Fig. 3 shown in a; The region of first condition indication in polar coordinates can with reference in Fig. 3 shown in b, and wherein, dotted line represents that the scope of first condition does not comprise the angle at dotted line place; The region of second condition indication in polar coordinates can with reference in Fig. 3 shown in c, and wherein, dotted line represents that the scope of second condition does not comprise the angle at dotted line place; Be depicted as with reference to d in Fig. 3 the gesture path meeting first condition, be depicted as with reference to e in Fig. 3 the gesture path meeting second condition.
202, according to the first display parameters, the pel spacing of instant video picture is adjusted, generate the instant video picture after adjustment.
Concrete, according to the first display parameters, carry out adjustment to the pel spacing of instant video picture to comprise: pel spacing stretches and pel spacing compression, direction during stretching comprises left and right directions and above-below direction, direction during compression comprises left and right directions and above-below direction, wherein, if gesture path is generated to two Slideslips by centre for user points, direction when then the direction of this gesture path is stretching, if gesture path is for user's finger is by two side direction middle slip generations, then the direction when direction of this gesture path is compression.
In order to further illustrate the method described in the embodiment of the present invention, be described to adjust the i-th frame video pictures pel spacing to the i-th+1 frame video pictures:
If gesture path direction is left and right directions, according to the first display parameters, the pel spacing of adjustment the i-th+1 frame instant video picture zone line is third value, the pel spacing of adjustment i-th+1 frame instant video picture left and right sides is the 4th numerical value, and third value and the 4th numerical value are corresponding, cannot be limited third value and the concrete corresponding relation of the 4th numerical value;
The pel spacing supposing the i-th frame video pictures zone line is the first numerical value, and the pel spacing of the i-th frame video pictures two side areas is second value;
The first numerical value is greater than at third value, corresponding, when the 4th numerical value is less than second value, increase the pel spacing of the i-th+1 frame video pictures zone line, reduce the pel spacing of two side areas, the increase of the i-th+1 frame video pictures zone line can be realized, reducing of two side areas;
The first numerical value is less than at third value, corresponding, when the 4th numerical value is greater than second value, reduce the pel spacing of the i-th+1 frame video pictures zone line, increase the pel spacing of two side areas, reducing of the i-th+1 frame video pictures zone line can be realized, the increase of two side areas.
If when course bearing is above-below direction, adjusting same course bearing to the pel spacing of instant video picture is left and right directions.
Wherein, zone line can at least comprising the region of face, and two side areas is the region of removing face, in addition, can also according to other mode determination zone line and two side areas, the embodiment of the present invention is not limited concrete mode.
If when gesture path is left and right directions, when electronic equipment screen is vertical direction, can with reference in Fig. 4 shown in a when zone line at least comprises face, when electronic equipment screen is horizontal direction, can with reference in Fig. 4 shown in b when zone line at least comprises face; If when gesture path is above-below direction, when electronic equipment screen is vertical direction, can with reference in Fig. 5 shown in a when zone line at least comprises face, when electronic equipment screen is horizontal direction, can with reference in Fig. 5 shown in b when zone line at least comprises face.
By the instruction of the first display parameters, the Tension and Compression of the above-below direction of the pel spacing to instant video picture that not only can realize, also the Tension and Compression of the left and right directions of the pel spacing to instant video picture can be realized, thus by the adjustment to the pel spacing of instant video picture, achieve the adjustment of the displaying ratio to instant video picture, add the display format of instant video, user can be adjusted according to the displaying ratio of the demand of oneself to instant video picture, thus meet user's request further, improve Consumer's Experience.
Optionally, method also comprises:
Instant video picture after adjustment is processed.
Concrete, can also carry out Fuzzy Processing to the instant video picture after adjustment, Fuzzy Processing can pass through Gaussian Blur algorithm realization.
By carrying out Fuzzy Processing to the instant video picture after adjustment, can increase video pictures be stretched or compressed after display effect, especially when pixel resolution is lower, Fuzzy Processing is carried out to the instant video after stretching or compression, video pictures quality can be improved, thus further increase Consumer's Experience, meet user's request.
203, the instant video picture after display adjustment.
Concrete, the mode of the embodiment of the present invention to the instant video picture after concrete display adjustment is not limited.
In order to further illustrate the effect of the instant video picture after display adjustment, be described below in conjunction with accompanying drawing:
If gesture path direction is left and right directions, electronic equipment screen is in vertical position, video pictures is carried out to the compression adjustment of left and right directions, instant video picture after compression adjustment is see in Fig. 6 shown in b, and the instant video picture in Fig. 6 shown in a is the instant video picture not carrying out left and right directions compression adjustment; Instant video picture is carried out to the stretching adjustment of left and right directions, the instant video picture after the adjustment that stretches is see in Fig. 7 shown in b, and the instant video picture in Fig. 7 shown in a is do not carry out left and right directions to stretch the instant video picture of adjustment.
If gesture path direction is above-below direction, electronic equipment screen is in vertical position, instant video picture is carried out to the compression adjustment of above-below direction, instant video picture after compression adjustment still can see in Fig. 6 shown in b, and the instant video picture in Fig. 6 shown in a is the instant video picture not carrying out above-below direction compression adjustment; Instant video picture is carried out to the stretching adjustment of above-below direction, the instant video picture after the adjustment that stretches still can see in Fig. 7 shown in b, and the instant video picture in Fig. 7 shown in a is do not carry out above-below direction to stretch the instant video picture of adjustment.
When electronic equipment screen is horizontal, the compression adjustment of left and right directions and the stretching adjustment of left and right directions are in vertical position with electronic equipment screen, are no longer repeated herein.
When electronic equipment screen is horizontal, the compression adjustment of above-below direction and the stretching adjustment of above-below direction are in vertical position with electronic equipment screen, are no longer repeated herein.
By the instant video picture after display adjustment, add the display format of instant video picture, user can be adjusted according to the ratio of the demand of oneself to instant video picture, meet user's request further, improve Consumer's Experience.
It should be noted that, step 202 to step 203 is according to described first display parameters, shows the process of described instant video picture, and in addition, can also realize this process by other means, the embodiment of the present invention is not limited concrete mode.
By according to the first display parameters, the displaying ratio of instant video picture is adjusted, and the instant video picture after display adjustment, thus achieve the adjustment to instant video picture displaying ratio in instant video process, thus meet user's request further, improve Consumer's Experience.
204, judge whether screen rotates, if so, then perform the step after step 205 and 205; If not, then continue to perform step 204.
Concrete, the position angle at initial for screen place is preset as 0, by the current residing angle of the first preset formula determination screen, if current angle is not 0 compared with initial angle, is then defined as screen and there occurs rotation.
First preset formula can be:
rotation=2*arctan(G
x,G
y)-π
Wherein, rotation represents the deflecting angle in electronic equipment rotary course, G
xrepresent the component of acceleration of gravity at electronic equipment left and right directions, G
yrepresent the component of acceleration of gravity at electronic equipment fore-and-aft direction.
G
xand G
yby the gravity accelerator of electronic equipment self, the gravity acceleration value of Real-time Obtaining electronic equipment all directions can be carried out respectively.
The gravity acceleration value of electronic equipment all directions is obtained by gravity accelerator, compare additive method and save terminal amount of calculation, the effect of good resize ratio is achieved with minimum cost, because use the method can not affect the use of terminal hardware, thus meet user's request, improve Consumer's Experience.
205, the angle of screen rotation is obtained.
Concrete, the angle of screen rotation is obtained according to the result of calculation of the first preset formula.
Wherein, the span of the anglec of rotation is:
-π/2≤rotation<0
-π≤rotation<-2/π,
-3*π/2≤rotation<-π,
-2π≤rotation<-3*π/2
For initial position is described when vertically placing for electronic equipment screen, be namely now 0 °, if to right rotation to horizontal level, namely during-90 ° of positions, the rotating range of angle is:
-π/2≤rotation<0,
If by-90 ° of positions to right rotation to the vertical position that stands upside down, namely during-180 ° of positions, the rotating range of angle is:
-π≤rotation<-2/π,
If by-180 ° of positions again to right rotation to horizontal level, namely during-270 ° of positions, the rotation span of angle is:
-3*π/2≤rotation<-π,
If again by-270 ° of positions to right rotation to normal place, namely during-360 ° of positions, the rotation span of angle is:
-2π≤rotation<-3*π/2。
In addition, can also define normal place by other means, obtain the anglec of rotation, the embodiment of the present invention is not limited concrete mode.
206, according to the angle of the first display parameters and screen rotation, the second display parameters are calculated.
Wherein, the second display parameters are for the displaying ratio of the instant video picture after adjusting screen and rotating.
Concrete, according to the first display parameters and screen rotation angle, by the second preset formula, calculate the second display parameters, the second preset formula can be:
Wherein, rate represents the second display parameters, R
maxrepresent the first display parameters, R
min=1/R
max, R
range=R
max-R
min.
Then according to this second preset formula, screen can be obtained when there is the different anglecs of rotation, the second corresponding display parameters.
For initial position is described when vertically placing for electronic equipment screen, be namely now 0 °, when screen is rotated to-90 ° of positions by this position, the second corresponding display parameters are:
rate=R
max+R
range*rotation/(π/2),-π/2≤rotation<0;
When screen is rotated to-180 ° of positions by-90 ° of positions, then the second corresponding display parameters are:
rate=R
max-R
range*(π+rotation)/(π/2),-π≤rotation<-π/2;
When screen is rotated to-270 ° of positions by-180 ° of positions, then the second corresponding display parameters are:
rate=R
min+R
range*((π/2)*3+rotation)/(π/2),-3*π/2≤rotation<-π;
When screen is rotated to-360 ° by-270 ° of positions, i.e. initial position, then the second corresponding display parameters are:
rate=R
max-R
range*((π/2)+rotation)/(π/2),-2π≤rotation<-3*π/2。
In addition, can also determine the second display parameters by other means, the embodiment of the present invention is not limited concrete mode.
By according to the first display parameters and the anglec of rotation, obtain the second display parameters, make when screen rotates, can adjust the displaying ratio of instant video picture, meet the demand of user, improve Consumer's Experience.
It should be noted that, rotate if step 204 to step 206 is screens, then obtain the process of the second display parameters, in addition, can also realize this process by other means, the embodiment of the present invention is not limited concrete mode.
By judging whether screen rotates, if rotate, according to the displaying ratio of angle determination video pictures obtained, thus achieve user and can adjust screen display proportion when screen rotates, thus meet user's request further, improve Consumer's Experience.
207, according to the second display parameters, the pel spacing of instant video picture is adjusted, generate the instant video picture after adjustment.
Concrete, this step is identical with step 202, is or else repeated herein.
By the instruction of the second display parameters, the adjustment of the pel spacing to instant video picture that can realize, thus by the adjustment to the pel spacing of instant video picture, achieve the adjustment of the displaying ratio to instant video picture, add the display format of instant video, user can be adjusted according to the displaying ratio of the demand of oneself to instant video picture, thus meet user's request further, improve Consumer's Experience.
208, the instant video picture after display adjustment.
Concrete, the embodiment of the present invention is not limited concrete display mode.
In order to further illustrate the effect of the instant video picture after display adjustment, be described below in conjunction with accompanying drawing:
Be depicted as electronic equipment screen with reference to a in Fig. 8 and be in vertical position, namely instant video picture during 0 ° of position, when half-twist is to-90 ° of positions to the right by this position for electronic equipment, in this position, adjust video pictures pel spacing according to the second display parameters, the instant video picture after adjustment is see in Fig. 8 shown in b; When electronic equipment is rotated to-180 ° of positions by-90 ° of positions, in this position, adjust instant video picture pixel spacing according to the second display parameters, the instant video picture after adjustment is with reference to shown in a in Fig. 8; When electronic equipment rotates to-270 ° of positions by-180 °, in this position, adjust instant video picture pixel spacing according to the second display parameters, the instant video picture after adjustment is with reference to shown in b in Fig. 8; When electronic equipment rotates to-360 ° of positions by-270 °, in this position, when the instant video picture of display is in 0 ° of position with electronic equipment.
By the instant video picture after display adjustment, add the display format of instant video picture, the user when screen rotates also can be adjusted the displaying ratio of instant video picture, meet user's request further, improve Consumer's Experience.
Optionally, step 209 can also be comprised.
209, the first display parameters are sent to other electronic equipments.
Concrete, electronic equipment is by the transmission/reception module of self, sending the first display parameters to carrying out other mutual electronic equipments of instant video with this electronic equipment, also can send the instruction comprising the first display parameters and extremely carrying out other mutual electronic equipments of instant video with this electronic equipment.
Optionally, electronic equipment can also be forwarded by server.
The embodiment of the present invention is not limited concrete send mode.
Method described in the embodiment of the present invention is further understood in order to make those skilled in the art, below in conjunction with accompanying drawing, the method described in the embodiment of the present invention is further described, be described for left and right directions stretching instant video picture, suppose that the screen of instant video picture is vertical position, the instant video picture of screen when this position is with reference to shown in a in Fig. 9, carry out left and right to this instant video picture to stretch, the instant video picture stretched after adjusting is with reference to shown in b in Fig. 9, when half-twist is to-90 ° of positions to the right for judgement screen, instant video picture is with reference to shown in c in Fig. 9.
By sending the first display parameters to other electronic equipments, make other electronic equipments can according to the first display parameters, the displaying ratio of instant video picture is adjusted, thus make the ratio of the instant video picture of the electronic equipment display carrying out with it instant video communication identical, meet the adjustment of user to the displaying ratio of the face of self etc., the demand that can show with this ratio on electronic equipment mutual with it, meets user's request further, improves Consumer's Experience.
Embodiments provide a kind of display packing of instant video, by obtaining the first display parameters of user's input, because the first display parameters are for adjusting the displaying ratio of instant video picture, so the displaying ratio of ratio to instant video picture indicated by the first display parameters adjusts, thus achieve user and adjust according to the ratio of the demand of oneself to instant video picture, meet user's request, improve Consumer's Experience, and according to the displaying ratio after adjustment, display instant video picture, adds the display format of instant video picture, meets user's request, improve Consumer's Experience, on the other hand, in traditional method, when screen by erect screen rotate to be horizontal screen time, instant video picture can be compressed, thus cause the out of proportion of the display object in instant video, reduce Consumer's Experience, and the method using the embodiment of the present invention to provide, when screen rotates, obtain the second display parameters, because the second display is for the displaying ratio of instant video picture after adjusting screen and rotating, so according to the second display parameters, the displaying ratio of instant video picture can be adjusted, make when screen rotates, the display of instant video picture meets user's request more, improve Consumer's Experience, meanwhile, because whether equipment automatic decision screen rotates, simplify operating procedure, the method that the embodiment of the present invention is provided is more intelligent, meets user in instant video to the demand that the face's displaying ratio of self adjusts, meanwhile, make when screen rotates, according to the second display parameters display instant video picture, make the display of instant video picture can not because of screen rotation, and the situation of proportion imbalance, improve Consumer's Experience, meet user's request.Simultaneously, use the method that the embodiment of the present invention provides, make to achieve efficient thin face and fat face function when affecting original performance hardly by the hardware-accelerated of terminal, compare additive method and save terminal amount of calculation, the effect of good resize ratio is achieved with minimum cost, because use the method can not affect the use of terminal hardware, thus meet user's request, improve Consumer's Experience.
Embodiment three
Embodiments provide a kind of display packing of instant video, shown in Figure 10, method comprises:
1001, the first display parameters that other electronic equipments send are received.
1002, according to the first display parameters, the pel spacing of instant video picture is adjusted, generate the instant video picture after adjustment.
Instant video picture after 1003 display adjustment.
It should be noted that, step 1002 to step 1003 realizes according to the first display parameters, and the process of display instant video picture, in addition, can also realize this process by other means, the embodiment of the present invention is not limited concrete mode.
Embodiments provide a kind of display packing of instant video, by receiving the first display parameters that other electronic equipments send, because the first display parameters are for adjusting the displaying ratio of instant video picture, so the ratio displaying ratio to instant video picture of this electronic equipment indicated by the first display parameters received adjusts, achieve and on the electronic equipment of receiving terminal, the ratio of instant video picture is adjusted, instant video picture can be adjusted according to the ratio of the demand of other electronic device user, , meet user's request, improve Consumer's Experience, on the other hand according to the displaying ratio after adjustment, the instant video picture after display adjustment, adds the display format of instant video picture, thus meets user's request, improve Consumer's Experience, on the other hand, in traditional method, when screen by erect screen rotate to be horizontal screen time, instant video picture can be compressed, thus cause the out of proportion of the display object in instant video, reduce Consumer's Experience, and the method using the embodiment of the present invention to provide, when screen rotates, this electronic equipment obtains the second display parameters, because the second display is for the displaying ratio of instant video picture after adjusting screen and rotating, so according to the second display parameters, the displaying ratio of instant video picture can be adjusted, make when screen rotates, the display of instant video picture meets user's request more, improve Consumer's Experience, simultaneously, because whether equipment automatic decision screen rotates, simplify operating procedure, the method that the embodiment of the present invention is provided is more intelligent, meet user in instant video to the demand that the face's displaying ratio of self adjusts, simultaneously, make when screen rotates, according to the second display parameters display instant video picture, make the display of instant video picture can not because of screen rotation, and the situation of proportion imbalance, improve Consumer's Experience, meet user's request.Simultaneously, use the method that the embodiment of the present invention provides, make to achieve efficient thin face and fat face function when affecting original performance hardly by the hardware-accelerated of terminal, compare additive method and save terminal amount of calculation, the effect of good resize ratio is achieved with minimum cost, because use the method can not affect the use of terminal hardware, thus meet user's request, improve Consumer's Experience.
Embodiment four
A display packing for instant video picture, shown in Figure 11, method comprises:
1101, the first display parameters that other electronic equipments send are received.
Concrete, the mode of the embodiment of the present invention to the first display parameters that other electronic equipments of concrete reception send is not limited.
By receiving the first display parameters that other electronic equipments send, make this electronic equipment can according to the first display parameters, the displaying ratio of instant video picture is adjusted, thus make the ratio of the instant video picture of the electronic equipment display carrying out with it instant video communication identical, meet the adjustment of user to the displaying ratio of the face of self etc., with the demand that this ratio shows on electronic equipment mutual with it, user's request can be met further, improves Consumer's Experience.
1102, according to the first display parameters, the pel spacing of instant video picture is adjusted, generate the instant video picture after adjustment.
Concrete, this step is identical with the step 202 in embodiment two, is or else repeated herein.
By the instruction of the first display parameters, the Tension and Compression of the above-below direction of the pel spacing to instant video picture that not only can realize, also the Tension and Compression of the left and right directions of the pel spacing to instant video picture can be realized, thus by the adjustment to the pel spacing of instant video picture, achieve the adjustment of the displaying ratio to instant video picture, add the display format of instant video, make to carry out carrying out display instant video picture with this displaying ratio in the mutual electronic equipment of instant video at this and other electronic equipment, thus meet the demand of user by showing on electronic equipment mutual with it after the adjustment to the instant video picture displaying ratio of self further, improve Consumer's Experience.
Optionally, method also comprises:
Instant video picture after adjustment is processed.
Concrete, this step is identical with the step processed the instant video picture after adjusting in embodiment two, is or else repeated herein.
By carrying out Fuzzy Processing to the instant video picture after adjustment, can increase video pictures be stretched or compressed after display effect, especially when pixel resolution is lower, Fuzzy Processing is carried out to the instant video after stretching or compression, video pictures quality can be improved, thus further increase Consumer's Experience.
1103, the instant video picture after display adjustment.
Concrete, this step is identical with the step 203 in embodiment two, is or else repeated herein.
By the instant video picture after adjustment can be shown on the electronic equipment, add the display format of instant video picture, the demand shown on electronic equipment mutual with it after user can be adjusted according to the ratio of the demand of oneself to instant video picture, meet further user's request, improve Consumer's Experience.
It should be noted that, step 1102 to step 1103 is according to the first display parameters, and the process of display instant video picture, in addition, can also realize this process by other means, the embodiment of the present invention is not limited concrete mode.
By the first display parameters sent according to other electronic equipments, the displaying ratio of instant video picture is adjusted, and the instant video picture after display adjustment, thus the adjustment achieved to instant video picture displaying ratio in instant video process, thus meet user's request further, improve Consumer's Experience.
1104, this electronic equipment judges whether self rotates, and if so, then performs step 1105 and 1105 later steps; If not, then execution 1104 is continued.
Concrete, this step is identical with the step 204 in embodiment two, is or else repeated herein.
The gravity acceleration value of electronic equipment all directions is obtained by gravity accelerator, compare additive method and save terminal amount of calculation, the effect of good resize ratio is achieved with minimum cost, because use the method can not affect the use of terminal hardware, thus meet user's request, improve Consumer's Experience.
1105, the angle of self screen rotation of this electronic equipment is obtained.
Concrete, this step is identical with the step 205 in embodiment two, is or else repeated herein.
1106, according to the first display parameters of other electronic equipments transmission received and the angle of this electronic equipment self screen rotation, the second display parameters are calculated.
Concrete, this step is identical with the step 206 in embodiment two, is or else repeated herein.
By the first display parameters of sending according to other electronic equipments and the anglec of rotation of self, obtain the second display parameters, make when screen rotates, the electronic equipment of these reception first display parameters can adjust the displaying ratio of instant video picture, meet the demand of user further, improve Consumer's Experience.
1107, according to the second display parameters, the pel spacing of instant video picture is adjusted, generate the instant video picture after adjustment.
Concrete, this step is identical with the step 207 in embodiment two, is or else repeated herein.
By the instruction of the second display parameters, the adjustment of the pel spacing to instant video picture that can realize, thus by the adjustment to the pel spacing of instant video picture, achieve the adjustment of the displaying ratio to instant video picture, add the display format of instant video, this electronic device user can be adjusted the displaying ratio of instant video picture, thus meet user's request further, improve Consumer's Experience.
1108, the instant video picture after display adjustment.
Concrete, this step is identical with the step 208 in embodiment two, is or else repeated herein.
By the instant video picture after display adjustment, add the display format of instant video picture, the user when screen rotates also can be adjusted the displaying ratio of instant video picture, meet user's request further, improve Consumer's Experience.
Embodiments provide a kind of display packing of instant video, by receiving the first display parameters that other electronic equipments send, because the first display parameters are for adjusting the displaying ratio of instant video picture, so the ratio displaying ratio to instant video picture of this electronic equipment indicated by the first display parameters received adjusts, achieve and on the electronic equipment of receiving terminal, the ratio of instant video picture is adjusted, instant video picture can be adjusted according to the ratio of the demand of other electronic device user, , meet user's request, improve Consumer's Experience, on the other hand according to the displaying ratio after adjustment, the instant video picture after display adjustment, adds the display format of instant video picture, thus meets user's request, improve Consumer's Experience, on the other hand, in traditional method, when screen by erect screen rotate to be horizontal screen time, instant video picture can be compressed, thus cause the out of proportion of the display object in instant video, reduce Consumer's Experience, and the method using the embodiment of the present invention to provide, when screen rotates, this electronic equipment obtains the second display parameters, because the second display is for the displaying ratio of instant video picture after adjusting screen and rotating, so according to the second display parameters, the displaying ratio of instant video picture can be adjusted, make when screen rotates, the display of instant video picture meets user's request more, improve Consumer's Experience, simultaneously, because whether equipment automatic decision screen rotates, simplify operating procedure, the method that the embodiment of the present invention is provided is more intelligent, meet user in instant video to the demand that the face's displaying ratio of self adjusts, simultaneously, make when screen rotates, according to the second display parameters display instant video picture, make the display of instant video picture can not because of screen rotation, and the situation of proportion imbalance, improve Consumer's Experience, meet user's request.Simultaneously, use the method that the embodiment of the present invention provides, make to achieve efficient thin face and fat face function when affecting original performance hardly by the hardware-accelerated of terminal, compare additive method and save terminal amount of calculation, the effect of good resize ratio is achieved with minimum cost, because use the method can not affect the use of terminal hardware, thus meet user's request, improve Consumer's Experience.
Embodiment five
Embodiments provide a kind of electronic equipment 12, shown in Figure 12, electronic equipment 12 comprises:
Acquisition module 1201, for obtaining the first display parameters of user's input, the first display parameters are for adjusting the displaying ratio of instant video picture;
Display module 1202, for according to the first display parameters, shows instant video picture;
Judge module 1203, for when screen rotates, triggers acquisition module and obtains the second display parameters, and the second display parameters are for the displaying ratio of the instant video picture after adjusting screen and rotating;
Display module 1202 also for according to the second display parameters, shows instant video picture.
Optionally, acquisition module 1201 specifically for:
Obtain the first display parameters that user inputs at least one frame video pictures.
Optionally, acquisition module 1201 also for:
Obtain the gesture path of user's input.
Optionally, electronic equipment also comprises:
Computing module, for the angle according to the first display parameters and screen rotation, calculates the second display parameters.
Optionally, equipment also comprises:
Adjusting module, for according to the first display parameters or the second display parameters, adjusts the pel spacing of instant video picture, generates the instant video picture after adjustment;
Display module 1202 is also for showing the instant video picture after adjustment.
Optionally, equipment also comprises:
Sending module, for sending the first display parameters to other electronic equipments.
Embodiments provide a kind of electronic equipment, this electronic equipment is by obtaining the first display parameters of user's input, because the first display parameters are for adjusting the displaying ratio of instant video picture, so the displaying ratio of ratio to instant video picture indicated by the first display parameters adjusts, thus achieve user and adjust according to the ratio of the demand of oneself to instant video picture, meet user's request, improve Consumer's Experience, and according to the displaying ratio after adjustment, display instant video picture, adds the display format of instant video picture, meets user's request, improve Consumer's Experience, on the other hand, in traditional method, when screen by erect screen rotate to be horizontal screen time, instant video picture can be compressed, thus cause the out of proportion of the display object in instant video, reduce Consumer's Experience, and the method using the embodiment of the present invention to provide, when screen rotates, obtain the second display parameters, because the second display is for the displaying ratio of instant video picture after adjusting screen and rotating, so according to the second display parameters, the displaying ratio of instant video picture can be adjusted, make when screen rotates, the display of instant video picture meets user's request more, improve Consumer's Experience, meanwhile, because whether equipment automatic decision screen rotates, simplify operating procedure, the method that the embodiment of the present invention is provided is more intelligent, meets user in instant video to the demand that the face's displaying ratio of self adjusts, meanwhile, make when screen rotates, according to the second display parameters display instant video picture, make the display of instant video picture can not because of screen rotation, and the situation of proportion imbalance, improve Consumer's Experience, meet user's request.Simultaneously, use the method that the embodiment of the present invention provides, make to achieve efficient thin face and fat face function when affecting original performance hardly by the hardware-accelerated of terminal, compare additive method and save terminal amount of calculation, the effect of good resize ratio is achieved with minimum cost, because use the method can not affect the use of terminal hardware, thus meet user's request, improve Consumer's Experience.
Embodiment six
Embodiments provide a kind of electronic equipment 13, shown in Figure 13, the processor 1305 that electronic equipment 13 comprises video input module 1301, Video Output Modules 1302, transmission/reception module 1303, memory 1304 and is connected with video input module 1301, Video Output Modules 1302, transmission/reception module 1303 and memory 1304, wherein, memory 1304 stores batch processing code, processor 1305, for calling the program code stored in memory 1304, performs following operation:
Obtain the first display parameters of user's input, the first display parameters are for adjusting the displaying ratio of instant video picture;
According to the first display parameters, control screen output module 1302 and show instant video picture;
If screen rotates, then obtain the second display parameters, the second display parameters are for the displaying ratio of the instant video picture after adjusting screen and rotating;
According to the second display parameters, control screen output module 1302 and show instant video picture.
Wherein, processor 1305 also receives instant video for controlling video input module 1301 for calling the program code stored in memory 1304.
Optionally, processor 1305, for calling the program code stored in memory 1304, performs following operation:
Obtain the first display parameters that user inputs at least one frame video pictures.
Optionally, processor 1305, for calling the program code stored in memory 1304, performs following operation:
Obtain the gesture path of user's input.
Optionally, processor 1305, for calling the program code stored in memory 1304, performs following operation:
According to the angle of the first display parameters and screen rotation, calculate the second display parameters.
Optionally, processor 1305, for calling the program code stored in memory 1304, performs following operation:
According to the first display parameters or the second display parameters, the pel spacing of instant video picture is adjusted, generate the instant video picture after adjustment;
Control Video Output Modules 1302 and show the instant video picture after adjusting.
Optionally, processor 1305, for calling the program code stored in memory 1304, performs following operation:
Control transmission/reception module 1303 and send the first display parameters to other electronic equipments.
Embodiments provide a kind of electronic equipment, this electronic equipment is by obtaining the first display parameters of user's input, because the first display parameters are for adjusting the displaying ratio of instant video picture, so the displaying ratio of ratio to instant video picture indicated by the first display parameters adjusts, thus achieve user and adjust according to the ratio of the demand of oneself to instant video picture, meet user's request, improve Consumer's Experience, and according to the displaying ratio after adjustment, display instant video picture, adds the display format of instant video picture, meets user's request, improve Consumer's Experience, on the other hand, in traditional method, when screen by erect screen rotate to be horizontal screen time, instant video picture can be compressed, thus cause the out of proportion of the display object in instant video, reduce Consumer's Experience, and the method using the embodiment of the present invention to provide, when screen rotates, obtain the second display parameters, because the second display is for the displaying ratio of instant video picture after adjusting screen and rotating, so according to the second display parameters, the displaying ratio of instant video picture can be adjusted, make when screen rotates, the display of instant video picture meets user's request more, improve Consumer's Experience, meanwhile, because whether equipment automatic decision screen rotates, simplify operating procedure, the method that the embodiment of the present invention is provided is more intelligent, meets user in instant video to the demand that the face's displaying ratio of self adjusts, meanwhile, make when screen rotates, according to the second display parameters display instant video picture, make the display of instant video picture can not because of screen rotation, and the situation of proportion imbalance, improve Consumer's Experience, meet user's request.Simultaneously, use the method that the embodiment of the present invention provides, make to achieve efficient thin face and fat face function when affecting original performance hardly by the hardware-accelerated of terminal, compare additive method and save terminal amount of calculation, the effect of good resize ratio is achieved with minimum cost, because use the method can not affect the use of terminal hardware, thus meet user's request, improve Consumer's Experience.
Embodiment seven
Embodiments provide a kind of electronic equipment 14, with reference to shown in Figure 14, this electronic equipment comprises:
Receiver module 1401, for receiving the first display parameters that other electronic equipments send;
Display module 1402, for according to the first display parameters, shows instant video picture.
Optionally,
Electronic equipment also comprises adjusting module, for according to the first display parameters, adjusts the pel spacing of instant video picture, generates the instant video picture after adjustment;
Display module 1402 is also for showing the instant video picture after adjustment.
Embodiments provide a kind of electronic equipment, the first display parameters that this electronic equipment sends by receiving other electronic equipments, because the first display parameters are for adjusting the displaying ratio of instant video picture, so the ratio displaying ratio to instant video picture of this electronic equipment indicated by the first display parameters received adjusts, achieve and on the electronic equipment of receiving terminal, the ratio of instant video picture is adjusted, instant video picture can be adjusted according to the ratio of the demand of other electronic device user, , meet user's request, improve Consumer's Experience, on the other hand according to the displaying ratio after adjustment, the instant video picture after display adjustment, adds the display format of instant video picture, thus meets user's request, improve Consumer's Experience, on the other hand, in traditional method, when screen by erect screen rotate to be horizontal screen time, instant video picture can be compressed, thus cause the out of proportion of the display object in instant video, reduce Consumer's Experience, and the method using the embodiment of the present invention to provide, when screen rotates, this electronic equipment obtains the second display parameters, because the second display is for the displaying ratio of instant video picture after adjusting screen and rotating, so according to the second display parameters, the displaying ratio of instant video picture can be adjusted, make when screen rotates, the display of instant video picture meets user's request more, improve Consumer's Experience, simultaneously, because whether equipment automatic decision screen rotates, simplify operating procedure, the method that the embodiment of the present invention is provided is more intelligent, meet user in instant video to the demand that the face's displaying ratio of self adjusts, simultaneously, make when screen rotates, according to the second display parameters display instant video picture, make the display of instant video picture can not because of screen rotation, and the situation of proportion imbalance, improve Consumer's Experience, meet user's request.Simultaneously, use the method that the embodiment of the present invention provides, make to achieve efficient thin face and fat face function when affecting original performance hardly by the hardware-accelerated of terminal, compare additive method and save terminal amount of calculation, the effect of good resize ratio is achieved with minimum cost, because use the method can not affect the use of terminal hardware, thus meet user's request, improve Consumer's Experience.
Embodiment eight
Embodiments provide a kind of electronic equipment 15, with reference to shown in Figure 15, the processor 1505 that this electronic equipment 15 comprises video input module 1501, Video Output Modules 1502, transmission/reception module 1503, memory 1504 and is connected with video input module 1501, Video Output Modules 1502, transmission/reception module 1503 and memory 1504, wherein, memory 1504 stores batch processing code, processor 1505, for calling the program code stored in memory 1504, performs following operation:
Control the first display parameters that transmission/reception module 1503 receives the transmission of other electronic equipments;
According to the first display parameters, control Video Output Modules 1502 and show instant video picture.
Wherein, processor 1505 also receives instant video for controlling video input module for calling the program code stored in memory 1504.
Optionally, processor 1505, for calling the program code stored in memory 1504, performs following operation:
According to the first display parameters, the pel spacing of instant video picture is adjusted, generate the instant video picture after adjustment;
Control screen output module 1502 and show the instant video picture after adjusting.
Embodiments provide a kind of electronic equipment, the first display parameters that this electronic equipment sends by receiving other electronic equipments, because the first display parameters are for adjusting the displaying ratio of instant video picture, so the ratio displaying ratio to instant video picture of this electronic equipment indicated by the first display parameters received adjusts, achieve and on the electronic equipment of receiving terminal, the ratio of instant video picture is adjusted, instant video picture can be adjusted according to the ratio of the demand of other electronic device user, , meet user's request, improve Consumer's Experience, on the other hand according to the displaying ratio after adjustment, the instant video picture after display adjustment, adds the display format of instant video picture, thus meets user's request, improve Consumer's Experience, on the other hand, in traditional method, when screen by erect screen rotate to be horizontal screen time, instant video picture can be compressed, thus cause the out of proportion of the display object in instant video, reduce Consumer's Experience, and the method using the embodiment of the present invention to provide, when screen rotates, this electronic equipment obtains the second display parameters, because the second display is for the displaying ratio of instant video picture after adjusting screen and rotating, so according to the second display parameters, the displaying ratio of instant video picture can be adjusted, make when screen rotates, the display of instant video picture meets user's request more, improve Consumer's Experience, simultaneously, because whether equipment automatic decision screen rotates, simplify operating procedure, the method that the embodiment of the present invention is provided is more intelligent, meet user in instant video to the demand that the face's displaying ratio of self adjusts, simultaneously, make when screen rotates, according to the second display parameters display instant video picture, make the display of instant video picture can not because of screen rotation, and the situation of proportion imbalance, improve Consumer's Experience, meet user's request.Simultaneously, use the method that the embodiment of the present invention provides, make to achieve efficient thin face and fat face function when affecting original performance hardly by the hardware-accelerated of terminal, compare additive method and save terminal amount of calculation, the effect of good resize ratio is achieved with minimum cost, because use the method can not affect the use of terminal hardware, thus meet user's request, improve Consumer's Experience.
It should be noted that, interface described in above-described embodiment is only exemplary, is the method in order to further illustrate described in the embodiment of the present invention, non-ly herein refers in particular to, " first " and " second " described in above-described embodiment is only used to the difference of both differentiations, not refers in particular to herein.
Above-mentioned all alternatives, can adopt and combine arbitrarily formation optional embodiment of the present invention, this is no longer going to repeat them.
It should be noted that: the electronic equipment that above-described embodiment provides is when performing the display packing of instant video picture, only be illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules, internal structure by electronic equipment is divided into different functional modules, to complete all or part of function described above.In addition, the display packing embodiment of the electronic equipment that above-described embodiment provides and instant video picture belongs to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be read-only memory, disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (10)
1. a display packing for instant video, is characterized in that, described method comprises:
Obtain the first display parameters of user's input, described first display parameters are for adjusting the displaying ratio of instant video picture;
According to described first display parameters, show described instant video picture;
If screen rotates, then obtain the second display parameters, described second display parameters are for the displaying ratio of the instant video picture after adjusting screen and rotating;
According to described second display parameters, show described instant video picture.
2. method according to claim 1, is characterized in that, the first display parameters of described acquisition user input comprise:
Obtain described first display parameters that described user inputs at least one frame video pictures.
3. method according to claim 2, is characterized in that, described method also comprises:
Obtain the gesture path of user's input.
4. according to the method in claim 2 or 3, it is characterized in that, described acquisition second display parameters comprise:
According to the angle of described first display parameters and screen rotation, calculate described second display parameters.
5. method according to claim 4, is characterized in that, the described instant video picture of described display comprises:
According to described first display parameters or described second display parameters, the pel spacing of described instant video picture is adjusted, generate the instant video picture after adjustment;
Show the instant video picture after described adjustment.
6. want the method described in 5 according to right, it is characterized in that, described method also comprises:
Send described first display parameters to other electronic equipments.
7. a display packing for instant video, is characterized in that, described method comprises:
Receive the first display parameters that other electronic equipments send;
According to described first display parameters, display instant video picture.
8. method according to claim 7, is characterized in that, described according to described first display parameters, and display instant video picture comprises:
According to described first display parameters, the pel spacing of described instant video picture is adjusted, generate the instant video picture after adjustment;
Show the instant video picture after described adjustment.
9. an electronic equipment, is characterized in that, described electronic equipment comprises:
Acquisition module, for obtaining the first display parameters of user's input, described first display parameters are for adjusting the displaying ratio of instant video picture;
Display module, for according to described first display parameters, shows described instant video picture;
Judge module, for when screen rotates, triggers described acquisition module and obtains the second display parameters, and described second display parameters are for the displaying ratio of the instant video picture after adjusting screen and rotating;
Described display module also for according to described second display parameters, shows described instant video picture.
10. an electronic equipment, is characterized in that, described electronic equipment comprises:
Receiver module, for receiving the first display parameters that other electronic equipments send;
Display module, for according to described first display parameters, shows instant video picture.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510342600.0A CN105007446A (en) | 2015-06-18 | 2015-06-18 | Instant video display method and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510342600.0A CN105007446A (en) | 2015-06-18 | 2015-06-18 | Instant video display method and electronic device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105007446A true CN105007446A (en) | 2015-10-28 |
Family
ID=54379943
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510342600.0A Pending CN105007446A (en) | 2015-06-18 | 2015-06-18 | Instant video display method and electronic device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105007446A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105872666A (en) * | 2016-05-06 | 2016-08-17 | 腾讯科技(深圳)有限公司 | Mode switching method and device |
CN109922204A (en) * | 2017-12-13 | 2019-06-21 | 中兴通讯股份有限公司 | Image processing method and terminal |
CN111182213A (en) * | 2019-12-31 | 2020-05-19 | 维沃移动通信有限公司 | Video production method, electronic device, and medium |
CN111918014A (en) * | 2019-05-10 | 2020-11-10 | 腾讯科技(深圳)有限公司 | Method and device for displaying video image |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101034322A (en) * | 2006-03-10 | 2007-09-12 | 凌阳科技股份有限公司 | Devices capable of displaying on screen and receiving input and rotary methods therefor |
CN102215372A (en) * | 2010-04-07 | 2011-10-12 | 苹果公司 | Remote control operations in a video conference |
CN102695034A (en) * | 2012-05-30 | 2012-09-26 | 青岛海信移动通信技术股份有限公司 | Method and device for regulating end display of video image during video call |
CN102999929A (en) * | 2012-11-08 | 2013-03-27 | 大连理工大学 | Triangular gridding based human image face-lift processing method |
CN103605975A (en) * | 2013-11-28 | 2014-02-26 | 小米科技有限责任公司 | Image processing method and device and terminal device |
CN103677589A (en) * | 2013-12-30 | 2014-03-26 | 腾讯科技(深圳)有限公司 | Terminal screen picture rotation control method and device |
CN103970328A (en) * | 2013-02-05 | 2014-08-06 | 株式会社理光 | Touch or non-touch type multi-input-point control command detecting method and device |
CN104020928A (en) * | 2014-06-09 | 2014-09-03 | 联想(北京)有限公司 | Image display method and device |
CN104159032A (en) * | 2014-08-20 | 2014-11-19 | 广东欧珀移动通信有限公司 | Method and device of adjusting facial beautification effect in camera photographing in real time |
US20140375758A1 (en) * | 2013-06-25 | 2014-12-25 | Vonage Network Llc | Method and apparatus for dynamically adjusting aspect ratio of images during a video call |
CN104574306A (en) * | 2014-12-24 | 2015-04-29 | 掌赢信息科技(上海)有限公司 | Face beautifying method for real-time video and electronic equipment |
-
2015
- 2015-06-18 CN CN201510342600.0A patent/CN105007446A/en active Pending
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101034322A (en) * | 2006-03-10 | 2007-09-12 | 凌阳科技股份有限公司 | Devices capable of displaying on screen and receiving input and rotary methods therefor |
CN102215372A (en) * | 2010-04-07 | 2011-10-12 | 苹果公司 | Remote control operations in a video conference |
CN102695034A (en) * | 2012-05-30 | 2012-09-26 | 青岛海信移动通信技术股份有限公司 | Method and device for regulating end display of video image during video call |
CN102999929A (en) * | 2012-11-08 | 2013-03-27 | 大连理工大学 | Triangular gridding based human image face-lift processing method |
CN103970328A (en) * | 2013-02-05 | 2014-08-06 | 株式会社理光 | Touch or non-touch type multi-input-point control command detecting method and device |
US20140375758A1 (en) * | 2013-06-25 | 2014-12-25 | Vonage Network Llc | Method and apparatus for dynamically adjusting aspect ratio of images during a video call |
CN103605975A (en) * | 2013-11-28 | 2014-02-26 | 小米科技有限责任公司 | Image processing method and device and terminal device |
CN103677589A (en) * | 2013-12-30 | 2014-03-26 | 腾讯科技(深圳)有限公司 | Terminal screen picture rotation control method and device |
CN104020928A (en) * | 2014-06-09 | 2014-09-03 | 联想(北京)有限公司 | Image display method and device |
CN104159032A (en) * | 2014-08-20 | 2014-11-19 | 广东欧珀移动通信有限公司 | Method and device of adjusting facial beautification effect in camera photographing in real time |
CN104574306A (en) * | 2014-12-24 | 2015-04-29 | 掌赢信息科技(上海)有限公司 | Face beautifying method for real-time video and electronic equipment |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105872666A (en) * | 2016-05-06 | 2016-08-17 | 腾讯科技(深圳)有限公司 | Mode switching method and device |
CN105872666B (en) * | 2016-05-06 | 2019-11-15 | 腾讯科技(深圳)有限公司 | Mode switching method and device |
CN109922204A (en) * | 2017-12-13 | 2019-06-21 | 中兴通讯股份有限公司 | Image processing method and terminal |
CN111918014A (en) * | 2019-05-10 | 2020-11-10 | 腾讯科技(深圳)有限公司 | Method and device for displaying video image |
CN111182213A (en) * | 2019-12-31 | 2020-05-19 | 维沃移动通信有限公司 | Video production method, electronic device, and medium |
CN111182213B (en) * | 2019-12-31 | 2021-09-24 | 维沃移动通信有限公司 | Video production method, electronic device, and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104581405B (en) | A kind of display content processing method and equipment | |
CN105005441A (en) | Instant video display method and electronic equipment | |
CN105007446A (en) | Instant video display method and electronic device | |
CN102025891B (en) | Image processing method and device | |
CN105096373A (en) | Media content rendering method, user device and rendering system | |
JP2009533924A (en) | Composition of panoramic images using frame selection | |
CN104254001B (en) | Long-range sharing method, device and terminal | |
CN105763829A (en) | Image processing method and electronic device | |
CN104469253A (en) | Face beautification method in real-time video and electronic equipment | |
CN104717509B (en) | A kind of video encoding/decoding method and device | |
CN105204347A (en) | Method, device and system for smart home interaction based on augmented reality technologies | |
CN104298484A (en) | Multi-screen interaction method and device | |
US20240339091A1 (en) | Image display method and apparatus, electronic device, and storage medium | |
CN113010135B (en) | Data processing method and device, display terminal and storage medium | |
CN109688457A (en) | A kind of anti-occlusion method of video, device, electronic equipment and medium | |
US11880919B2 (en) | Sticker processing method and apparatus | |
CN104967917A (en) | Instant video coding method and electronic device | |
CN102945076B (en) | A kind of display terminal image rotating method, device and a kind of display control program | |
CN105407313A (en) | Video calling method, equipment and system | |
WO2024174971A1 (en) | Video processing method and apparatus, and device and storage medium | |
CN105681869B (en) | Video browsing approach and device | |
CN109710365A (en) | A kind of barrage display methods, device, electronic equipment and medium | |
CN111327863A (en) | Video call processing method and device | |
WO2024051541A1 (en) | Special-effect image generation method and apparatus, and electronic device and storage medium | |
CN106201385B (en) | Control method and device and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20151028 |
|
RJ01 | Rejection of invention patent application after publication |