CN103813107A - Multichannel high-definition video overlapping method based on FPGA (field programmable gata array) - Google Patents

Multichannel high-definition video overlapping method based on FPGA (field programmable gata array) Download PDF

Info

Publication number
CN103813107A
CN103813107A CN201410078394.2A CN201410078394A CN103813107A CN 103813107 A CN103813107 A CN 103813107A CN 201410078394 A CN201410078394 A CN 201410078394A CN 103813107 A CN103813107 A CN 103813107A
Authority
CN
China
Prior art keywords
video
fpga
road
data
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410078394.2A
Other languages
Chinese (zh)
Inventor
江荣
陈军
李旭勇
张德明
陈和平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
HUNAN XING TIAN ELECTRONIC TECHNOLOGY Co Ltd
Original Assignee
HUNAN XING TIAN ELECTRONIC TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by HUNAN XING TIAN ELECTRONIC TECHNOLOGY Co Ltd filed Critical HUNAN XING TIAN ELECTRONIC TECHNOLOGY Co Ltd
Priority to CN201410078394.2A priority Critical patent/CN103813107A/en
Publication of CN103813107A publication Critical patent/CN103813107A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Image Processing (AREA)
  • Studio Circuits (AREA)

Abstract

The invention relates to the video overlapping technology, in particular to a multichannel high-definition video overlapping method based on a FPGA (field programmable gata array). The multichannel high-definition video overlapping method based on the FPGA includes that a video source is converted to a digital signal through an A/D (analog to digital) chip and then enters into the FPGA, the FPGA collects effective pixels, clock domain conversion processing is performed on each channel of the video through an FIFO, all the video is unified to an inner clock of the FPGA, a video zooming module is built inside the FPGA and caches a frame of data in each channel of the video which is zoomed into a DDR3, a traveling field synchronization module of a VESA (video electronics standards association) standard is built inside the FPGA, and simultaneously data of each channel of the video is red from the DDR3, frame synchronization is performed on the data, an alhpa mixture overlapping module is built inside the FPGA and used overlap the video, and the video after being overlapped is output through a D/A (digital to analog) chip. The multichannel high-definition video overlapping method based on the FPGA facilitates implementation of hardware and software, and low in cost, strong in flexibility, small in size of a system, and low in power consumption.

Description

