CN109618210A - Video pictures method of adjustment, device, computer equipment and readable storage medium storing program for executing - Google Patents
Video pictures method of adjustment, device, computer equipment and readable storage medium storing program for executing Download PDFInfo
- Publication number
- CN109618210A CN109618210A CN201811323429.9A CN201811323429A CN109618210A CN 109618210 A CN109618210 A CN 109618210A CN 201811323429 A CN201811323429 A CN 201811323429A CN 109618210 A CN109618210 A CN 109618210A
- Authority
- CN
- China
- Prior art keywords
- video pictures
- operational controls
- overlapping region
- adjustment
- display interface
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
- H04N21/4312—Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/434—Disassembling of a multiplex stream, e.g. demultiplexing audio and video streams, extraction of additional data from a video stream; Remultiplexing of multiplex streams; Extraction or processing of SI; Disassembling of packetised elementary stream
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- User Interface Of Digital Computer (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
This disclosure relates to a kind of video pictures method of adjustment, including being detected to display interface, judge video pictures with operational controls with the presence or absence of Chong Die, determine the overlapping region of the video pictures and the operational controls, further according to the overlapping region, adjustment in addition to scaling is carried out to the display interface, blocks the video pictures mutually not with the operational controls.The video pictures method of adjustment that the disclosure provides can effectively identify the situation Chong Die with the operational controls of video pictures described in display interface, and overlapping is adjusted, so that the video pictures do not block mutually with the operational controls, improve the display effect of the video pictures, user experience is improved, and the display effect of the video pictures is good.
Description
Technical field
This disclosure relates to field of image processing, more particularly to video pictures method of adjustment, device, computer equipment and can
Read storage medium.
Background technique
Currently, with the increasingly raising of living standard with the continuous development of video technique, video be shown in life in everywhere
It can be seen that.At the same time, the requirement that user shows video is also higher and higher.
For video in recording, preview or broadcasting, position displayed in the screen can be a variety of.When general video display,
The menu frame of video is respectively positioned on the middle position of screen.But when video is in recording, preview or broadcasting, if necessary to carry out
Others operation, it is necessary to while display operation control.Therefore, when video pictures and operational controls are shown in screen simultaneously,
Operational controls may block video section interface, cause video pictures imperfect, influence the effect of video-see.
Summary of the invention
Based on this, it is necessary to which bad for display effect, the low problem of the quality and resolution ratio of video pictures provides one kind
Video pictures method of adjustment, device, computer equipment and readable storage medium storing program for executing.
A kind of method of adjustment of video pictures, comprising:
Display interface is detected, judges video pictures with operational controls with the presence or absence of Chong Die;
If so, determining the overlapping region of the video pictures and the operational controls;
According to the overlapping region, the adjustment in addition to scaling is carried out to the display interface, make the video pictures with
The operational controls are not blocked mutually.
It is described in one of the embodiments, that display interface is detected, judge whether are video pictures and operational controls
There are overlappings, comprising:
Obtain the position coordinates of the video pictures;
Obtain the position coordinates of the operational controls;
According to the position coordinates of the position coordinates of the video pictures and the operational controls judge the video pictures with
The operational controls are with the presence or absence of overlapping.
The overlapping region of the determination video pictures and the operational controls in one of the embodiments, comprising:
Obtain the repetition coordinate in the position coordinates of the video pictures and the position coordinates of the operational controls;
According to the overlapping region for repeating coordinate and determining the video pictures and the operational controls.
It is described according to the overlapping region in one of the embodiments, the display interface is carried out in addition to scaling
Adjustment, block the video pictures mutually not with the operational controls, comprising:
According to the relative position of the video pictures and the operational controls, the translation side to the video pictures is determined
To;
According to the overlapping region, the translational movement to the video pictures is determined;
The video pictures are translated according to the translation direction and the translational movement, make the video pictures and institute
Operational controls are stated not block mutually.
The translation direction of the video pictures and the operational controls are in the video pictures in one of the embodiments,
Relative bearing it is opposite.
The relative position according to the video pictures and the operational controls in one of the embodiments, determines
To the translation direction of the video pictures, comprising:
According to the translation direction for repeating coordinate, determining to the video pictures.
In one of the embodiments, according to the overlapping region, the translational movement to the video pictures is determined, comprising:
According to the translational movement for repeating coordinate, calculating to the video pictures.
It is described according to the overlapping region in one of the embodiments, the display interface is carried out in addition to scaling
Adjustment, the video pictures are blocked mutually not with the operational controls include:
Transparence display is carried out to the overlapping region in the operational controls.
In one of the embodiments, according to the overlapping region, the tune in addition to scaling is carried out to the display interface
It is whole, block the video pictures mutually not with the operational controls, comprising:
By preset switching mode, the operational controls are replaced with into preset replacement control.
The video pictures method of adjustment that the embodiment of the present disclosure provides judges to regard by detecting display interface
Then frequency picture and operational controls determine the overlapping region of the video pictures and the operational controls with the presence or absence of Chong Die, then
According to the overlapping region, the adjustment in addition to scaling is carried out to the display interface, makes the video pictures and the operation
Control does not block mutually.Compared with traditional technology, the video pictures method of adjustment that the embodiment of the present disclosure provides is to the display
Interface carries out the adjustment in addition to scaling, and the size of the video pictures does not change, has not been changed the matter of the video pictures
Amount and resolution ratio etc., therefore the video pictures of the video pictures method of adjustment offer of embodiment of the present disclosure offer is aobvious
Show that effect is good.
A kind of video pictures adjustment device, comprising:
Judgment module judges video pictures with operational controls with the presence or absence of Chong Die for detecting to display interface;
Determining module, for determining the overlapping region of the video pictures and the operational controls;
Module is adjusted, for the adjustment in addition to scaling being carried out to the display interface, making institute according to the overlapping region
It states video pictures and is not blocked mutually with the operational controls.
A kind of computer equipment, including memory and processor, the memory are stored with computer program, the processing
The step of device realizes claim method as described above when executing the computer program.
A kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program
The step of method as described above is realized when being executed by processor.
The video pictures that the embodiment of the present disclosure provides adjust device, computer equipment, computer readable storage medium
It is Chong Die can to judge that video pictures whether there is with operational controls, then determines the view by being detected to display interface
The overlapping region of frequency picture and the operational controls, further according to the overlapping region, to the display interface carry out except scaling with
Outer adjustment blocks the video pictures mutually not with the operational controls.The video pictures that the embodiment of the present disclosure provides
Adjustment device, computer equipment, computer readable storage medium carry out the adjustment in addition to scaling to the display interface, described
The size of video pictures does not change, has not been changed quality and resolution ratio of the video pictures etc., therefore the embodiment of the present disclosure
The video pictures that video pictures adjustment device, computer equipment, the computer readable storage medium provided provides
Display effect is good.
Detailed description of the invention
Fig. 1 is the application scenario diagram that an embodiment of the present disclosure provides;
Fig. 2 is the video pictures method of adjustment flow diagram that an embodiment of the present disclosure provides;
Fig. 3 detects display interface for what an embodiment of the present disclosure provided, judges video pictures and operational controls
With the presence or absence of overlapping flow diagram;
Fig. 4 is the video pictures method of adjustment application scenario diagram that an embodiment of the present disclosure provides;
Fig. 5 is the overlapping region stream of an embodiment of the present disclosure determination video pictures provided and the operational controls
Journey schematic diagram;
Fig. 6 be an embodiment of the present disclosure provide according to the overlapping region, the display interface is carried out except scaling
Adjustment in addition makes the video pictures and the operational controls not block flow diagram mutually;
Fig. 7 is that the video pictures that an embodiment of the present disclosure provides adjust apparatus structure schematic diagram;
Fig. 8 is the judgment module structural schematic diagram that an embodiment of the present disclosure provides;
Fig. 9 is the determination modular structure schematic diagram that an embodiment of the present disclosure provides;
Figure 10 is the adjustment modular structure schematic diagram that an embodiment of the present disclosure provides;
Figure 11 is the adjustment modular structure schematic diagram that an embodiment of the present disclosure provides;
Figure 12 is the adjustment modular structure schematic diagram that an embodiment of the present disclosure provides.
Specific embodiment
The video pictures method of adjustment that the disclosure provides, can be adapted for computer equipment shown in FIG. 1, which sets
Standby includes processor, memory, network interface and the database connected by system bus.Wherein, the place of the computer equipment
Device is managed for providing calculating and control ability.The memory of the computer equipment includes non-volatile memory medium, built-in storage.
The non-volatile memory medium is stored with operating system, computer program and database.The built-in storage is non-volatile memories
The operation of operating system and computer program in medium provides environment.The database of the computer equipment is for storing the disclosure
Video file etc. in embodiment.The network interface of the computer equipment is used to communicate with external terminal by network connection.
Optionally, which can be server, can be PC, can also be personal digital assistant, can also be other
Terminal device, such as PAD, mobile phone etc. can also be cloud or remote server, and the embodiment of the present disclosure is to computer equipment
Concrete form and without limitation.
In order to which the objects, technical solutions and advantages of the disclosure are more clearly understood, pass through following embodiments and combine attached
Figure, to the further description of the technical solution in the embodiment of the present disclosure.It should be appreciated that specific embodiment described herein
Only to explain the disclosure, it is not used to limit application.
Fig. 2 is referred to, an embodiment of the present disclosure provides a kind of video pictures method of adjustment, which comprises
S10 detects display interface, judges video pictures with operational controls with the presence or absence of Chong Die.
The display interface refers to the content of the presented display of computer equipment screen.The display interface can wrap
Option, the menu etc. for including user's operation, also may include the display to application program running state.When the computer equipment
When running video application, the display interface shows that content may include the video pictures and the operational controls.Institute
State the picture that video pictures refer to video record, preview or show when playing.The operational controls refer to for obtaining and executing
The option or menu of user command.For example, video record interface, the operational controls may include starting to record option, stopping
Record option, save options, be inserted into music option etc..The operational controls also may include for showing video playing progress
With the progress bar of state etc..
Different according to the setting of application program, the video pictures can be different in the display position of the display interface.
The video pictures can be shown centered in the display interface, can also be top or be shown in the display interface on the lower, also
It can keep left or keep right and be shown in the display interface.According to the difference of the operation phase of application program, the operational controls
Display position and size also not just as.Therefore, the video pictures are different with the relative position of the operational controls.The video
Picture and the operational controls are it is possible that overlapping.For example, when the video pictures fully support the display interface, institute along longitudinal direction
State the lower section that operational controls are located at the operation interface.Then the operational controls are located in the menu frame of the video pictures, institute
Stating operational controls, there are Chong Die with the video pictures.
The computer equipment is to the display position of the sizes of the video pictures of the display interface, video pictures, described
The size of operational controls, the operational controls display position detected, and in conjunction with the size etc. of the display interface, judgement
The video pictures are with the operational controls with the presence or absence of Chong Die.To judge the operational controls whether to the video pictures
In the presence of block or the video pictures to the operational controls with the presence or absence of blocking.Judge the video pictures and the operation
Control can be selected with the presence or absence of the method for overlapping according to the difference of the difference of application program and specific requirements etc., this
It is open not do any restriction.
S20, if so, determining the overlapping region of the video pictures and the operational controls.
According to the judging result of S10, if the video pictures and the operational controls, there are Chong Die, the computer is set
The standby overlapping region for determining the video pictures and the operational controls.The overlay region of the video pictures and the operational controls
Domain can be characterized by coordinate, can also pass through the relative position or the video with the video pictures and the operational controls
The area of the overlapping region characterizes between picture and the operational controls.
S30 carries out the adjustment in addition to scaling to the display interface according to the overlapping region, draws the video
It is not blocked mutually with the operational controls in face.
It carries out the adjustment in addition to scaling to the display interface and refers to not zoom in or out video pictures and described
The method of adjustment of the size of operational controls.The adjustment in addition to scaling can adjust for position, or display methods
Adjustment, or other are any not to scale the display interface, and can make the video pictures and operation control
The adjustment that part does not block mutually.Scaling is removed with the adjustment amount of external-adjuster to what the display interface carried out, can be determined according to S20
The size and location of the overlapping region determine.The computer equipment is by adjusting eliminating the operational controls and institute
The overlapping of video pictures is stated, so that the video pictures do not block mutually with the operational controls.The video pictures adjusted
It is not influenced by the operational controls, display is complete, improves the result of broadcast of video.
In the present embodiment, by being detected to display interface, judge video pictures and operational controls with the presence or absence of Chong Die,
Then the overlapping region for determining the video pictures and the operational controls, further according to the overlapping region, to display circle
Face carries out the adjustment in addition to scaling, blocks the video pictures mutually not with the operational controls.The embodiment of the present disclosure provides
The video pictures method of adjustment can effectively identify that video pictures described in display interface are Chong Die with the operational controls
Situation, and overlapping is adjusted, so that the video pictures do not block mutually with the operational controls, improve the video pictures
Display effect, improve user experience.
In addition, the video pictures method of adjustment provided in this embodiment carries out in addition to scaling the display interface
Adjustment, the size of the video pictures do not change, have not been changed quality and resolution ratio of the video pictures etc., therefore this reality
The display effect for applying the video pictures of the video pictures method of adjustment offer of example offer is good.
Fig. 3 and Fig. 4 are referred to, in one embodiment, S10 is described to detect to display interface, judges video pictures
With operational controls with the presence or absence of Chong Die, comprising:
S110 obtains the position coordinates of the video pictures.
The computer equipment detects the display interface, and obtains the position coordinates of the video pictures.Institute
The position coordinates of video pictures frame of the video pictures can only be obtained by stating computer equipment, and also the available video is drawn
The position coordinates for all the points that bread contains.The position coordinates of the video pictures are used to characterize size, the shape of the video pictures
Shape and position etc. in the display interface.
S120 obtains the position coordinates of the operational controls.
The computer equipment detects the display interface, and obtains the position coordinates of the operational controls.Institute
The position coordinates of operational controls frame can only be obtained by stating computer equipment.The operational controls frame refers to the aobvious of the operational controls
Show frame.The position coordinates of the computer equipment all the points that also the available operational controls include.The operational controls
Position coordinates be used to characterize the sizes of the operational controls, shape and in position of the display interface etc..
S130 judges that the video is drawn according to the position coordinates of the position coordinates of the video pictures and the operational controls
Face is with the operational controls with the presence or absence of Chong Die.
If S110 obtains the position coordinates for all the points that the video pictures include, S120 obtains the operational controls and includes
All the points position coordinates, then the computer equipment judges the position coordinates of all the points that the video pictures include and described
Whether there is duplicate coordinate in all the points position coordinates that operational controls include.If so, illustrate the video pictures with it is described
There is overlapping in operational controls, if it is not, then illustrating the video pictures, there is no Chong Die with the operational controls.For example, it is assumed that institute
It states video pictures and there are one group of repetition coordinates in the position coordinates of the operational controls: (10,5), (11,5), (12,5),
(13,5), (14,5), (15,5), then illustrating the operational controls, there are Chong Die with the video pictures.
If S110 only obtains the position coordinates of the video pictures frame, the position that S120 only obtains the operational controls frame is sat
Mark, then the computer equipment calculates size and the position of the video pictures frame according to the position coordinates of the video pictures frame
It sets.The computer equipment calculates the size and location of the operational controls frame according to the position coordinates of the operational controls frame.
The computer equipment is according to the size and location of the video pictures frame and the operational controls frame, in conjunction with the display interface
The size etc. of display interface frame judge the video pictures and the operational controls with the presence or absence of Chong Die.For example, it is assumed that according to
The position coordinates of the video pictures frame judge to obtain the long L1 of video pictures frame as 8cm, and high H1 is 16cm, are centered at described
Display interface.Judge to obtain that the long L2 of the operational controls frame is as 6cm, high H2 according to the position coordinates of the operational controls frame
4cm is located at below the display interface.The display interface frame size are as follows: long L is 8cm, and high H is 19cm.Then, due to described
The sum of height of the height of video pictures frame and the operational controls is greater than the height of the display interface frame, therefore, the view
Along short transverse, there are Chong Die with the operational controls for frequency picture.
It should be noted that the video pictures whether there is Chong Die calculating and judgment method simultaneously with the operational controls
It is not limited to the method that the disclosure is enumerated, other algorithms can be selected, as long as can judge the view according to actual needs
Frequency picture is with the operational controls with the presence or absence of Chong Die.
In the present embodiment, by obtaining the position coordinates of the video pictures and the position coordinates of the operational controls, so
The video pictures and the behaviour are judged according to the position coordinates of the position coordinates of the video pictures and the operational controls afterwards
Make control with the presence or absence of overlapping, judgment method is simple, and judging result is accurate, improves the arithmetic speed and tune of video pictures adjustment
Whole quality.
Fig. 5 is referred to, in one embodiment, S20, the overlapping of the determination video pictures and the operational controls
Region, comprising:
S210, the repetition obtained in the position coordinates of the video pictures and the position coordinates of the operational controls are sat
Mark.
The computer equipment is compared according to the position coordinates of the video pictures and the position coordinates of the operational controls,
And filter out wherein duplicate coordinate.The middle repetition of the position coordinates of the video pictures and the position coordinates of the operational controls
Coordinate characterizes the video pictures and position, the size and shape of the operational controls overlapping region etc..
S220, according to the overlapping region for repeating coordinate and determining the video pictures and the operational controls.
According in the position coordinates of the video pictures obtained in S210 and the position coordinates of the operational controls
Coordinate is repeated, calculates the size of the overlapping region, the shape of the overlapping region, the overlapping region are in display circle
The position etc. in face.
In the present embodiment, by obtaining in the position coordinates of the video pictures and the position coordinates of the operational controls
Repetition coordinate, and the overlapping regions of the video pictures and the operational controls is determined according to the coordinate that repeats.This
The video pictures method of adjustment that embodiment provides can accurately and fast determine the overlapping region, improve video
The arithmetic speed and adjustment quality of picture adjustment.
Fig. 6 is referred to, in one embodiment, S30 is described according to the overlapping region, carries out to the display interface
Adjustment in addition to scaling blocks the video pictures mutually not with the operational controls, comprising:
S310, according to the relative position of the video pictures and the operational controls, the video pictures are put down in determination
Move direction.
In one embodiment, in S310, the translation direction of the video pictures and the operational controls are in the video
The relative bearing of picture is opposite.
It should be noted that below to orientation "upper" used in the video pictures and the operational controls location expression
"lower" " left side " " right side " etc. is just put with display interface, and display interface described in observer or user's face, with the display
The line of symmetry at interface is line of demarcation to define.Method and process described in this embodiment are merely to illustrate this method, and do not have to
In restriction this method.
If the overlapping region is located at the lower section of the display interface, the operational controls are located under the video pictures
Side, then the translation direction is upper;
If the overlapping region is located above the display interface, the operational controls are located at the upper of the video pictures
Side, then under the translation direction is;
If the overlapping region is located at the display interface left, the operational controls are located at a left side for the video pictures
Side, then the translation direction is the right side;
If the overlapping region is located at the display interface right, the operational controls are located at the right side of the video pictures
Side, then the translation direction is a left side.
S320 determines the translational movement to the video pictures according to the overlapping region.
The translational movement may include the mobile distance of video pictures or area.According to the size of the overlapping region and
The position of the display interface calculates the translational movement for determining the video pictures.For example, the overlapping region is located at the display
The lower section at interface, the overlapping region length are 8cm, are highly 2cm, then the translational movement is 2cm.
S330 translates the video pictures according to the translation direction and the translational movement, draws the video
It is not blocked mutually with the operational controls in face.
According to the translational movement that the S310 translation direction determined and S320 are determined, the computer equipment will be described
Video pictures translate the translational movement distance along the translation direction, to eliminate the screening of the video pictures Yu the operational controls
Gear.
In the present embodiment, according to the relative position of the video pictures and the operational controls, determines and the video is drawn
The translation direction in face, and according to the overlapping region, the translational movement to the video pictures is determined, then according to the translation side
The video pictures are translated to the translational movement, block the video pictures mutually not with the operational controls.This
The video pictures method of adjustment that embodiment provides is blocked by the translation elimination to the video pictures, operation method letter
Single, raising is regulated the speed.Meanwhile the method provided in this embodiment can accurately calculate the translation direction and described
Translational movement translates the video pictures according to the translation direction and the translational movement, provides the video pictures
The accuracy of adjustment.
In one embodiment, S310, the relative position according to the video pictures and the operational controls determine
To the translation direction of the video pictures, comprising:
S311, according to the translation direction for repeating coordinate, determining to the video pictures.
The coordinate that repeats characterizes the position of the overlapping region, size and shape etc..Therefore, coordinate is repeated according to described
It can determine that the translation direction.For example, it is assumed that the repetition coordinate of the operational controls and the video pictures is (10,3),
(11,3), (12,3), (13,3), (14,3), (15,3), (10,4), (11,4), (12,4), (13,4), (14,4), (15,4)
(10,5), (11,5), (12,5), (13,5), (14,5), (15,5).By the above-mentioned coordinate that repeats it is found that the repeat region is located at
Below the display interface, the operational controls are located at below the video pictures, and therefore, the translation direction is upper.
In one embodiment, S320 determines the translational movement to the video pictures according to the overlapping region, comprising:
S321, according to the translational movement for repeating coordinate, calculating to the video pictures.
Embodiment given example as above can determine that the translational movement is 3 according to the above-mentioned coordinate that repeats.
In the present embodiment, can accurately it be calculated by the coordinate that repeats of the overlapping region to video picture
The translation direction and translational movement in face improve the accuracy to video pictures adjustment.
In one embodiment, S30, it is described according to the overlapping region, the display interface is carried out in addition to scaling
Adjustment, block the video pictures mutually not with the operational controls, comprising:
S340 carries out transparence display to the overlapping region in the operational controls.
May be used also in addition to the methods explained above for the part being overlapped in the operational controls and the video pictures
With will corresponded in the operational controls overlapping region position carry out transparence display, so as to so that the video pictures just
Often display, eliminates and blocks.The method of transparence display is not applied being not specifically limited, as long as transparence display may be implemented i.e.
It can.
In one embodiment, S30, it is described according to the overlapping region, the display interface is carried out in addition to scaling
Adjustment, block the video pictures mutually not with the operational controls, comprising:
The operational controls are replaced with preset replacement control by preset switching mode by S350.
The replacement control can be the control or option smaller than the operational controls size.It is replaced with the replacement control
The operational controls, so that the replacement control and the video pictures there is no Chong Die, block so as to eliminate.It is described to replace
Change the size of control, shape can be configured according to actual needs, be blocked as long as can eliminate, the replacement control with
The switching mode of the operational controls can also be selected according to actual needs.In one embodiment, the replacement control
It can be a quick botton, there is no block the quick botton with the video pictures.The quick botton and the behaviour
Making control can mutually switch.When not needing operation, the quick botton is shown, the operational controls are hidden.When needs pair
It, can be defeated to the quick botton by interactive modes such as click, touch or voice inputs when the operational controls are operated
Enter order, to resurrect the operational controls.In the present embodiment, according to preset switching mode, preset replacement control is used
The operational controls are replaced, to eliminate blocking for the video pictures and the operational controls, flexible operation mode is improved
Human-computer interaction intelligent.
It should be understood that although each step in the flow chart of Fig. 2,3,5,6 is successively shown according to the instruction of arrow,
But these steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly state otherwise herein, these
There is no stringent sequences to limit for the execution of step, these steps can execute in other order.Moreover, in Fig. 2,3,5,6
At least part step may include multiple sub-steps perhaps these sub-steps of multiple stages or stage be not necessarily
Synchronization executes completion, but can execute at different times, and the execution sequence in these sub-steps or stage also need not
Be so successively carry out, but can at least part of the sub-step or stage of other steps or other steps in turn or
Person alternately executes.
Fig. 7 is referred to, an embodiment of the present disclosure provides a kind of video pictures adjustment device 1000, including judgment module
100, determining module 200 and adjustment module 300.The judgment module 100 judges that video is drawn for detecting to display interface
Face is with operational controls with the presence or absence of Chong Die.The determining module 200 is used to determine the video pictures and the operational controls
Overlapping region.The adjustment module 300 is used to carry out the tune in addition to scaling to the display interface according to the overlapping region
It is whole, block the video pictures mutually not with the operational controls.
The video pictures provided in this embodiment adjust device, can execute above method embodiment, realization principle
Similar with technical effect, details are not described herein.
Fig. 8 is referred to, in one embodiment, the judgment module 100 is obtained including first acquisition unit 110, second
Unit 120 and overlapping judging unit 130.Wherein, the position that the first acquisition unit 110 is used to obtain the video pictures is sat
Mark.The second acquisition unit 120 is used to obtain the position coordinates of the operational controls.The overlapping judging unit 130 is used for
The video pictures and the operation are judged according to the position coordinates of the position coordinates of the video pictures and the operational controls
Control is with the presence or absence of overlapping.
Fig. 9 is referred to, in one embodiment, the determining module 200 includes repeating coordinate acquiring unit 210 and repeating
Area determination unit 220.It is described repeat coordinate acquiring unit 210 be used for obtain the video pictures position coordinates and the behaviour
Make the repetition coordinate in the position coordinates in space.The repeat region determination unit 220 is used for true according to the repetition coordinate
The overlapping region of the fixed video pictures and the operational controls.
Referring to Figure 10, in one embodiment, the adjustment module 300 includes translation direction determination unit 310, translation
Measure determination unit 320 and translation unit 330.Wherein, the translation direction determination unit 310 be used for according to the video pictures with
The relative position of the operational controls determines the translation direction to the video pictures.The translational movement determination unit 320 is used for
According to the overlapping region, the translational movement to the video pictures is determined.The translation unit 330 is used for according to the translation side
The video pictures are translated to the translational movement, block the video pictures mutually not with the operational controls.
In one embodiment, the phase of the translation direction of the video pictures and the operational controls in the video pictures
It is opposite to orientation.
In one embodiment, the translation direction determination unit 310 is specifically used for according to the repeatedly coordinate, determination pair
The translation direction of the video pictures.
In one embodiment, the translational movement determination unit 320 is specifically used for repeating coordinate according to described, calculates to institute
State the translational movement of video pictures.
Referring to Figure 11, in one embodiment, the adjustment module 300 further includes transparent display element 340.It is described
Bright display unit 340 is used to carry out transparence display to the overlapping region in the operational controls.
Referring to Figure 12, in one embodiment, the adjustment module 300 further includes replacement unit 350.The replacement is single
Member 350 is for replacing with preset replacement control for the operational controls by preset switching mode.
Specific restriction about video pictures adjustment device may refer to adjust above for the video pictures
The restriction of method, details are not described herein.Modules in video pictures adjustment device can fully or partially through software,
Hardware and combinations thereof is realized.Above-mentioned each module can be embedded in the form of hardware or independently of the processor in computer equipment
In, it can also be stored in a software form in the memory in computer equipment, in order to which processor calls execution above each
The corresponding operation of module.
An embodiment of the present disclosure provides a kind of computer equipment, including memory and processor, the memory storage
There is computer program.The processor performs the steps of when executing the computer program
S10 detects display interface, judges video pictures with operational controls with the presence or absence of Chong Die.
S20, if so, determining the overlapping region of the video pictures and the operational controls.
S30 carries out the adjustment in addition to scaling to the display interface according to the overlapping region, draws the video
It is not blocked mutually with the operational controls in face.
Computer equipment provided by the above embodiment, implementing principle and technical effect are similar with above method embodiment,
Details are not described herein.
An embodiment of the present disclosure provides a kind of computer readable storage medium, is stored thereon with computer program.It is described
It is performed the steps of when computer program is executed by processor
S10 detects display interface, judges video pictures with operational controls with the presence or absence of Chong Die.
S20, if so, determining the overlapping region of the video pictures and the operational controls.
S30 carries out the adjustment in addition to scaling to the display interface according to the overlapping region, draws the video
It is not blocked mutually with the operational controls in face.
Computer readable storage medium provided by the above embodiment, implementing principle and technical effect and the above method are implemented
Example is similar, and details are not described herein.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer
In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein,
To any reference of memory, storage, database or other media used in each embodiment provided by the disclosure,
Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM
(PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include
Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms,
Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing
Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM
(RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of embodiment described above can be combined arbitrarily, for simplicity of description, not to above-mentioned reality
It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited
In contradiction, all should be considered as described in this specification.
The several embodiments of the disclosure above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously
The limitation to claim therefore cannot be interpreted as.It should be pointed out that coming for those of ordinary skill in the art
It says, under the premise of not departing from disclosure design, various modifications and improvements can be made, these belong to the protection of the disclosure
Range.Therefore, the scope of protection shall be subject to the appended claims for disclosure patent.
Claims (12)
1. a kind of method of adjustment of video pictures characterized by comprising
Display interface is detected, judges video pictures with operational controls with the presence or absence of Chong Die;
If so, determining the overlapping region of the video pictures and the operational controls;
According to the overlapping region, the adjustment in addition to scaling is carried out to the display interface, make the video pictures with it is described
Operational controls are not blocked mutually.
2. judging video pictures the method according to claim 1, wherein described detect display interface
With operational controls with the presence or absence of Chong Die, comprising:
Obtain the position coordinates of the video pictures;
Obtain the position coordinates of the operational controls;
According to the position coordinates of the position coordinates of the video pictures and the operational controls judge the video pictures with it is described
Operational controls are with the presence or absence of overlapping.
3. according to the method described in claim 2, it is characterized in that, the determination video pictures and the operational controls
Overlapping region, comprising:
Obtain the repetition coordinate in the position coordinates of the video pictures and the position coordinates of the operational controls;
According to the overlapping region for repeating coordinate and determining the video pictures and the operational controls.
4. according to the method described in claim 3, it is characterized in that, described according to the overlapping region, to the display interface
The adjustment in addition to scaling is carried out, blocks the video pictures mutually not with the operational controls, comprising:
According to the relative position of the video pictures and the operational controls, the translation direction to the video pictures is determined;
According to the overlapping region, the translational movement to the video pictures is determined;
The video pictures are translated according to the translation direction and the translational movement, make the video pictures and the behaviour
Make control not block mutually.
5. according to the method described in claim 4, it is characterized in that, the translation direction of the video pictures and the operational controls
It is opposite in the relative bearing of the video pictures.
6. according to the method described in claim 4, it is characterized in that, described according to the video pictures and the operational controls
Relative position determines the translation direction to the video pictures, comprising:
According to the translation direction for repeating coordinate, determining to the video pictures.
7. according to the method described in claim 4, it is characterized in that, being determined according to the overlapping region to the video pictures
Translational movement, comprising:
According to the translational movement for repeating coordinate, calculating to the video pictures.
8. the method according to claim 1, wherein described according to the overlapping region, to the display interface
The adjustment in addition to scaling is carried out, blocks the video pictures mutually not with the operational controls to include:
Transparence display is carried out to the overlapping region in the operational controls.
9. the method according to claim 1, wherein being carried out according to the overlapping region to the display interface
Adjustment in addition to scaling blocks the video pictures mutually not with the operational controls, comprising:
By preset switching mode, the operational controls are replaced with into preset replacement control.
10. a kind of video pictures adjust device characterized by comprising
Judgment module judges video pictures with operational controls with the presence or absence of Chong Die for detecting to display interface;
Determining module, for determining the overlapping region of the video pictures and the operational controls;
Module is adjusted, for the adjustment in addition to scaling being carried out to the display interface, making the view according to the overlapping region
Frequency picture does not block mutually with the operational controls.
11. a kind of computer equipment, including memory and processor, the memory are stored with computer program, feature exists
In the step of processor realizes any one of claims 1 to 9 the method when executing the computer program.
12. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program
The step of method described in any one of claims 1 to 9 is realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811323429.9A CN109618210B (en) | 2018-11-08 | 2018-11-08 | Video picture adjusting method and device, computer equipment and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811323429.9A CN109618210B (en) | 2018-11-08 | 2018-11-08 | Video picture adjusting method and device, computer equipment and readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109618210A true CN109618210A (en) | 2019-04-12 |
CN109618210B CN109618210B (en) | 2022-03-15 |
Family
ID=66003138
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811323429.9A Active CN109618210B (en) | 2018-11-08 | 2018-11-08 | Video picture adjusting method and device, computer equipment and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109618210B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110740371A (en) * | 2019-09-12 | 2020-01-31 | 晶晨半导体(深圳)有限公司 | Video preview window system of intelligent televisions |
CN111104699A (en) * | 2019-11-29 | 2020-05-05 | 苏宁云计算有限公司 | Collision driving method and system for graphic control |
WO2020220287A1 (en) * | 2019-04-30 | 2020-11-05 | 华为技术有限公司 | Video processing method and apparatus |
CN112162672A (en) * | 2020-10-19 | 2021-01-01 | 腾讯科技(深圳)有限公司 | Information flow display processing method and device, electronic equipment and storage medium |
CN112256169A (en) * | 2020-10-14 | 2021-01-22 | 北京达佳互联信息技术有限公司 | Content display method and device, electronic equipment and storage medium |
CN112423086A (en) * | 2020-11-10 | 2021-02-26 | 北京达佳互联信息技术有限公司 | Video display method and device, electronic equipment and storage medium |
CN112800273A (en) * | 2021-02-05 | 2021-05-14 | 北京字节跳动网络技术有限公司 | Page content display method and terminal equipment |
CN115396718A (en) * | 2022-08-30 | 2022-11-25 | 中国银行股份有限公司 | Video display control method and device |
Citations (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1893590A (en) * | 2005-05-28 | 2007-01-10 | 三星电子株式会社 | Display system, display apparatus, and method of controlling video source and display apparatus |
CN101622593A (en) * | 2007-02-28 | 2010-01-06 | 诺基亚公司 | Multi-state unified pie user interface |
CN101902595A (en) * | 2009-05-29 | 2010-12-01 | Lg电子株式会社 | Image display device and control method thereof |
US20110037896A1 (en) * | 2009-08-13 | 2011-02-17 | Yung-Chih Lin | Electronic Device and Method for Simultaneously Displaying Widget Window and Video Signal in Display Device |
CN102214066A (en) * | 2010-04-07 | 2011-10-12 | 欧姆龙株式会社 | Image processing apparatus |
US20110314424A1 (en) * | 2004-04-26 | 2011-12-22 | Microsoft Corporation | Scaling type overlay icons |
CN102419690A (en) * | 2006-09-11 | 2012-04-18 | 苹果公司 | Touch actuation controller for multi-state media presentation |
US20130227470A1 (en) * | 2012-02-24 | 2013-08-29 | Simon Martin THORSANDER | Method and Apparatus for Adjusting a User Interface to Reduce Obscuration |
CN103477630A (en) * | 2011-04-15 | 2013-12-25 | 夏普株式会社 | Menu screen display control method and display control device |
US20150186731A1 (en) * | 2013-12-31 | 2015-07-02 | Montage Technology (Shanghai) Co., Ltd. | Full-automatic detection method and system for static characteristic information in dynamic image |
CN105872710A (en) * | 2016-03-31 | 2016-08-17 | 乐视控股(北京)有限公司 | Video playing method, device and client |
CN106648324A (en) * | 2016-12-28 | 2017-05-10 | 努比亚技术有限公司 | Hidden icon operating method, device and terminal |
CN106775182A (en) * | 2015-11-19 | 2017-05-31 | 北京奇虎科技有限公司 | A kind for the treatment of method and apparatus of suspension control |
CN106873855A (en) * | 2017-02-15 | 2017-06-20 | 努比亚技术有限公司 | A kind of suspension icon control method, device and terminal |
CN107092421A (en) * | 2017-04-12 | 2017-08-25 | 广州三星通信技术研究有限公司 | Show the method and device of the control of application |
CN107302724A (en) * | 2016-04-14 | 2017-10-27 | 北京搜狗科技发展有限公司 | A kind of video playing control method, device and electronic equipment |
CN107920271A (en) * | 2017-11-03 | 2018-04-17 | 天脉聚源(北京)教育科技有限公司 | The method and device that a kind of play area for handling video overlaps |
-
2018
- 2018-11-08 CN CN201811323429.9A patent/CN109618210B/en active Active
Patent Citations (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110314424A1 (en) * | 2004-04-26 | 2011-12-22 | Microsoft Corporation | Scaling type overlay icons |
CN1893590A (en) * | 2005-05-28 | 2007-01-10 | 三星电子株式会社 | Display system, display apparatus, and method of controlling video source and display apparatus |
CN102419690A (en) * | 2006-09-11 | 2012-04-18 | 苹果公司 | Touch actuation controller for multi-state media presentation |
CN101622593A (en) * | 2007-02-28 | 2010-01-06 | 诺基亚公司 | Multi-state unified pie user interface |
CN101902595A (en) * | 2009-05-29 | 2010-12-01 | Lg电子株式会社 | Image display device and control method thereof |
US20110037896A1 (en) * | 2009-08-13 | 2011-02-17 | Yung-Chih Lin | Electronic Device and Method for Simultaneously Displaying Widget Window and Video Signal in Display Device |
CN102214066A (en) * | 2010-04-07 | 2011-10-12 | 欧姆龙株式会社 | Image processing apparatus |
CN103477630A (en) * | 2011-04-15 | 2013-12-25 | 夏普株式会社 | Menu screen display control method and display control device |
US20130227470A1 (en) * | 2012-02-24 | 2013-08-29 | Simon Martin THORSANDER | Method and Apparatus for Adjusting a User Interface to Reduce Obscuration |
US20150186731A1 (en) * | 2013-12-31 | 2015-07-02 | Montage Technology (Shanghai) Co., Ltd. | Full-automatic detection method and system for static characteristic information in dynamic image |
CN106775182A (en) * | 2015-11-19 | 2017-05-31 | 北京奇虎科技有限公司 | A kind for the treatment of method and apparatus of suspension control |
CN105872710A (en) * | 2016-03-31 | 2016-08-17 | 乐视控股(北京)有限公司 | Video playing method, device and client |
CN107302724A (en) * | 2016-04-14 | 2017-10-27 | 北京搜狗科技发展有限公司 | A kind of video playing control method, device and electronic equipment |
CN106648324A (en) * | 2016-12-28 | 2017-05-10 | 努比亚技术有限公司 | Hidden icon operating method, device and terminal |
CN106873855A (en) * | 2017-02-15 | 2017-06-20 | 努比亚技术有限公司 | A kind of suspension icon control method, device and terminal |
CN107092421A (en) * | 2017-04-12 | 2017-08-25 | 广州三星通信技术研究有限公司 | Show the method and device of the control of application |
CN107920271A (en) * | 2017-11-03 | 2018-04-17 | 天脉聚源(北京)教育科技有限公司 | The method and device that a kind of play area for handling video overlaps |
Non-Patent Citations (2)
Title |
---|
DAVID M. KRUM: "A demonstration of tablet-based interaction panels for immersive environments", 《2014 IEEE VIRTUAL REALITY (VR)》 * |
曹春华: "看规则,高效利用桌面空间", 《电脑迷》 * |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020220287A1 (en) * | 2019-04-30 | 2020-11-05 | 华为技术有限公司 | Video processing method and apparatus |
CN113170224A (en) * | 2019-04-30 | 2021-07-23 | 华为技术有限公司 | Video processing method and device |
CN110740371A (en) * | 2019-09-12 | 2020-01-31 | 晶晨半导体(深圳)有限公司 | Video preview window system of intelligent televisions |
CN111104699A (en) * | 2019-11-29 | 2020-05-05 | 苏宁云计算有限公司 | Collision driving method and system for graphic control |
CN112256169A (en) * | 2020-10-14 | 2021-01-22 | 北京达佳互联信息技术有限公司 | Content display method and device, electronic equipment and storage medium |
CN112256169B (en) * | 2020-10-14 | 2021-08-10 | 北京达佳互联信息技术有限公司 | Content display method and device, electronic equipment and storage medium |
CN112162672A (en) * | 2020-10-19 | 2021-01-01 | 腾讯科技(深圳)有限公司 | Information flow display processing method and device, electronic equipment and storage medium |
CN112423086A (en) * | 2020-11-10 | 2021-02-26 | 北京达佳互联信息技术有限公司 | Video display method and device, electronic equipment and storage medium |
WO2022100508A1 (en) * | 2020-11-10 | 2022-05-19 | 北京达佳互联信息技术有限公司 | Method and device for displaying video |
CN112800273A (en) * | 2021-02-05 | 2021-05-14 | 北京字节跳动网络技术有限公司 | Page content display method and terminal equipment |
CN115396718A (en) * | 2022-08-30 | 2022-11-25 | 中国银行股份有限公司 | Video display control method and device |
CN115396718B (en) * | 2022-08-30 | 2024-01-30 | 中国银行股份有限公司 | Video display control method and device |
Also Published As
Publication number | Publication date |
---|---|
CN109618210B (en) | 2022-03-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109618210A (en) | Video pictures method of adjustment, device, computer equipment and readable storage medium storing program for executing | |
CN107704177A (en) | interface display method, device and terminal | |
US20150172534A1 (en) | Electronic camera, image display device, and storage medium storing image display program | |
CN112351203B (en) | Video shooting method and device, electronic equipment and storage medium | |
CN112632322B (en) | Video switching method and device, electronic equipment and storage medium | |
CN107315792B (en) | Page updating method and device, electronic equipment and computer readable storage medium | |
US8749586B2 (en) | Method and apparatus for providing folder item information based on touch operation | |
TWI671647B (en) | Method, device and electronic device for calculating the duration of the first screen of a page | |
TW201426493A (en) | Method and apparatus for adapting custom control components to a screen | |
CN111552530A (en) | Terminal screen adapting method, device and equipment for user interface | |
WO2021243788A1 (en) | Screenshot method and apparatus | |
CN109525880A (en) | Synthetic method, device, equipment and the storage medium of video data | |
CN110427601A (en) | Form processing method, device, intelligent interaction plate and storage medium | |
CN109036522A (en) | Image processing method, device, equipment and readable storage medium storing program for executing | |
CN110443772B (en) | Picture processing method and device, computer equipment and storage medium | |
US9357125B2 (en) | Method and apparatus of displaying portrait on display | |
CN115719586A (en) | Screen refresh rate adjusting method and device, electronic equipment and storage medium | |
CN108710460B (en) | Element control method, device, equipment and storage medium | |
CN110248147B (en) | Image display method and device | |
CN108737745A (en) | video fusion method and device | |
CN111949348B (en) | Page display method and mobile terminal | |
CN104133553B (en) | Webpage content display method and device | |
CN113259742B (en) | Video bullet screen display method and device, readable storage medium and computer equipment | |
CN111857857B (en) | Interface display method, device and equipment | |
CN113422967B (en) | Screen projection display control method and device, terminal equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |