CN109375887A - Electronic equipment and video signal frame aligning method - Google Patents
Electronic equipment and video signal frame aligning method Download PDFInfo
- Publication number
- CN109375887A CN109375887A CN201710667015.7A CN201710667015A CN109375887A CN 109375887 A CN109375887 A CN 109375887A CN 201710667015 A CN201710667015 A CN 201710667015A CN 109375887 A CN109375887 A CN 109375887A
- Authority
- CN
- China
- Prior art keywords
- video signal
- signal frame
- secondary video
- length
- total
- 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1423—Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
- G06F3/1446—Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display display composed of modules, e.g. video walls
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/14—Systems for two-way working
- H04N7/15—Conference systems
Abstract
The present invention provides a kind of video signal frame aligning method, and applied in the electronic equipment including display screen, this method generates X video signal frame according to the total number X of the camera of acquisition video, and X video signal frame generated is shown in generated form.The size of the X video signal frame is generated according to the size of the form and preset Aspect Ratio.The present invention also provides a kind of electronic equipments with the video signal frame aligning method.The present invention can optimize the arrangement of video signal frame on the display screen.
Description
Technical field
The present invention relates to electronic equipment field of display technology more particularly to a kind of electronic equipment and video signal frame aligning methods.
Background technique
The video signal frame typesetting of existing video meeting software is that typesetting video signal frame is fixed on the window of fixed size
's.However the size of window can not change with different demands, to user using when will cause it is extremely inconvenient.
Summary of the invention
In view of the foregoing, it is necessary to a kind of video signal frame aligning method be provided, video signal frame can be optimized on a display screen
Arrangement.
In view of the foregoing, it is necessary to a kind of electronic equipment be provided, the arrangement of video signal frame can be optimized on a display screen.
The video signal frame aligning method is regarded applied in the electronic equipment including display screen this method comprises: generating one
The form is simultaneously shown on the display screen by window;X video signal need to be generated according to the total number X determination of the camera of acquisition video
Frame, the X video signal frame are respectively used to corresponding broadcasting X camera video collected;One is determined from the X video signal frame
A main view frame, X-1 secondary video signal frame;The main view frame is generated according to the length of the form and preset Aspect Ratio,
Main view frame generated is shown in the form;Determine the width of the remaining space of a whole page of the form, and according to the view
The width of the remaining space of a whole page of window and the preset Aspect Ratio are calculated one referring to length;According to described referring to length gauge
The reference total length of the X-1 pair video signal frame is calculated, it is described to be equal to the reference length and the value of the X-1 referring to total length
Product;When the length for being less than or equal to the form referring to total length, it is current to determine that the width of each secondary video signal frame is equal to
The width of the remaining space of a whole page, the length of each pair video signal frame are equal to the reference length, and accordingly generate X-1 secondary video signal frame, and will
Described X-1 secondary video signal frame is aligned to same a line and is shown in the remaining space of a whole page of the form;It is greater than when described referring to total length
When the length of the form, determine that described X-1 secondary video signal frame is arranged according to total line number R row;According to total line number R and
The total number X-1 of the pair video signal frame calculates the total number Y that current every row at most arranges secondary video signal frame;According to the big of the form
The total number Y small and being calculated calculates the target size of each secondary video signal frame;When each pair is calculated
When the target size of video signal frame, judge whether described X-1 secondary video signal frame can arrange according to R+1 row, and when the X-1
Presently described total line number R when arranging, can be added 1 according to R+1 row by secondary video signal frame, recalculate the total number Y and described
Target size;When described X-1 secondary video signal frame cannot according to R+1 row to arrange when, the width of the current remaining space of a whole page is removed
The developed width that each secondary video signal frame is calculated with presently described total line number R, according to the developed width and described preset
Aspect Ratio calculates the physical length of each secondary video signal frame, generates X-1 secondary video signal according to the physical length and developed width
Frame;It is arranged in the remaining space of a whole page of the form according to presently described total line number R and the total number Y being calculated aobvious
Show X-1 generated secondary video signal frame.
Preferably, the size of the form is equal to the size of the display screen.
Preferably, the total number Y is equal to the total number X-1 divided by presently described total line number R, if described first is total a
Number X-1 has decimal place divided by presently described total line number R, the unconditional carry of numerical value after decimal point.
Preferably, the step of target size for calculating each secondary video signal frame includes: by the length of the form divided by institute
State total number Y be calculated each secondary video signal frame target it is long;And each pair is calculated according to the preset Aspect Ratio
The target of video signal frame is wide, and the target of the long and each secondary video signal frame of the target that secondary video signal frame each of is calculated is wide as institute
State the target size of each secondary video signal frame.
Preferably, in this method, when total line number R is set for the first time, 1 is set by the R.
The electronic equipment includes: display screen;Memory;Processor;It is stored with computer instruction in the memory,
The processor executes the computer instruction and the processor is made to execute following steps: generating a form and shows the form
In on the display screen;X video signal frame need to be generated according to the total number X determination of the camera of acquisition video, the X video signal frame point
It Yong Yu not correspond to and play X camera video collected;A main view frame is determined from the X video signal frame, X-1 is a
Secondary video signal frame;The main view frame is generated according to the length of the form and preset Aspect Ratio, main view generated is interrogated
Frame is shown in the form;Determine the width of the remaining space of a whole page of the form, and the width of the remaining space of a whole page according to the form
Degree and the preset Aspect Ratio are calculated one referring to length;According to the X-1 secondary view referring to described in length computation
The reference total length of frame, it is described to be equal to the product referring to length and the value of the X-1 referring to total length;When the reference
When total length is less than or equal to the length of the form, determine that the width of each secondary video signal frame is equal to the width of the current residual space of a whole page,
The length of each pair video signal frame is equal to described referring to length, and accordingly generates X-1 secondary video signal frame, and by the X-1 pair video signal
Frame is aligned to same a line and is shown in the remaining space of a whole page of the form;When the length for being greater than the form referring to total length
When, determine that described X-1 secondary video signal frame is arranged according to total line number R row;According to total line number R and the secondary video signal frame
Total number X-1 calculates the total number Y that current every row at most arranges secondary video signal frame;According to the size of the form and calculate
To the total number Y calculate the target size of each secondary video signal frame;When the target ruler that each secondary video signal frame is calculated
When very little, judge whether described X-1 secondary video signal frame can arrange according to R+1 row, and when the X-1 pair video signal frame can be by
When arranging, presently described total line number R is added 1 according to R+1 row, recalculates the total number Y and the target size;When described
X-1 secondary video signal frame cannot be according to R+1 row come when arranging, by the width of the current remaining space of a whole page divided by presently described total line number
R calculates the developed width of each secondary video signal frame, is calculated according to the developed width and the preset Aspect Ratio each
The physical length of secondary video signal frame generates X-1 secondary video signal frame according to the physical length and developed width;According to presently described total
The line number R and total number Y being calculated arranges display X-1 pair generated in the remaining space of a whole page of the form
Video signal frame.
Preferably, the size of the form is equal to the size of the display screen.
Preferably, the total number Y is equal to the total number X-1 divided by presently described total line number R, if described first is total a
Number X-1 has decimal place divided by presently described total line number R, the unconditional carry of numerical value after decimal point.
Preferably, the step of target size for calculating each secondary video signal frame includes: by the length of the form divided by institute
State total number Y be calculated each secondary video signal frame target it is long;And each pair is calculated according to the preset Aspect Ratio
The target of video signal frame is wide, and the target of the long and each secondary video signal frame of the target that secondary video signal frame each of is calculated is wide as institute
State the target size of each secondary video signal frame.
Preferably, when total line number R is set for the first time, 1 is set by the R.
Compared to the prior art, using the electronic equipment and video signal frame aligning method, view can be optimized on a display screen
The arrangement of frame.
Detailed description of the invention
Fig. 1 is the applied environment figure of video signal frame arranging system preferred embodiment of the present invention.
Fig. 2 is the functional block diagram of video signal frame arranging system preferred embodiment of the present invention.
Fig. 3 is the process module figure of video signal frame aligning method preferred embodiment of the present invention.
The remaining space of a whole page of Fig. 4 A illustration video signal frame.
Fig. 4 B is illustrated arranges secondary video signal frame in the remaining space of a whole page of video signal frame.
Main element symbol description
The present invention that the following detailed description will be further explained with reference to the above drawings.
Specific embodiment
As shown in fig.1, being the applied environment figure of video signal frame arranging system preferred embodiment of the present invention.In the present embodiment
In, electronic equipment 1 includes, but are not limited to video signal frame arranging system 10, camera 11, communication apparatus 12, display screen 13, storage
Device 14 and processor 15.The electronic equipment 1 and multiple video signals acquisition equipment 2 (2 are only shown in figure) using communication apparatus 12,
22 establish communication connection.Each video signal acquisition equipment 2 further includes, but is not limited to, camera 21.Video signal acquisition equipment 2, which utilizes, to be taken the photograph
As the real-time acquisition video of head 21, and the electronic equipment 1 is sent to by the communication apparatus 22.
The electronic equipment 1 and video signal acquisition equipment 2 can be mobile phone, PC, tablet computer, personal digital assistant
Etc. equipment.It should be noted that the present embodiment is to carry out simply to the structure of the electronic equipment 1 and video signal acquisition equipment 2
Explanation, the electronic equipment 1, video signal acquisition equipment 2 can also include other elements, such as circuit system, sound effect system, I/
O Interface, battery, operating system etc..
In the present embodiment, the camera 11 can be inscribed or be external in the electronic equipment 1.The camera 21 can be with
It is inscribed or is external in the video signal acquisition equipment 2.
The communication apparatus 12,22 can make the electronics by any traditional cable network and/or wireless network
Equipment 1 and video signal acquisition equipment 2 can establish communication connection.The cable network can be any type of traditional wire communication,
Such as internet, local area network.The wireless network can be any type of conventional wireless communication, such as radio, Wireless Fidelity
(Wireless Fidelity, WIFI), honeycomb, satellite, broadcast etc..Wireless communication technique may include, but be not limited to, the whole world
Mobile communication system (Global System for Mobile Communications, GSM), General Packet Radio Service
(General Packet Radio Service, GPRS), CDMA (Code Division Multiple Access,
CDMA), wideband code division multiple access (W-CDMA), CDMA2000, IMT single carrier (IMT Single Carrier), enhanced data
Rate GSM evolution (Enhanced Data Rates for GSM Evolution, EDGE), Long Term Evolution (Long-
Term Evolution, LTE), senior long term evolution technology, time-division Long Term Evolution (Time-Division LTE, TD-
LTE), high performance radio local area network (High Performance Radio Local Area Network, HiperLAN),
High performance radio wide area network (High Performance Radio Wide Area Network, HiperWAN), local are more
Appoint sending service (Local Multipoint Distribution Service, LMDS), full micro-wave access global inter communication
(Worldwide Interoperability for Microwave Access, WiMAX), ZigBee protocol (ZigBee), indigo plant
Tooth, orthogonal frequency division multiplexi (Flash Orthogonal Frequency-Division Multiplexing, Flash-
OFDM), large capacity space-division multiple access (High Capacity Spatial Division Multiple Access, HC-
SDMA), Universal Mobile Telecommunications System (Universal Mobile Telecommunications System, UMTS), general
Mobile communication system time division duplex (UMTS Time-Division Duplexing, UMTS-TDD), evolved high-speed packet connect
Enter (Evolved High Speed Packet Access, HSPA+), TD SDMA (Time Division
Synchronous Code Division Multiple Access, TD-SCDMA), evolution data optimization (Evolution-
Data Optimized, EV-DO), Digital Enhanced Cordless Communications (Digital Enhanced Cordless
Telecommunications, DECT) and other.
The display screen 13 can be the touch panel (Multi-touch panel) of support multi-point touch, such as resistance-type
Touch screen or capacitive touch screen etc..In other embodiments, the display screen 13 may not be touch screen, when needing to input
When information is to electronic equipment 1, then the input equipment such as keyboard that can be configured respectively through the electronic equipment 1 (does not show in figure
Realize the input of information out).
In the present embodiment, the memory 14 can be used for storing the Various types of data of the electronic equipment 1, such as the storage
Device 14 can be used for storing the program code of the video signal frame arranging system 10.In one embodiment, the memory 14 can
To be the memory of electronic equipment 1 itself, it is also possible to external memory card, such as SD card (Secure Digital Card, safety
Digital card) etc..
The processor 15 can be central processing unit (CPU, Central Processing Unit), microprocessor, or
Any processor chips for being able to carry out data processing function.
In the present embodiment, the video signal frame arranging system 10 can (such as should according to the size of the display screen 13
The resolution ratio of display screen 13) it generates a form and the form is shown on the display screen 13.Video signal frame arrangement system
System 10 also generates multiple video signal frames, and multiple video signal frame, which respectively corresponds, plays camera 11,21 videos collected.The video signal
Frame arranging system 10 also arranges multiple video signal frame, and the video signal frame is shown in the form.
In the present embodiment, the full-size of the size of the form is substantially identical as the size of the display screen.
In the present embodiment, the video signal frame arranging system 10 may include the computer of one or more program forms
Instruction, the computer instruction of the one or more program form is stored in the memory 14, and is held by the processor 15
Row, to realize function provided by the present invention.As shown in fig.2, the video signal frame arranging system 10 can divide in the present embodiment
It is cut into generation module 101, analysis module 102 and arrangement module 103.The so-called module of the present invention is can to complete a specific function
The program segment of energy is particularly suited for the implementation procedure of description software in the electronic device 1 than program, the detailed function about each module
It will can be described specifically below.
As shown in fig.3, being the method flow diagram of video signal frame aligning method preferred embodiment of the present invention.According to different need
It asks, the execution sequence of the step in flow chart shown in Fig. 3 can change, and certain steps can be omitted.
Step S31, the generation module 101 is according to the size (such as resolution ratio of the display screen 13) of the display screen 13
It generates a form and the form is shown on the display screen 13.The size of the form can be equal to the display screen 13
Size.
The analysis module 102 need to generate X video signal frame according to the total number X determination of the camera of acquisition video.The X
Video signal frame is respectively used to corresponding broadcasting X camera video collected.That is the total number of video signal frame and the acquisition video
Camera total number it is identical.
The analysis module 102 determines a main view frame from the X video signal frame, other X-1 are secondary video signal frame.
The main view frame is used to play one of camera video collected in the X camera.This X-1 secondary video signal frame is used
In other X-1 camera videos collected of broadcasting.
In the present embodiment, the analysis module 102 can respond the input of user to determine the main view frame for broadcasting
Put which camera video collected.In other embodiments, the analysis module 101 can directly determine the main view news
Frame is used to play camera (the i.e. camera 11) video collected configured in the electronic equipment 1.
For example, sharing 6 meeting-place in primary video videoconference, 1 place meeting-place of electronic equipment is main meeting-place, other 5
Meeting-place where a video signal acquisition difference of equipment 2 is time meeting-place, then the input that the generation module 101 can respond user, which determines, is somebody's turn to do
Main view frame plays the video collected of camera 11 of the electronic equipment 1, determines other 5 video signal frames (i.e. secondary video signal frame)
It is respectively used to play the video collected of camera 21 of other 5 video signal acquisition equipment 2.
The generation module 101 generates the master according to the length and preset Aspect Ratio (such as 2:1) of the form
Video signal frame.
In one embodiment, the length of the main view frame can be equal with the length of the form.For example, it is assumed that the view
An a length of 100cm can be generated in a length of 100cm of window, width 80cm, the generation module 101, and the main view that width is 50cm is interrogated
Frame.
Main view frame generated is shown in the form by the arrangement module 103.
In one embodiment, arrangement mode of the main view frame in the form can be occupies in the horizontal direction
Middle alignment is aligned by the coboundary of the form in vertical direction.
For example, main view frame 14 generated is shown in form 131 by the arrangement module 103 refering to shown in Fig. 4 A.
It should be noted that the length of form 131 and main view frame 14 is drawn as less than the display screen 13 in the figure of the present embodiment
It is long, it is to clearly illustrate the present invention.
Step S32, the analysis module 102 determine the width of the remaining space of a whole page of the form, and according to the form
The width of the remaining space of a whole page and the preset Aspect Ratio are calculated one referring to length.The reference length is equal to the residue
The product of the width of the space of a whole page and the Aspect Ratio.
In the present embodiment, the remaining space of a whole page of the form can be defined as in the form without arranging the main view news
The region (such as region 16 shown in Fig. 4 A) of frame.According to this, region that can be shared in the form by the main view frame
It is defined as the video signal frame arrangement space of a whole page.
Still by taking previous examples as an example, it is assumed that a length of 100cm of the form, width 80cm, the length of the main view frame
For 100cm, width 50cm.The width of the current residual space of a whole page of the so described form is 30cm.It is described to be then equal to referring to length
60cm。
Step S33, the analysis module 102 are total according to the reference of the X-1 secondary video signal frame referring to described in length computation
Length.It is described to be equal to the product referring to length and the value of the X-1 referring to total length.
Still by taking previous examples as an example, it is assumed that X is equal to 6, and the reference length is equal to 60cm.The analysis module 102 is then
The reference total length is calculated and is equal to 300cm.
Step S34, the analysis module 102 judge the length for whether being greater than the form referring to total length.If institute
The length for being less than or equal to the form referring to total length is stated, S35 is thened follow the steps.If described be greater than the view referring to total length
The length of window, thens follow the steps S36.
For example, when the reference total length is calculated equal to 300cm, since the reference total length is greater than the form
Length 100cm, therefore, process goes to step S36.
Step S35, if the length for being less than or equal to the form referring to total length, the generation module 101 determine
Width of the width of each pair video signal frame equal to the current residual space of a whole page, a length of reference length of each pair video signal frame, and it is corresponding
Generating X-1 secondary video signal frame, (width of each secondary video signal frame is equal to the current residual space of a whole page in X-1 secondary video signal frame i.e. generated
Width, the length of each pair video signal frame are equal to described referring to length).The arrangement module 103 arranges described X-1 secondary video signal frame
To same a line and it is shown in the remaining space of a whole page of the form.
For example, the arrangement module 103 arranges 5 secondary video signal frames 141,142,143,144,145 refering to shown in Fig. 4 B
In in the remaining space of a whole page 16 of the form.
Step S36, if the length for being greater than the form referring to total length, the analysis module 102 determine the X-1
A pair video signal frame is arranged according to total line number R row.The analysis module 102 is according to total line number R and the secondary video signal frame
Total number X-1 (hereinafter referred to as " the first total number ") calculate current every row at most arrange secondary video signal frame total number Y it is (following simple
Claim " the second total number ").The analysis module 102 also according to the form size and be calculated described second total
Number Y calculates the target size of each secondary video signal frame.
In one embodiment, the second total number Y is equal to the first total number X-1 divided by presently described total line number
R.In one embodiment, if the first total number X-1 has decimal place divided by presently described total line number R, after decimal point
The unconditional carry of numerical value.
In one embodiment, it includes: head that the analysis module 102, which calculates the step of target size of each secondary video signal frame,
The target that each secondary video signal frame first is calculated divided by the second total number Y in the length of the form is long, then further according to institute
State preset Aspect Ratio (such as 2:1) be calculated each secondary video signal frame target it is wide.Secondary view each of will be calculated
The wide target size as each secondary video signal frame of the target of the long and each secondary video signal frame of the target of frame.
For example, still by taking previous examples as an example, it is assumed that it need to generate 5 secondary video signal frames altogether, a length of 100cm of the form,
Width is 80cm, and the preset Aspect Ratio is 2:1, it is assumed that presently described total line number R is equal to 1 and determines described 5 secondary video signals
Frame is arranged according to a line, then a length of 20cm of target of current each video signal frame can be calculated, then according to the preset length
The target width of wide ratio (such as 2:1) you can get it current each secondary video signal frame is 10cm.Thus each secondary video signal is calculated
The target size of frame is a length of 20cm and width is 10cm.
In the present embodiment, the analysis module 102 sets 1 for the R when total line number R is arranged for the first time, i.e., will
All pair video signal frames are arranged in same a line.In one embodiment, the input that the analysis module 102 can respond user comes
Total line number R is set for the first time.For example, can to provide a user interface described total for user's input for the analysis module 102
The value of line number R.
Step S37, the analysis module 102 analyze whether described X-1 secondary video signal frame can be arranged according to R=R+1 row
Column.If described X-1 secondary video signal frame can be arranged according to R+1 row, step S38 is executed.If described X-1 secondary video signal frame can not
To arrange according to R+1 row, step S39 is executed.
In the present embodiment, the analysis module 102 is worked as according to the wide and described secondary video signal frame of the current remaining space of a whole page
Preceding target size determines whether described X-1 secondary video signal frame can arrange according to R+1 row.Specifically, the analysis mould
Block 102 by the wide target divided by current each secondary video signal frame of the current remaining space of a whole page it is wide obtain a numerical value (if there is decimal, nothing
Condition fractions omitted position), when the numerical value is greater than presently described total line number R, determine that described X-1 secondary video signal frame can be according to R+
1 row arranges.Conversely, determining that described X-1 secondary video signal frame can not when the numerical value is less than or equal to presently described total line number R
To be arranged according to R+1 row.
In the present embodiment, the current remaining space of a whole page of the form refers to its in the form in addition to the main view frame
His region.
For example, still by taking previous examples as an example, it is assumed that a length of 100cm of the form, width 80cm, the main view frame
Size be long 100cm, wide 50cm, the preset Aspect Ratio is 2:1, and the target size of current each secondary video signal frame is mesh
Mark long 20cm, the wide 10cm of target.The width of the remaining space of a whole page of presently described form is 30cm.The analysis module 102 will be current
It is 3 that the wide 30cm of the remaining space of a whole page, which obtains numerical value divided by the currently calculated wide 10cm of target for each of obtaining secondary video signal frame, the number
Value 3 is greater than the value (i.e. 1) of presently described total line number R, i.e., can also actually rearrange 2 row pair video signal frames, execute step at this time
S38。
Step S38, when described X-1 secondary video signal frame can according to R+1 row to arrange when, the analysis module 102 will be worked as
Preceding total line number R adds 1 (i.e. R=R+1), returns to step S36 after executing the step S38.
For example, the analysis module 102 show that presently described total line number is 2 rows after presently described total line number R is added 1, when
When returning to step S36, the analysis module 102 determines that presently described total line number R is 2 rows.The analysis module 102 is according to working as
Presently described second total number Y is calculated in preceding total line number R (i.e. 2 rows) and the first total number X-1 (such as 5)
(total number for the secondary video signal frame that i.e. every row at most arranges) is equal to 3.
Step S39, when described X-1 secondary video signal frame cannot according to R+1 row to arrange when, the analysis module 102 is really
Fixed described X-1 secondary video signal frame can only be arranged according to R row.The analysis module 102 is by the width of the current remaining space of a whole page
The developed width of each secondary video signal frame is calculated divided by presently described total line number R.The analysis module 102 is also according to the reality
Width and the preset Aspect Ratio calculate the physical length of each secondary video signal frame.The generation module 101 is according to described
Physical length and developed width generate X-1 secondary video signal frame, i.e., the length of each secondary video signal frame generated is equal to calculated
The width of physical length, each secondary video signal frame generated is equal to the developed width for calculating and.103 basis of arrangement module
Presently described total line number R and the second total number Y being calculated arranges display in the remaining space of a whole page of the form
X-1 generated secondary video signal frame.
In one embodiment, the arrangement module 103 arranges every row pair according to the arrangement mode of the main view frame
Video signal frame.For example, this X-1 secondary video signal frame occupies in the horizontal direction when described X-1 secondary video signal frame is arranged in same a line
Middle alignment is aligned by the lower boundary of the main view frame in vertical direction.Correspondingly, if described X-1 secondary video signal frame need to be pressed
When according to plurality of rows, then according to above-mentioned arrangement mode premised on, from left to right, be arranged successively from top to bottom.
Finally it should be noted that the above examples are only used to illustrate the technical scheme of the present invention and are not limiting, although reference
The above preferred embodiment describes the invention in detail, those skilled in the art should understand that, it can be to this hair
Bright technical solution is modified or replaced equivalently the spirit and scope that should not be all detached from technical solution of the present invention.
Claims (10)
1. a kind of video signal frame aligning method, applied in the electronic equipment including display screen, which is characterized in that this method comprises:
It generates a form and the form is shown on the display screen;
X video signal frame need to be generated according to the total number X determination of the camera of acquisition video, which is respectively used to correspond to
Play X camera video collected;
A main view frame, X-1 secondary video signal frame are determined from the X video signal frame;
The main view frame is generated according to the length of the form and preset Aspect Ratio, main view frame generated is shown
In in the form;
Determine the width of the remaining space of a whole page of the form, and according to the width of the remaining space of a whole page of the form and the preset length
Wide ratio is calculated one referring to length;
According to the reference total length of the X-1 secondary video signal frame referring to described in length computation, the reference total length is equal to described
Referring to the product of length and the value of the X-1;
When the length for being less than or equal to the form referring to total length, it is current surplus to determine that the width of each secondary video signal frame is equal to
The width of the remaining space of a whole page, the length of each pair video signal frame are equal to described referring to length, and accordingly generate X-1 pair video signal frame, and by institute
X-1 secondary video signal frame is stated to be aligned to same a line and be shown in the remaining space of a whole page of the form;
When the length for being greater than the form referring to total length, determine that described X-1 secondary video signal frame comes according to total line number R row
Arrangement;Current every row, which is calculated, according to the total number X-1 of total line number R and the secondary video signal frame at most arranges secondary video signal frame
Total number Y;The target ruler of each secondary video signal frame is calculated according to the size of the form and the total number Y being calculated
It is very little;When the target size of each secondary video signal frame is calculated, judge whether described X-1 secondary video signal frame can be according to R+
1 row arranges, and when described X-1 secondary video signal frame can according to R+1 row to arrange when, presently described total line number R is added 1, weight
Newly calculate the total number Y and the target size;When described X-1 secondary video signal frame cannot according to R+1 row to arrange when, will
The width of the current remaining space of a whole page calculates the developed width of each secondary video signal frame divided by presently described total line number R, according to described
Developed width and the preset Aspect Ratio calculate the physical length of each secondary video signal frame, according to the physical length and reality
Border width generates X-1 secondary video signal frame;According to presently described total line number R and the total number Y being calculated described
The secondary video signal frame of X-1 generated of arrangement display in the remaining space of a whole page of form.
2. video signal frame aligning method as shown in claim 1, which is characterized in that the size of the form is equal to the display screen
Size.
3. video signal frame aligning method as shown in claim 1, which is characterized in that the total number Y is equal to the total number X-1
Divided by presently described total line number R, if the first total number X-1 has a decimal place divided by presently described total line number R, after decimal point
The unconditional carry of numerical value.
4. video signal frame aligning method as shown in claim 1, which is characterized in that the target ruler for calculating each secondary video signal frame
Very little step includes:
The target that each secondary video signal frame is calculated divided by the total number Y in the length of the form is long;And
The target that each secondary video signal frame is calculated according to the preset Aspect Ratio is wide, and secondary view each of will be calculated
The wide target size as each secondary video signal frame of the target of the long and each secondary video signal frame of the target of frame.
5. video signal frame aligning method as shown in claim 1, which is characterized in that in this method, in the head office is arranged for the first time
When number R, 1 is set by the R.
6. a kind of electronic equipment, comprising:
Display screen;
Memory;
Processor;
Computer instruction is stored in the memory, the processor executes the computer instruction and the processor is executed such as
Lower step:
It generates a form and the form is shown on the display screen;
X video signal frame need to be generated according to the total number X determination of the camera of acquisition video, which is respectively used to correspond to
Play X camera video collected;
A main view frame, X-1 secondary video signal frame are determined from the X video signal frame;
The main view frame is generated according to the length of the form and preset Aspect Ratio, main view frame generated is shown
In in the form;
Determine the width of the remaining space of a whole page of the form, and according to the width of the remaining space of a whole page of the form and the preset length
Wide ratio is calculated one referring to length;
According to the reference total length of the X-1 secondary video signal frame referring to described in length computation, the reference total length is equal to described
Referring to the product of length and the value of the X-1;
When the length for being less than or equal to the form referring to total length, it is current surplus to determine that the width of each secondary video signal frame is equal to
The width of the remaining space of a whole page, the length of each pair video signal frame are equal to described referring to length, and accordingly generate X-1 pair video signal frame, and by institute
X-1 secondary video signal frame is stated to be aligned to same a line and be shown in the remaining space of a whole page of the form;
When the length for being greater than the form referring to total length, determine that described X-1 secondary video signal frame comes according to total line number R row
Arrangement;Current every row, which is calculated, according to the total number X-1 of total line number R and the secondary video signal frame at most arranges secondary video signal frame
Total number Y;The target ruler of each secondary video signal frame is calculated according to the size of the form and the total number Y being calculated
It is very little;When the target size of each secondary video signal frame is calculated, judge whether described X-1 secondary video signal frame can be according to R+
1 row arranges, and when described X-1 secondary video signal frame can according to R+1 row to arrange when, presently described total line number R is added 1, weight
Newly calculate the total number Y and the target size;When described X-1 secondary video signal frame cannot according to R+1 row to arrange when, will
The width of the current remaining space of a whole page calculates the developed width of each secondary video signal frame divided by presently described total line number R, according to described
Developed width and the preset Aspect Ratio calculate the physical length of each secondary video signal frame, according to the physical length and reality
Border width generates X-1 secondary video signal frame;According to presently described total line number R and the total number Y being calculated described
The secondary video signal frame of X-1 generated of arrangement display in the remaining space of a whole page of form.
7. the electronic equipment as shown in claim 6, which is characterized in that the size of the form is equal to the big of the display screen
It is small.
8. the electronic equipment as shown in claim 6, which is characterized in that the total number Y is equal to the total number X-1 divided by working as
Preceding total line number R, if the first total number X-1 has decimal place divided by presently described total line number R, the numerical value after decimal point
Unconditional carry.
9. the electronic equipment as shown in claim 6, which is characterized in that the step of the target size for calculating each secondary video signal frame
Suddenly include:
The target that each secondary video signal frame is calculated divided by the total number Y in the length of the form is long;And
The target that each secondary video signal frame is calculated according to the preset Aspect Ratio is wide, and secondary view each of will be calculated
The wide target size as each secondary video signal frame of the target of the long and each secondary video signal frame of the target of frame.
10. the electronic equipment as shown in claim 6, which is characterized in that when total line number R being arranged for the first time, set the R to
1。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710667015.7A CN109375887B (en) | 2017-08-03 | 2017-08-03 | Electronic equipment and video frame arrangement method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710667015.7A CN109375887B (en) | 2017-08-03 | 2017-08-03 | Electronic equipment and video frame arrangement method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109375887A true CN109375887A (en) | 2019-02-22 |
CN109375887B CN109375887B (en) | 2022-04-26 |
Family
ID=65403604
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710667015.7A Active CN109375887B (en) | 2017-08-03 | 2017-08-03 | Electronic equipment and video frame arrangement method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109375887B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102724528A (en) * | 2012-05-18 | 2012-10-10 | 清华大学 | Depth map generation device |
CN103702225A (en) * | 2013-12-26 | 2014-04-02 | 乐视网信息技术(北京)股份有限公司 | Method and device for locating element display positions in playing record display area |
CN103970894A (en) * | 2014-05-27 | 2014-08-06 | 合一网络技术(北京)有限公司 | Method and system for displaying interface streaming layout in adaptive adjustment mode |
CN105407312A (en) * | 2014-09-01 | 2016-03-16 | 鸿富锦精密工业(深圳)有限公司 | Video letter server, video letter terminal, and method for sending video letter |
CN105468347A (en) * | 2014-09-05 | 2016-04-06 | 富泰华工业(深圳)有限公司 | System and method for pausing video play |
US20160307541A1 (en) * | 2015-04-14 | 2016-10-20 | Canon Kabushiki Kaisha | Image display apparatus and method for controlling the same |
CN106921866A (en) * | 2017-05-03 | 2017-07-04 | 广州华多网络科技有限公司 | The live many video guide's methods and apparatus of auxiliary |
-
2017
- 2017-08-03 CN CN201710667015.7A patent/CN109375887B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102724528A (en) * | 2012-05-18 | 2012-10-10 | 清华大学 | Depth map generation device |
CN103702225A (en) * | 2013-12-26 | 2014-04-02 | 乐视网信息技术(北京)股份有限公司 | Method and device for locating element display positions in playing record display area |
CN103970894A (en) * | 2014-05-27 | 2014-08-06 | 合一网络技术(北京)有限公司 | Method and system for displaying interface streaming layout in adaptive adjustment mode |
CN105407312A (en) * | 2014-09-01 | 2016-03-16 | 鸿富锦精密工业(深圳)有限公司 | Video letter server, video letter terminal, and method for sending video letter |
CN105468347A (en) * | 2014-09-05 | 2016-04-06 | 富泰华工业(深圳)有限公司 | System and method for pausing video play |
US20160307541A1 (en) * | 2015-04-14 | 2016-10-20 | Canon Kabushiki Kaisha | Image display apparatus and method for controlling the same |
CN106921866A (en) * | 2017-05-03 | 2017-07-04 | 广州华多网络科技有限公司 | The live many video guide's methods and apparatus of auxiliary |
Also Published As
Publication number | Publication date |
---|---|
CN109375887B (en) | 2022-04-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20200183568A1 (en) | Method and System for Sorting Desktop Objects | |
EP3438808A1 (en) | Split-screen displaying method and apparatus, and electronic device | |
CN105426080B (en) | A kind of picture switching method and terminal | |
CN112181342B (en) | Display method, display device, electronic equipment and storage medium | |
CN104937535B (en) | Portable terminal, display control method | |
EP4177783A1 (en) | Method and apparatus for browsing table in document, and electronic device and storage medium | |
CN106775614B (en) | Intelligent POS interface layout method and system | |
CN107704157B (en) | Multi-screen interface operation method and device and storage medium | |
CN110516218B (en) | Method for generating table, terminal and computer readable storage medium | |
CN111881662A (en) | Form generation method, device, processing equipment and storage medium | |
CN106484388B (en) | Method and device for realizing user interface | |
CN113535165A (en) | Interface generation method and device, electronic equipment and computer readable storage medium | |
TWI622291B (en) | Electronic device and method for arranging video boxes | |
CN113535662B (en) | Information position indicating method and device, electronic equipment and storage medium | |
CN109375887A (en) | Electronic equipment and video signal frame aligning method | |
EP3021228B1 (en) | Information processing device, information processing method, and program | |
CN107368465B (en) | System and method for processing screenshot note of streaming document | |
CN115421631A (en) | Interface display method and device | |
CN103593139A (en) | Multi-unit emulational handwriting cooperative processing method and device | |
CN108694006A (en) | A kind of method and apparatus realized icon and imitate wheel rolling effect | |
US20180348946A1 (en) | Information Input Method and Apparatus for Touch Screen | |
TWI628953B (en) | Electronic device and method for arranging video boxes on display | |
CN106095228A (en) | A kind of information processing method and electronic equipment | |
CN106687899A (en) | Information processing device, control method therefor, and control program | |
CN106445307B (en) | Interactive interface setting method and device of virtual reality equipment |
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 |