A kind of based on FPGA multi-path high-definition video superimpose method
Technical field
The present invention relates to video superimpose technology, is based on FPGA multi-path high-definition video superimpose method specifically.
Background technology
Video and graph compound technology can superpose multiple paths of video images signal and output on a display and show.In multiple paths of video images signal, a road is as superimposed signal (being background), remaining as superposed signal (being prospect), can incorporate prospect video image and show in same terminal in background video image.This technology has a wide range of applications in fields such as television system, video monitoring system, advertisement recreational, traffic administrations.Domestic production video superimpose device mainly adopts video matrix, image splitter to realize at present, mostly adopts special video superimpose chip design to form, and its flexibility is poor, and cost is high.
For the design of multi-path high-definition video superimpose, the method adopting mostly at present is and uses multiple dsp chips, or uses the mode of FPGA+DSP.But, adopt multiple dsp chips to carry out multi-path high-definition video superimpose, because the data volume of HD video is very large, requirement of real-time is high, also just very high to the performance requirement of DSP, like this, its cost can improve greatly, and the complexity of system also can improve; The words that adopt FPGA+DSP to process, conventionally DSP is as master controller, video is carried out to overlap-add procedure computing, FPGA is used for carrying out the frequency reducing of video data acquiring and vision signal, this method can increase equipment cost, and can increase the time loss that between Main Processor Unit, collaborative work produces, increase the complexity of circuit.
Summary of the invention
For above-mentioned technical problem, the invention provides a kind of simple in structure, cost is low be easy to that hardware and software realizes based on FPGA multi-path high-definition video superimpose method.
The present invention solves the problems of the technologies described above adopted technical scheme: a kind of based on FPGA multi-path high-definition video superimpose method, it comprises the following steps:
(1) multi-path high-definition video source through A D chip be converted to digital signal and enter FPGA, FPGA is according to the valid pixel of the each road of VESA standard acquisition video, each road video carries out clock zone conversion process through a FIFO respectively, and unified under FPGA internal clocking;
(2) CPU is by the parameter setting of pci bus control FPGA inside;
(3), in FPGA internal build video scaling module, video scaling module is controlled video scaling parameter Dui Ge road, Ge road video according to CPU and is carried out convergent-divergent processing;
(4) respectively Ba Mei road through the data volume of video cache one frame of convergent-divergent processing to DDR3;
(5) in the row field synchronization module of FPGA internal build VESA standard, and the row field signal producing according to this row field synchronization module reads each road video data from DDR3, carries out frame synchronization process;
(6) at FPGA internal build alhpa mixing laminating module, video is carried out to overlap-add procedure;
(7) video that carries out overlap-add procedure through D A chip carry out video output.
As preferably, in step (3), described video scaling module adopts sampling of data method to carry out convergent-divergent processing to original video, and data after treatment are entered in FIFO, and translation data output format.
As preferably, in step (5), described row field synchronization module is selected according to CPUDui Mei road video the location parameter value in output video and background video after stack, reads video data from DDR3.
As preferably, in step (6), video superimpose formula is I=I1 α+I2 (1-α), wherein I is the pixel value of the video image pixel of output after stack, and I1 is the pixel value of background video image pixel, and I2 is the pixel value of prospect video image pixel, α ∈ [0,1].
As can be known from the above technical solutions, the present invention sends instruction by CPU, can adjust the ratio of prospect video in background, the position of adjusting prospect in background image, can select any road video as a setting, free switching prospect and background video, can realize 2-4 road video and superpose, output display; In addition can also be extended to HD video stacks more than 4 tunnels, output multi-channel overlay video, and the stacked system of every road output video can be different; This method is easy to hardware and software and realizes, and with low cost, flexibility is strong, and system bulk is little and low in energy consumption.
Accompanying drawing explanation
Fig. 1 is the schematic diagram of optimal way of the present invention.
Embodiment
Introduce in detail method of the present invention below in conjunction with Fig. 1, it comprises the following steps:
(1) multi-path high-definition video source through A D chip be converted to digital signal and enter FPGA, FPGA is according to VESA standard, utilize row field sync signal, gather the valid pixel of each road video, then each road video is respectively through a FIFO, utilize clock zone modular converter to carry out clock zone conversion process, and unified under FPGA internal clocking, for next step, to write DDR3 ready.
(2) CPU is by the parameter setting of the total line traffic control FPGA of pci interface inside, and CPU sends order by pci bus to FPGA, and FPGA realizes multi-path high-definition video data acquiring, convergent-divergent and overlaying function according to instruction.
(3), in FPGA internal build video scaling module, video scaling module is controlled video scaling parameter Dui Ge road, Ge road video according to CPU and is carried out convergent-divergent processing; Video scaling module adopts sampling of data method to carry out convergent-divergent processing to original video, and data after treatment are entered in FIFO, and translation data output format, thereby meets the read-write sequence logic of DDR3.
(4) in the internal memory that Ba Mei road distributes to DDR3 by the data volume of DDR3 controller cache one frame through the video of convergent-divergent processing respectively.
(5) in the row field synchronization module of FPGA internal build VESA standard, and the row field signal producing according to this row field synchronization module reads each road video data from DDR3, carries out frame synchronization process; Row field synchronization module, according to CPUDui Mei road video the location parameter value in output video and background video selection after stack, produces corresponding effective video data enable signal, reads video data from DDR3, realizes frame synchronization process.
(6) in FPGA internal build alhpa video superimpose module, video is carried out to overlap-add procedure; Video superimpose formula is I=I1 α+I2 (1-α), and wherein I is the pixel value of the video image pixel of output after stack, and I1 is the pixel value of background video image pixel, and I2 is the pixel value of prospect video image pixel, α ∈ [0,1]; Can carry out the additive fusion of video image by controlling the value of α; While realization, need first be converted into integer form in FPGA, then realize by the processing of bit wide cut position.
(7) video that carries out overlap-add procedure through D A chip carry out video and show output.
Operating process of the present invention is as follows: after system powers on, FPGA receives the data of multi-path high-definition video simultaneously, and according to the zooming parameter settings of CPUDui Mei road video, FPGA carries out convergent-divergent processing to video; Then buffer memory Yi Zhengge road video data is to the DDR3 internal memory distributing, the inner row field synchronization module that produces of FPGA, according to CPUDui Mei road video the location parameter value in output video and background video selection after stack, from DDR3, read video data, carry out video superimpose processing, finally carry out video and show output.The present invention sends instruction by CPU, can adjust the ratio of prospect video in background, the position of adjusting prospect in background image, can select any road video as a setting, can freely switch prospect and background video, can realize 2-4 road video and superpose, output display; In addition can also be extended to HD video stacks more than 4 tunnels, output multi-channel overlay video, and the stacked system of every road output video can be different.
Above-mentioned execution mode is used for illustrative purposes only, and be not limitation of the present invention, the those of ordinary skill in relevant technologies field, without departing from the spirit and scope of the present invention, can also make various variations and modification, therefore all technical schemes that are equal to also should belong to category of the present invention.

