CN114520883B - Video source switching method and device and video processing equipment - Google Patents
Video source switching method and device and video processing equipment Download PDFInfo
- Publication number
- CN114520883B CN114520883B CN202011306440.1A CN202011306440A CN114520883B CN 114520883 B CN114520883 B CN 114520883B CN 202011306440 A CN202011306440 A CN 202011306440A CN 114520883 B CN114520883 B CN 114520883B
- Authority
- CN
- China
- Prior art keywords
- storage area
- source
- target
- source selection
- identification code
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/222—Studio circuitry; Studio devices; Studio equipment
- H04N5/262—Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
- H04N5/268—Signal distribution or switching
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
- H04N5/765—Interface circuits between an apparatus for recording and another apparatus
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Controls And Circuits For Display Device (AREA)
- Studio Circuits (AREA)
Abstract
The embodiment of the invention discloses a video source switching method, a video source switching device and video processing equipment. The video source switching method includes, for example: acquiring a target identification code and a target configuration parameter corresponding to a target video source; storing the target identification code into a first source selection storage area, and continuously monitoring whether the first source selection storage area and a second source selection storage area store the same identification code; reading a target identification code from a first source selection storage area and storing the target identification code into a second source selection storage area in a first vertical blanking period corresponding to a target video source; the first source selection storage area and the second source selection storage area are monitored to store the same target identification code, initial configuration parameters of the initial video source are replaced by target configuration parameters and are stored into the layer processing storage area, and the target video source is stored into the storage. The invention can realize seamless connection when video sources are switched.
Description
Technical Field
The embodiment of the invention relates to the technical field of video processing, in particular to a video source switching method, a video source switching device and video processing equipment.
Background
Currently, each layer needs to support switching of video sources when video processing is performed by the video processing device, and if the video sources are directly switched without any processing, instant screen display is caused when the video sources are switched. Therefore, after the video source configuration parameters are issued, the bottom layer needs to be subjected to related processing to ensure that the video source configuration parameters are synchronously matched, so that the problem of screen display is solved. However, although the existing video source switching method solves the problem of screen display instantly when video sources are switched, the video source switching method can generate a clamping phenomenon instantly when video sources are switched.
Therefore, providing a video source switching method capable of avoiding the occurrence of the clamping phenomenon during switching video sources is a technical problem to be solved in the present invention.
Disclosure of Invention
In order to overcome the defects and shortcomings in the prior art, the embodiment of the invention discloses a video source switching method, a video source switching device, video processing equipment and a computer readable storage medium, which can realize seamless connection of video source switching, avoid the problem of instant screen display when the prior art switches video sources, and simultaneously avoid the problem of blocking when the prior art switches video sources.
In a first aspect, an embodiment of the present invention discloses a video source switching method, including: acquiring a target identification code and a target configuration parameter corresponding to a target video source; storing the target identification code into a first source selection storage area, and continuously monitoring whether the first source selection storage area and a second source selection storage area store the same identification code or not; reading the target identification code from the first source selection storage area and storing the target identification code into the second source selection storage area in a first vertical blanking period corresponding to the target video source; and monitoring that the first source selection storage area and the second source selection storage area store the same target identification code, storing the initial configuration parameters of the initial video source replaced by the target configuration parameters into a layer processing storage area, and storing the target video source into a memory.
According to the method, the target identification codes of the target video sources are stored in the first source selection storage area, whether the first source selection storage area and the second source selection storage area store the same identification codes or not is continuously detected, the target identification codes are read from the first source selection storage area to the second source selection storage area in a first field blanking period corresponding to the target video sources, the first source selection storage area and the second source selection storage area are monitored to store the same target identification codes at the moment, the initial configuration parameters of the initial video sources are replaced by the target configuration parameters to the layer processing storage area, the target video sources are stored in the storage area, seamless connection of video source switching can be achieved, the problem that instant screen-display occurs when video sources are switched in the prior art is avoided, and meanwhile the problem that clamping occurs when the video sources are switched in the prior art is avoided.
In one embodiment of the present invention, the storing the target identification code in the first source selection memory area includes: and storing the target identification code to the first source selection storage area in a second vertical blanking period of the initial video source.
By storing the target identification code in the first source selection storage area in the second vertical blanking period of the initial video source, the interference to the output display of the initial video source can be avoided, namely the phenomenon that the output of the initial video source flickers before the video source is switched is avoided.
In one embodiment of the present invention, the storing the target identification code in the first source selection memory area includes: and responding to an input parameter updating instruction, storing the target identification code into a third source selection storage area, and reading the target identification code from the third source selection storage area to be stored into the first source selection storage area in the second vertical blanking period of the initial video source.
The data processing rate can be improved by storing the target identification code in the third source selection memory area in response to the parameter updating instruction, and then reading the target identification code from the third source selection memory area to the first source selection memory area in the vertical blanking period of the initial video source.
In one embodiment of the present invention, the target configuration parameters include: the video source switching method further comprises the following steps of: and reading the target video source output display from the memory based on the target resolution.
In one embodiment of the present invention, before the target identifier is read from the first source selection memory area and stored in the second source selection memory area in a first vertical blanking period corresponding to the target video source, the second source selection memory area stores an initial identifier of the initial video source, and the initial configuration parameters include: an initial resolution; after said continuously monitoring whether said first and second source-selected storage areas store the same identification code, further comprising: and the identification codes stored in the first source selection storage area and the second source selection storage area are monitored to be different, and the initial video source output display is read from the memory based on the initial resolution.
In a second aspect, an embodiment of the present invention discloses a video source switching apparatus, including: the acquisition module is used for acquiring a target identification code and a target configuration parameter corresponding to the target video source; the storage monitoring module is used for storing the target identification code into a first source selection storage area and continuously monitoring whether the first source selection storage area and a second source selection storage area store the same identification code or not; the reading storage module is used for reading the target identification code from the first source selection storage area and storing the target identification code into the second source selection storage area in a first vertical blanking period corresponding to the target video source; and the replacement storage module is used for monitoring that the first source selection storage area and the second source selection storage area store the same target identification code, storing the initial configuration parameters of the initial video source replaced by the target configuration parameters into a layer processing storage area, and storing the target video source into a memory.
In one embodiment of the present invention, the storage monitoring module is configured to store the target identification code in the first source selection storage area, and includes: and storing the target identification code to the first source selection storage area in a second vertical blanking period of the initial video source.
In one embodiment of the present invention, the storage monitoring module is specifically configured to: and responding to an input parameter updating instruction, storing the target identification code into a third source selection storage area, and reading the target identification code from the third source selection storage area to be stored into the first source selection storage area in the second vertical blanking period of the initial video source.
In a third aspect, a video processing apparatus disclosed in an embodiment of the present invention includes: a memory; a microprocessor; a programmable logic device electrically connecting the microprocessor and the memory; the microprocessor is used for outputting a target identification code and a target configuration parameter corresponding to a target video source to the programmable logic device so that the programmable logic device and the memory cooperate to execute any video source switching method.
In one embodiment of the present invention, the programmable logic device includes: a source selection module connected to the microprocessor and comprising: the first source selection storage area, the second source selection storage area and the third source selection storage area are used for storing the target identification code into the first source selection storage area, continuously monitoring whether the first source selection storage area and the second source selection storage area store the same identification code or not so as to continuously output monitoring signals, and reading the target identification code from the first source selection storage area to be stored into the second source selection storage area in the first field blanking period corresponding to the target video source; and a layer processing module connected with the source selecting module, the microprocessor and the memory, comprising: and the layer processing storage area is used for storing the initial configuration parameters of the initial video source in place of the target configuration parameters to the layer processing storage area and storing the target video source into the memory when the monitoring signal characterizes that the first source selection storage area and the second source selection storage area store the same target identification codes.
In a fourth aspect, an embodiment of the present invention discloses a computer readable storage medium, where a computer program is stored, where the stored computer program is capable of implementing any one of the video source switching methods described above when executed by a processor.
The above technical solution may have the following advantages or benefits: the method comprises the steps of storing target identification codes of target video sources into a first source selection storage area, continuously detecting whether the first source selection storage area and a second source selection storage area store the same identification codes, reading the target identification codes from the first source selection storage area to the second source selection storage area in a first field blanking period corresponding to the target video sources, at the moment, monitoring that the first source selection storage area and the second source selection storage area store the same target identification codes, storing initial configuration parameters of the initial video sources into a layer processing storage area by replacing the initial configuration parameters of the target configuration parameters, and storing the target video sources into a memory.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flow chart of a video source switching method according to an embodiment of the present invention.
Fig. 2 is a schematic structural diagram of a display system according to an embodiment of the present invention.
Fig. 3 is a schematic structural diagram of a video processing apparatus according to an embodiment of the present invention.
Fig. 4 is a schematic block diagram of a programmable logic device in the video processing apparatus shown in fig. 3.
Fig. 5 is a schematic signal diagram illustrating a video source switching method according to an embodiment of the present invention.
Fig. 6 is a schematic structural diagram of a video source switching apparatus according to an embodiment of the present invention.
Fig. 7 is a schematic diagram of a computer-readable storage medium according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
As shown in fig. 1, a video source switching method according to an embodiment of the present invention includes steps S11 to S17.
S11: acquiring a target identification code and a target configuration parameter corresponding to a target video source;
s13: storing the target identification code into a first source selection storage area, and continuously monitoring whether the first source selection storage area and a second source selection storage area store the same identification code or not;
s15: reading the target identification code from the first source selection storage area and storing the target identification code into the second source selection storage area in a first vertical blanking period corresponding to the target video source;
s17: and monitoring that the first source selection storage area and the second source selection storage area store the same target identification code, storing the initial configuration parameters of the initial video source replaced by the target configuration parameters into a layer processing storage area, and storing the target video source into a memory.
In step S11, the target video source is a video source in a format such as an HDMI format, a DVI format, a DP format, or an SDI format. The target identification code mentioned is a unique identification of the target video source, which consists of, for example, the number of the target video source. The target configuration parameters mentioned include, for example: target resolution, color space, and other display parameters.
The first source selection memory area and the second source selection memory area mentioned in step S13 are, for example, different registers, but the present embodiment is not limited thereto, and the first source selection memory area and the second source selection memory area may be other different memory areas.
The first vertical blanking period mentioned in step S15 is, for example, a high level duration in the field sync signal VS in the target video source.
The initial video source mentioned in step S17 is, for example, a video source with the same format as the target video source, but may be, of course, a video source with a different format from the target video source, and the initial video source is, for example, an HDMI format video source, a DVI format video source, a DP format video source, or an SDI format video source, etc., which is understood herein to be a video source that outputs a display before the video source is switched. The initial configuration parameters mentioned include, for example: initial resolution, color space, etc. The layer processing memory area mentioned is for example a register and the memory mentioned is for example a DDR memory.
According to the method, the target identification codes of the target video sources are stored in the first source selection storage area, whether the first source selection storage area and the second source selection storage area store the same identification codes or not is continuously detected, the target identification codes are read from the first source selection storage area to the second source selection storage area in a first field blanking period corresponding to the target video sources, the first source selection storage area and the second source selection storage area are monitored to store the same target identification codes at the moment, the initial configuration parameters of the initial video sources are replaced by the target configuration parameters to the layer processing storage area, the target video sources are stored in the storage area, seamless connection of video source switching can be achieved, the problem that instant screen-display occurs when video sources are switched in the prior art is avoided, and meanwhile the problem that clamping occurs when the video sources are switched in the prior art is avoided.
Further, storing the target identification code in the first source selection storage area mentioned in step S13 includes, for example: and storing the target identification code to the first source selection storage area in a second vertical blanking period of the initial video source.
Since the initial video source is always output and displayed before the initial video source is switched to the target video source, the interference to the output and display of the initial video source, that is, the phenomenon of flickering of the output of the initial video source before the video source is switched, can be avoided by storing the target identification code to the first source selection storage area in the second field blanking period of the initial video source.
Further, storing the target identification code in the first source selection storage area mentioned in step S13 includes, for example: and responding to an input parameter updating instruction, storing the target identification code into a third source selection storage area, and reading the target identification code from the third source selection storage area to be stored into the first source selection storage area in the second vertical blanking period of the initial video source.
The parameter updating command mentioned therein is valid, for example, high level, the microprocessor outputs data serially to the programmable logic device, and the data processing in the programmable logic device is parallel processing, so that the processing rate of the data can be improved by storing the target identification code in the third source selection memory area in response to the parameter updating command, and then reading the target identification code from the third source selection memory area to the first source selection memory area during the vertical blanking period of the initial video source.
Further, after step S17, the video source switching method further includes, for example: and reading the target video source output display from the memory based on the target resolution.
Further, before step S15, the second source selection memory area stores an initial identification code of the initial video source, and after the continuously monitoring whether the first source selection memory area and the second source selection memory area store the same identification code, further includes: and the identification codes stored in the first source selection storage area and the second source selection storage area are monitored to be different, and the initial video source output display is read from the memory based on the initial resolution.
For better understanding of the present embodiment, a specific implementation of the video source switching method disclosed in the present embodiment is illustrated in the following with reference to fig. 2 to 5.
Referring to fig. 2, the present embodiment discloses a display system 200 including a video processing device 100 and a target display screen 210. The video processing apparatus 100 is, for example, configured to perform the video source switching method disclosed in the foregoing, and the target display screen 210 is connected to the video processing apparatus 100 for displaying the video source output by the video processing apparatus 100.
As shown in fig. 3, the video processing apparatus 100 includes, for example: the video source switching method comprises a memory 110, a programmable logic device 130 and a microprocessor 150, wherein the programmable logic device 130 is connected with the memory 110 and the microprocessor 150, and the microprocessor 150 is used for outputting a target identification code and a target configuration parameter corresponding to a target video source to the programmable logic device 130 so that the programmable logic device 130 and the memory 110 cooperate to execute the video source switching method. The microprocessor 150 is, for example, an MCU (Microcontroller Unit: micro control unit), also called a single-chip microcomputer (Single Chip Microcomputer) or a single-chip microcomputer, or other microprocessors with certain data processing and computing capabilities, such as an ARM processor. The programmable logic device 130 is, for example, an FPGA (Field-Programmable Gate Array, field programmable gate array) or other similar logic device. The memory 110 is, for example, a volatile memory, for example, a DDR memory. Further, the video processing apparatus 100 is also provided with a plurality of video source input interfaces and the like connected to the programmable logic device 130, for example.
The target display screen 210 is, for example, an LED display screen, and is spliced by a plurality of LED display boxes, where each LED display box includes, for example, a receiving card and at least one LED lamp board connected to the receiving card, where the receiving card includes, for example, a network port, a programmable logic device electrically connected to the network port, and a memory. The video processing device 100 is, for example, a receiving card connected to the target display screen 210. The video processing apparatus 100 is provided with, for example, a portal to which a receiving card is connected through a network cable, or the video processing apparatus 100 is provided with, for example, a video source output interface to which a video source input interface of a transmitting card is connected, the portal of the transmitting card being connected to the portal of the receiving card.
Further, as shown in fig. 4, the programmable logic device 130 includes a source selection module 131 and a layer processing module 132, wherein the source selection module 131 is connected to the microprocessor 150, and the layer processing module 132 is connected to the microprocessor 150, the memory 110 and the source selection module 131. The source selection module 131 includes, for example: the first source selection memory area SelReg1, the second source selection memory area SelReg2, and the third source selection memory area SelReg0. The layer processing module 132 includes, for example, a layer processing memory area. The source selecting module 131 and the layer processing module 132 are the existing module architecture of the programmable logic device in the existing video processing apparatus, and the constituent devices thereof are not described herein.
Specifically, the source selection module 131 is configured to store the target identification code in the first source selection storage area SelReg1, continuously monitor whether the first source selection storage area SelReg1 and the second source selection storage area SelReg2 store the same identification code to continuously output a monitoring signal, and read the target identification code from the first source selection storage area SelReg1 to store the target identification code in the second source selection storage area SelReg2 in the first field blanking period corresponding to the target video source. The layer processing module 132 is configured to store the target configuration parameter in the layer processing storage area instead of the initial configuration parameter of the initial video source when the monitoring signal characterizes that the first source selection storage area SelReg1 and the second source selection storage area SelReg2 store the same target identification code, and store the target video source in the memory 110.
For example, as shown in fig. 2 and 4, the a source is an initial video source, the B source is a target video source, and the video processing apparatus 100 outputs the a source to the target display screen 210 for display before performing video source switching. As shown in fig. 5, the initial identification code a corresponding to the a source at this time is stored in the first source selection memory area SelReg1, the second source selection memory area SelReg2, and the third source selection memory area SelReg0.
When the video source is switched, the microprocessor 150 acquires the target identification code B corresponding to the B source and the target configuration parameter, and issues the target identification code B and the target configuration parameter to the source selection module 131 and the layer processing module 132 for caching. The microprocessor 150 then issues a parameter Update command Update to the source selection module 131 of the programmable logic device 130, the source selection module 131 reads the target identification code B of the B source from the buffer memory to store in the third source selection storage area SelReg0 in response to the parameter Update command Update being valid, i.e. in a high level, at which time the video processing apparatus 100 still outputs an initial video source, i.e. an a source, to be displayed on the target display screen 210, i.e. the layer processing storage area in the layer processing module 132 stores the initial configuration parameters of the a source, the source selection module 131 outputs the a source to the layer processing module 132 to store the a source to the memory 110 by the layer processing module 132, and the layer processing module 132 reads the a source output display from the memory 110, e.g. based on the initial resolution in the initial configuration parameters.
Next, the source selecting module 131 will read the target identification code B from the third source selecting storage area SelReg0 and store it in the first source selecting storage area SelReg1 during the second field blanking period corresponding to the initial video source, i.e. the a source, i.e. the high level of the field synchronizing signal AVs corresponding to the a source, where the source selecting module 131 no longer outputs the a source to the layer processing module 132, but outputs the B source to the layer processing module 132, however, the layer processing module 132 receives the B source at this time and does not restore it to the memory, but ignores the B source, because we switch the B source with the second field blanking period corresponding to the a source, but at this time, the B source may not be in the first field blanking period corresponding to the B source, but in the video active area, where the problem of flickering of the upper half or the lower half of the layer occurs if switching to the B source occurs.
Specifically, the source selection module 131 continuously monitors whether the first source selection storage area SelReg1 and the second source selection storage area SelReg2 store the same identification code to output the monitoring signal Change to the layer processing module 132, when the identification code stored in the first source selection storage area is the target identification code B, the initial identification code stored in the second source selection storage area SelReg2 is the target identification code a, if the two identification codes are different, the monitoring signal Change is at a high level, and if the layer processing module 132 detects that the monitoring signal Change is at a high level, the B source is not transferred to the memory 110, and the parameter replacement operation is not performed, and when the memory 110 pre-stores, for example, 1-3 frames of a source, the video processing device 100 still outputs the a source to the target display screen 210 for displaying.
When the first vertical blanking period corresponding to the B source, i.e. the high level period of the field synchronization signal BVs corresponding to the B source, which is the target video source, is reached, the source selection module 131 reads the target identification code B from the first source selection storage area SelReg1 to store it in the second source selection storage area SelReg2, and when it is monitored that the first source selection storage area SelReg1 and the second source selection storage area SelReg2 store the same target identification code B, the Change of the monitoring signal Change to low level indicates that the first source selection storage area SelReg1 and the second source selection storage area SelReg2 store the same identification code, and the layer processing module 132 detects that the monitoring signal Change replaces the initial configuration parameter corresponding to the a source with the target configuration parameter in the low level reading buffer to store it in the layer processing storage area, and stores the B source in the memory 110 to complete the switching from the a source to the B source, and the layer processing module 132 may read the B source from the memory 110 to display the target display screen 210 based on the target configuration parameter, such as the target resolution.
In addition, as shown in fig. 6, an embodiment of the present invention discloses a video source switching apparatus 400, including: the acquisition module 410, the storage monitoring module 430, the read storage module 450, and the replacement storage module 470.
The obtaining module 410 is configured to obtain a target identifier and a target configuration parameter corresponding to a target video source. The storage monitoring module 430 is configured to store the target identifier code in the first source selection storage area, and continuously monitor whether the first source selection storage area and the second source selection storage area store the same identifier code. The read storage module 450 is configured to read, in a first vertical blanking period corresponding to the target video source, the target identifier from the first source selection storage area and store the target identifier in the second source selection storage area. The replacement storage module 470 is configured to monitor that the first source selection storage area and the second source selection storage area store the same target identification code, store the initial configuration parameters of the target configuration parameter replacement initial video source to a layer processing storage area, and store the target video source in a memory.
Further, the storage monitoring module 430 is configured to store the target identifier code in the first source selection storage area, including: and storing the target identification code to the first source selection storage area in a second vertical blanking period of the initial video source.
Further, the storage monitoring module 430 is specifically configured to: and responding to an input parameter updating instruction, storing the target identification code into a third source selection storage area, and reading the target identification code from the third source selection storage area to be stored into the first source selection storage area in the second vertical blanking period of the initial video source.
Further, the mentioned target configuration parameters include: the video source switching apparatus 400 further includes, for example: and the output display module is used for reading the target video source output display from the memory based on the target resolution.
Further, before the target identification code is read from the first source selection memory area and stored in the second source selection memory area in the first vertical blanking period corresponding to the target video source, the second source selection memory area stores the initial identification code of the initial video source, and the initial configuration parameters include: the video source switching apparatus 400 further includes, for example: and the second output display module is used for monitoring that the identification codes stored in the first source selection storage area and the second source selection storage area are different, and reading the initial video source output display from the memory based on the initial resolution.
The video source switching method implemented by the video source switching apparatus 400 according to the present embodiment is described in the foregoing embodiments, and thus will not be described in detail herein. Optionally, each module, unit and the other operations or functions described above in this embodiment are respectively for implementing the method in the foregoing embodiment.
Further, as shown in FIG. 7, one embodiment of the present invention discloses a computer-readable storage medium 500. The computer-readable storage medium 500 is, for example, a nonvolatile memory, such as, for example: magnetic media (e.g., hard disk, floppy disk, and magnetic strips), optical media (e.g., CDROM disks and DVDs), magneto-optical media (e.g., optical disks), and hardware devices that are specially constructed for storing and performing computer-executable instructions (e.g., read-only memory (ROM), random Access Memory (RAM), flash memory, etc.). The computer-readable storage medium 500 has stored thereon a computer program 510. The computer-readable storage medium 500 may be executed by one or more processors or processing devices to execute the computer program 510 to implement the video source switching method in the foregoing embodiments.
In summary, in the above embodiment, by storing the target identifier of the target video source in the first source selection storage area, and continuously detecting whether the first source selection storage area and the second source selection storage area store the same identifier, reading the target identifier from the first source selection storage area to the second source selection storage area in the first field blanking period corresponding to the target video source, at this time, monitoring that the first source selection storage area and the second source selection storage area store the same target identifier, storing the initial configuration parameters of the initial video source in the layer processing storage area in place of the target configuration parameters, and storing the target video source in the storage area, seamless connection of video source switching can be achieved, the problem that instant screen is left when video source switching is performed in the prior art is avoided, and meanwhile, the problem that blocking occurs when video source switching is performed in the prior art is also avoided.
In addition, it should be understood that the foregoing embodiments are merely exemplary illustrations of the present invention, and the technical solutions of the embodiments may be arbitrarily combined and matched without conflict in technical features, contradiction in structure, and departure from the purpose of the present invention.
In the several embodiments provided in the present invention, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the partitioning of elements is merely a logical functional partitioning, and there may be additional partitioning in actual implementation, e.g., multiple elements or components may be combined or integrated into another system, or some features may be omitted, or not implemented. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit/module in the embodiments of the present invention may be integrated in one processing unit/module, or each unit/module may exist alone physically, or two or more units/modules may be integrated in one unit/module. The integrated units/modules may be implemented in hardware or in hardware plus software functional units/modules.
The integrated units/modules implemented in the form of software functional units/modules described above may be stored in a computer readable storage medium. The software functional units described above are stored in a storage medium and include instructions for causing one or more processors of a computer device (which may be a personal computer, a server, or a network device, etc.) to perform some steps of the methods described in the various embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims (8)
1. A video source switching method, comprising:
acquiring a target identification code corresponding to a target video source and a target configuration parameter, wherein the target identification code is a unique identification of the target video source, and the target configuration parameter comprises target resolution and a color space;
storing the target identification code into a first source selection storage area, and continuously monitoring whether the first source selection storage area and a second source selection storage area store the same identification code or not;
reading the target identification code from the first source selection storage area and storing the target identification code into the second source selection storage area in a first vertical blanking period corresponding to the target video source;
the first source selection storage area and the second source selection storage area are monitored to store the same target identification code, initial configuration parameters of the initial video source are replaced by the target configuration parameters and stored into a layer processing storage area, and the target video source is stored into a memory;
wherein storing the target identification code in a first source selection storage area comprises:
and storing the target identification code to the first source selection storage area in a second vertical blanking period of the initial video source.
2. The video source switching method according to claim 1, wherein the storing the target identification code in the first source selection memory area includes:
and responding to an input parameter updating instruction, storing the target identification code into a third source selection storage area, and reading the target identification code from the third source selection storage area to be stored into the first source selection storage area in the second vertical blanking period of the initial video source.
3. The video source switching method according to claim 1, further comprising, after said storing said target video source in a memory:
and reading the target video source output display from the memory based on the target resolution.
4. The video source switching method according to claim 3, wherein the second source selection memory area stores an initial identification code of the initial video source before the target identification code is read from the first source selection memory area and stored in the second source selection memory area in a first vertical blanking period corresponding to the target video source, and wherein the initial configuration parameters include: an initial resolution;
after said continuously monitoring whether said first and second source-selected storage areas store the same identification code, further comprising:
and the identification codes stored in the first source selection storage area and the second source selection storage area are monitored to be different, and the initial video source output display is read from the memory based on the initial resolution.
5. A video source switching apparatus, comprising:
the acquisition module is used for acquiring a target identification code corresponding to a target video source and a target configuration parameter, wherein the target identification code is a unique identification of the target video source, and the target configuration parameter comprises target resolution and a color space;
the storage monitoring module is used for storing the target identification code into a first source selection storage area and continuously monitoring whether the first source selection storage area and a second source selection storage area store the same identification code or not;
the reading storage module is used for reading the target identification code from the first source selection storage area and storing the target identification code into the second source selection storage area in a first vertical blanking period corresponding to the target video source;
the replacement storage module is used for monitoring that the first source selection storage area and the second source selection storage area store the same target identification code, storing the initial configuration parameters of the initial video source replaced by the target configuration parameters into a layer processing storage area, and storing the target video source into a memory;
wherein the storage monitoring module is configured to store the target identification code to the first source selection storage area, and includes: and storing the target identification code to the first source selection storage area in a second vertical blanking period of the initial video source.
6. The video source switching device according to claim 5, wherein the storage monitoring module is specifically configured to: and responding to an input parameter updating instruction, storing the target identification code into a third source selection storage area, and reading the target identification code from the third source selection storage area to be stored into the first source selection storage area in the second vertical blanking period of the initial video source.
7. A video processing apparatus, comprising:
a memory;
a microprocessor;
a programmable logic device electrically connecting the microprocessor and the memory;
the microprocessor is configured to output a target identification code and a target configuration parameter corresponding to a target video source to the programmable logic device, so that the programmable logic device cooperates with the memory to execute the video source switching method according to any one of claims 1-4.
8. The video processing apparatus of claim 7, wherein the programmable logic device comprises:
a source selection module connected to the microprocessor and comprising: the first source selection storage area, the second source selection storage area and the third source selection storage area are used for storing the target identification code into the first source selection storage area, continuously monitoring whether the first source selection storage area and the second source selection storage area store the same identification code or not so as to continuously output monitoring signals, and reading the target identification code from the first source selection storage area to be stored into the second source selection storage area in the first field blanking period corresponding to the target video source;
and a layer processing module connected with the source selecting module, the microprocessor and the memory, comprising: and the layer processing storage area is used for storing the initial configuration parameters of the initial video source in place of the target configuration parameters to the layer processing storage area and storing the target video source into the memory when the monitoring signal characterizes that the first source selection storage area and the second source selection storage area store the same target identification codes.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011306440.1A CN114520883B (en) | 2020-11-19 | 2020-11-19 | Video source switching method and device and video processing equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011306440.1A CN114520883B (en) | 2020-11-19 | 2020-11-19 | Video source switching method and device and video processing equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114520883A CN114520883A (en) | 2022-05-20 |
CN114520883B true CN114520883B (en) | 2024-03-15 |
Family
ID=81594150
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011306440.1A Active CN114520883B (en) | 2020-11-19 | 2020-11-19 | Video source switching method and device and video processing equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114520883B (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO1998021891A2 (en) * | 1996-11-14 | 1998-05-22 | Philips Electronics N.V. | A receiver and a method of controlling the viewing of television programmes |
JP2001251643A (en) * | 2000-03-07 | 2001-09-14 | Digital Electronics Corp | Video decode system, space converter, and display controller chip |
CN101854487A (en) * | 2009-03-30 | 2010-10-06 | 深圳市朗科科技股份有限公司 | Video signal switching system and method |
CN103559874A (en) * | 2008-10-13 | 2014-02-05 | 苹果公司 | Seamless display migration |
CN105657291A (en) * | 2016-01-12 | 2016-06-08 | 西安诺瓦电子科技有限公司 | Video controller |
CN108810648A (en) * | 2018-06-29 | 2018-11-13 | 青岛海信电器股份有限公司 | A kind of method and terminal carrying out image procossing |
CN110891182A (en) * | 2018-09-11 | 2020-03-17 | 华为技术有限公司 | Method, device and system for realizing video stream switching |
CN111866413A (en) * | 2020-08-04 | 2020-10-30 | 中航华东光电有限公司 | Method for realizing CVBS (composite video broadcast signal) decoding display based on FPGA (field programmable Gate array) |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040261127A1 (en) * | 1991-11-25 | 2004-12-23 | Actv, Inc. | Digital interactive system for providing full interactivity with programming events |
US8675138B2 (en) * | 2010-07-15 | 2014-03-18 | Broadcom Corporation | Method and apparatus for fast source switching and/or automatic source switching |
JP6168672B1 (en) * | 2016-03-24 | 2017-07-26 | 株式会社日立国際電気 | Encoding device provided with video switching device and encoding method including video switching detection method |
-
2020
- 2020-11-19 CN CN202011306440.1A patent/CN114520883B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO1998021891A2 (en) * | 1996-11-14 | 1998-05-22 | Philips Electronics N.V. | A receiver and a method of controlling the viewing of television programmes |
JP2001251643A (en) * | 2000-03-07 | 2001-09-14 | Digital Electronics Corp | Video decode system, space converter, and display controller chip |
CN103559874A (en) * | 2008-10-13 | 2014-02-05 | 苹果公司 | Seamless display migration |
CN101854487A (en) * | 2009-03-30 | 2010-10-06 | 深圳市朗科科技股份有限公司 | Video signal switching system and method |
CN105657291A (en) * | 2016-01-12 | 2016-06-08 | 西安诺瓦电子科技有限公司 | Video controller |
CN108810648A (en) * | 2018-06-29 | 2018-11-13 | 青岛海信电器股份有限公司 | A kind of method and terminal carrying out image procossing |
CN110891182A (en) * | 2018-09-11 | 2020-03-17 | 华为技术有限公司 | Method, device and system for realizing video stream switching |
CN111866413A (en) * | 2020-08-04 | 2020-10-30 | 中航华东光电有限公司 | Method for realizing CVBS (composite video broadcast signal) decoding display based on FPGA (field programmable Gate array) |
Also Published As
Publication number | Publication date |
---|---|
CN114520883A (en) | 2022-05-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102097085B (en) | Method and device for identifying system spliced by multiple display units | |
CN113132651B (en) | Image processing method and device and display control system | |
CN103021378A (en) | Method and device for multi-screen mosaic display | |
CN109426472A (en) | Multimedia play system and multimedia player | |
CN110989952B (en) | Multi-screen-based mouse sharing implementation method, device and system | |
US11842673B2 (en) | Control method and system for display switching, electronic device and storage medium | |
CN106937071A (en) | A kind of EDID adaptive approach and system | |
KR20170046989A (en) | Display apparatus consisting a multi display system and control method thereof | |
CN112422888B (en) | Video splicing method and device, electronic equipment and computer readable storage medium | |
CN113126938B (en) | Image display control method and device, display box and display system | |
US20230144426A1 (en) | Monitor system and method for controlling displaying thereof | |
CN113205779A (en) | Multi-screen synchronous control method, device and system suitable for electronic ink screen | |
CN111240621B (en) | Method and device for controlling display frequency of display screen and electronic equipment | |
CN103024453B (en) | Non-immediate obtains Video Applications occasion splicing audio video synchronization player method and device | |
CN114520883B (en) | Video source switching method and device and video processing equipment | |
CN112309311B (en) | Display control method, device, display control card and computer readable medium | |
CN101834979A (en) | Video signal windowing response method and device thereof and video display system | |
CN106506995A (en) | Backup signal supply and display method and device for display unit group | |
KR20230131783A (en) | Image data reception via non-video interface | |
CN111935521B (en) | LED display synchronous control array and LED display system | |
CN112286573B (en) | Method, device and system for modifying configuration parameters of module controller | |
CN112995559A (en) | Video processing method, device and system, display controller and display control system | |
US9232213B2 (en) | Stereo image output apparatus and associated method | |
CN112866780B (en) | Subtitle cyclic display method and device, video processing equipment system and storage medium | |
US11637913B2 (en) | Automatic correspondence of encoders and decoders to video ports |
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 |