Claims (4)

1. based on a FPGA multi-path high-definition video superimpose method, it comprises the following steps:
(1) multi-path high-definition video source through A D chip be converted to digital signal and enter FPGA, FPGA is according to the valid pixel of the each road of VESA standard acquisition video, each road video carries out clock zone conversion process through a FIFO respectively, and unified under FPGA internal clocking;
(2) CPU is by the parameter setting of pci bus control FPGA inside;
(3), in FPGA internal build video scaling module, video scaling module is controlled video scaling parameter Dui Ge road, Ge road video according to CPU and is carried out convergent-divergent processing;
(4) respectively Ba Mei road through the data volume of video cache one frame of convergent-divergent processing to DDR3;
(5) in the row field synchronization module of FPGA internal build VESA standard, and the row field signal producing according to this row field synchronization module reads each road video data from DDR3, carries out frame synchronization process;
(6) at FPGA internal build alhpa mixing laminating module, video is carried out to overlap-add procedure;
(7) video that carries out overlap-add procedure through D A chip carry out video output.
2. method according to claim 1, is characterized in that: in step (3), described video scaling module adopts sampling of data method to carry out convergent-divergent processing to original video, and data after treatment are entered in FIFO, and translation data output format.
3. method according to claim 1, is characterized in that: in step (5), described row field synchronization module, according to CPUDui Mei road video the location parameter value in output video and background video selection after stack, is read video data from DDR3.
4. method according to claim 1, it is characterized in that: in step (6), video superimpose formula is I=I1 α+I2 (1-α), wherein I is the pixel value of the video image pixel of output after stack, I1 is the pixel value of background video image pixel, I2 is the pixel value of prospect video image pixel, α ∈ [0,1].
CN201410078394.2A 2014-03-05 2014-03-05 Multichannel high-definition video overlapping method based on FPGA (field programmable gata array) Pending CN103813107A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410078394.2A CN103813107A (en) 2014-03-05 2014-03-05 Multichannel high-definition video overlapping method based on FPGA (field programmable gata array)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410078394.2A CN103813107A (en) 2014-03-05 2014-03-05 Multichannel high-definition video overlapping method based on FPGA (field programmable gata array)

Publications (1)

Publication Number Publication Date
CN103813107A true CN103813107A (en) 2014-05-21

Family

ID=50709261

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410078394.2A Pending CN103813107A (en) 2014-03-05 2014-03-05 Multichannel high-definition video overlapping method based on FPGA (field programmable gata array)

Country Status (1)

Country Link
CN (1) CN103813107A (en)

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104482885A (en) * 2014-12-04 2015-04-01 哈尔滨工业大学 Four-reading-head incremental circular grating coupler
CN104601910A (en) * 2015-01-26 2015-05-06 广州海昇计算机科技有限公司 Four-way full-high-definition video processing circuit based on field programmable gate array (FPGA)
CN104602029A (en) * 2014-08-27 2015-05-06 腾讯科技(北京)有限公司 Online video file generating method and device
CN104660918A (en) * 2015-03-11 2015-05-27 南京航空航天大学 Airborne system for mixing and displaying videos in real time
CN104836965A (en) * 2015-06-16 2015-08-12 深圳市邦彦信息技术有限公司 FPGA-based video synchronous switching system and method
CN104900204A (en) * 2015-06-12 2015-09-09 武汉精测电子技术股份有限公司 Logic frame overlapping device and method based on FPGA
CN105282597A (en) * 2015-10-17 2016-01-27 浙江宇视科技有限公司 Video stream scaling device and method
CN105430296A (en) * 2015-11-26 2016-03-23 深圳市捷视飞通科技股份有限公司 Solving method for multi-picture division cracked screen display of high-definition video
CN105554416A (en) * 2015-12-24 2016-05-04 深圳市捷视飞通科技股份有限公司 FPGA (Field Programmable Gate Array)-based high-definition video fade-in and fade-out processing system and method
CN106941617A (en) * 2017-04-26 2017-07-11 西安诺瓦电子科技有限公司 Video process apparatus and multi-window picture display methods
CN107019487A (en) * 2016-02-02 2017-08-08 深圳市巨烽显示科技有限公司 Medical imaging display methods and device
CN107360388A (en) * 2017-09-05 2017-11-17 成都德芯数字科技股份有限公司 Video format processing method and processing device
CN108055478A (en) * 2017-12-18 2018-05-18 天津津航计算技术研究所 A kind of multi-channel video superposed transmission method based on FC-AV agreements
CN108156396A (en) * 2016-12-06 2018-06-12 矽创电子股份有限公司 Display system and its video signal data display methods
CN109151341A (en) * 2018-09-27 2019-01-04 中国船舶重工集团公司第七0九研究所 A kind of embedded platform multi-source HD video fusion realization system and method
CN109361894A (en) * 2018-12-05 2019-02-19 福建星网智慧科技股份有限公司 A kind of video interface expanding unit and method based on FPGA realization
CN111669517A (en) * 2020-06-19 2020-09-15 艾索信息股份有限公司 Video overlapping method
CN112019926A (en) * 2019-05-28 2020-12-01 西安诺瓦星云科技股份有限公司 Video processing device, method and system
CN113014838A (en) * 2021-03-03 2021-06-22 北京工业大学 Multi-format high-speed digital video fusion system based on FPGA
CN113099184A (en) * 2021-04-08 2021-07-09 天津天地伟业智能安全防范科技有限公司 Image splicing method and device compatible with multiple video formats and electronic equipment
CN113852768A (en) * 2021-09-24 2021-12-28 中音讯谷科技有限公司 Audio and video image intelligent control system based on FPGA technology
CN114071216A (en) * 2020-07-30 2022-02-18 北京嗨动视觉科技有限公司 Video processing apparatus and video processing method

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
张多利: "一种通用的视频/图像混合器设计研究", 《电子测量与仪器学报》 *
朱艳亮: "实时视频缩放算法研究及FPGA实现", 《中国优秀硕士学位论文电子期刊网》 *
李翠娟: "基于FPGA的视频转换模块设计与实现", 《航空计算技术》 *

Cited By (31)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104602029A (en) * 2014-08-27 2015-05-06 腾讯科技(北京)有限公司 Online video file generating method and device
CN104482885B (en) * 2014-12-04 2017-01-25 哈尔滨工业大学 Four-reading-head incremental circular grating coupler
CN104482885A (en) * 2014-12-04 2015-04-01 哈尔滨工业大学 Four-reading-head incremental circular grating coupler
CN104601910A (en) * 2015-01-26 2015-05-06 广州海昇计算机科技有限公司 Four-way full-high-definition video processing circuit based on field programmable gate array (FPGA)
CN104601910B (en) * 2015-01-26 2018-07-24 广州海昇计算机科技有限公司 A kind of full HD video processing circuits in four tunnels based on FPGA
CN104660918A (en) * 2015-03-11 2015-05-27 南京航空航天大学 Airborne system for mixing and displaying videos in real time
CN104660918B (en) * 2015-03-11 2018-09-21 南京航空航天大学 A kind of real-time mixed display system of Airborne Video System
CN104900204A (en) * 2015-06-12 2015-09-09 武汉精测电子技术股份有限公司 Logic frame overlapping device and method based on FPGA
CN104900204B (en) * 2015-06-12 2017-05-17 武汉精测电子技术股份有限公司 Logic frame overlapping device and method based on FPGA
WO2016201892A1 (en) * 2015-06-16 2016-12-22 邦彦技术股份有限公司 Fpga-based synchronous video switching system and method
CN104836965B (en) * 2015-06-16 2018-02-23 邦彦技术股份有限公司 FPGA-based video synchronous switching system and method
CN104836965A (en) * 2015-06-16 2015-08-12 深圳市邦彦信息技术有限公司 FPGA-based video synchronous switching system and method
CN105282597A (en) * 2015-10-17 2016-01-27 浙江宇视科技有限公司 Video stream scaling device and method
CN105282597B (en) * 2015-10-17 2018-12-07 浙江宇视科技有限公司 A kind of video flowing device for zooming and method
CN105430296A (en) * 2015-11-26 2016-03-23 深圳市捷视飞通科技股份有限公司 Solving method for multi-picture division cracked screen display of high-definition video
CN105554416A (en) * 2015-12-24 2016-05-04 深圳市捷视飞通科技股份有限公司 FPGA (Field Programmable Gate Array)-based high-definition video fade-in and fade-out processing system and method
CN107019487A (en) * 2016-02-02 2017-08-08 深圳市巨烽显示科技有限公司 Medical imaging display methods and device
CN108156396A (en) * 2016-12-06 2018-06-12 矽创电子股份有限公司 Display system and its video signal data display methods
CN106941617A (en) * 2017-04-26 2017-07-11 西安诺瓦电子科技有限公司 Video process apparatus and multi-window picture display methods
CN106941617B (en) * 2017-04-26 2020-04-21 西安诺瓦星云科技股份有限公司 Video processing apparatus and multi-window screen display method
CN107360388A (en) * 2017-09-05 2017-11-17 成都德芯数字科技股份有限公司 Video format processing method and processing device
CN108055478A (en) * 2017-12-18 2018-05-18 天津津航计算技术研究所 A kind of multi-channel video superposed transmission method based on FC-AV agreements
CN109151341A (en) * 2018-09-27 2019-01-04 中国船舶重工集团公司第七0九研究所 A kind of embedded platform multi-source HD video fusion realization system and method
CN109361894A (en) * 2018-12-05 2019-02-19 福建星网智慧科技股份有限公司 A kind of video interface expanding unit and method based on FPGA realization
CN112019926A (en) * 2019-05-28 2020-12-01 西安诺瓦星云科技股份有限公司 Video processing device, method and system
CN111669517A (en) * 2020-06-19 2020-09-15 艾索信息股份有限公司 Video overlapping method
CN114071216A (en) * 2020-07-30 2022-02-18 北京嗨动视觉科技有限公司 Video processing apparatus and video processing method
CN113014838A (en) * 2021-03-03 2021-06-22 北京工业大学 Multi-format high-speed digital video fusion system based on FPGA
CN113014838B (en) * 2021-03-03 2023-03-21 北京工业大学 Multi-format high-speed digital video fusion system based on FPGA
CN113099184A (en) * 2021-04-08 2021-07-09 天津天地伟业智能安全防范科技有限公司 Image splicing method and device compatible with multiple video formats and electronic equipment
CN113852768A (en) * 2021-09-24 2021-12-28 中音讯谷科技有限公司 Audio and video image intelligent control system based on FPGA technology

Similar Documents

Publication Publication Date Title
CN103813107A (en) Multichannel high-definition video overlapping method based on FPGA (field programmable gata array)
KR101490067B1 (en) Parallel image processing using multiple processors
CN106941617B (en) Video processing apparatus and multi-window screen display method
CN103618869B (en) Many picture video joining methods and device
CN101000755A (en) Multi-screen display splicing controller
CN103929599A (en) Digital video image real-time zooming method based on FPGA
CN102572398B (en) Multi-channel video processing device, system and method
CN211184115U (en) Vehicle-mounted display control terminal with multi-channel video display function
CN103021376B (en) A kind of multi signal image window display control method and system
US20190172424A1 (en) Display control device, display control method, and display apparatus
CN203734741U (en) Two-channel LVDS video rotating and overlapping system
CN204350147U (en) Mixed video control device and display device
CN103384335B (en) A kind of video format conversion method, system and device
CN113612938A (en) Multi-type adaptive resolution image conversion method and device
CN201657134U (en) High-definition video seamless switching device
CN102737572A (en) Image processing method and image processing device
CN205005201U (en) Audio frequency and video playback devices
CN104601910A (en) Four-way full-high-definition video processing circuit based on field programmable gate array (FPGA)
CN205810348U (en) A kind of mosaic screen control system
JP2013539611A (en) Obtaining a stereo image of a single pipeline
CN110418079B (en) Image signal conversion device
TWI808971B (en) Video signal conversion device
CN106791491A (en) A kind of devices and methods therefor of video matrix switching
CN205212951U (en) 4K display screen devices that show more
CN204408493U (en) A kind of four full HD video processing circuitss in tunnel based on FPGA

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20140521

RJ01 Rejection of invention patent application after publication