CN104717443B - Automatic switching method from many video formats to SMPTE274 agreement 1080i resolution videos - Google Patents

Automatic switching method from many video formats to SMPTE274 agreement 1080i resolution videos Download PDF

Info

Publication number
CN104717443B
CN104717443B CN201310680996.0A CN201310680996A CN104717443B CN 104717443 B CN104717443 B CN 104717443B CN 201310680996 A CN201310680996 A CN 201310680996A CN 104717443 B CN104717443 B CN 104717443B
Authority
CN
China
Prior art keywords
agreement
video
signal
smpte274
resolution
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
Application number
CN201310680996.0A
Other languages
Chinese (zh)
Other versions
CN104717443A (en
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.)
AVIC No 631 Research Institute
Original Assignee
AVIC No 631 Research Institute
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 AVIC No 631 Research Institute filed Critical AVIC No 631 Research Institute
Priority to CN201310680996.0A priority Critical patent/CN104717443B/en
Publication of CN104717443A publication Critical patent/CN104717443A/en
Application granted granted Critical
Publication of CN104717443B publication Critical patent/CN104717443B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Television Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The present invention relates to many video formats to the automatic switching method of SMPTE274 agreement 1080i resolution videos, comprise the following steps:1】Create automated conversion system;2】The vision signal of input is respectively fed in protocol detection module;3】High level enables the valid pixel that signal CEn drives agreement N collecting units corresponding with agreement N detection units to gather incoming video signal;4】High level enables signal CEn as the control signal amount of multidiameter option switch controller;5】Scaling processing module is scaled 1920*1080 resolution sizes, while being written into output memory cell;6】The control pixel stream that control module produces video blanking area according to SMPTE274 standard 1080i resolution videos agreement is sent, so as to realize the conversion of SMPTE274 standard 1080i resolution video agreements.The present invention solves the video of any protocol type to SMPTE274 integrated sex chromosome mosaicism, and the video of any protocol type and resolution ratio can be automatically converted to SMPTE274 standard 1080i resolution video protocol videos by the present invention, and video format conversion is time-consuming small.

Description

Automatic conversion from many video formats to SMPTE274 agreement 1080i resolution videos Method
Technical field
The invention belongs to Video processing, graph image field, and in particular to a kind of many video formats are to SMPTE274 agreements The automatic switching method of 1080i resolution videos.
Background technology
HDMI (HDMI, High Defination Multimedia Interface) is a kind of number Word video/audio interfacing, the ability of its powerful support 1080i resolution images transmission, makes it often as photoelectricity The general output interface of integral system HD video.But for existing vision sensor, its video protocols exported and Resolution ratio is different, therefore the video of various agreements for sometimes generally requiring to export vision sensor enters row format and changes and contract Put the resolution ratio for 1080i;Although having occurred in that various video formats to meeting SMPTE274 agreement 1080i resolution ratio at present The chip of Video Quality Metric, but this kind of chip is often only supported to a kind of or a class input video encoding and decoding.
With electronic technology, the development of large scale integrated circuit, realized using field programmable gate array (FPGA) Complicated control and processing function has very big advantage in terms of integration, stability and reliability, and research is based on What the automatic conversion control method of FPGA various video form to the 1080i resolution videos for meeting SMPTE274 standards had Wide application prospect.
The content of the invention
The present invention is to be changed to solve the video of any protocol type to SMPTE274 agreement 1080i resolution videos Integrated sex chromosome mosaicism, it is proposed that automatic switching method from a kind of many video formats to SMPTE274 agreement 1080i resolution videos.
The technical solution of the present invention:
Many video formats are to the automatic switching method of SMPTE274 agreement 1080i resolution videos, and it is characterized in that, Comprise the following steps:
1】Create automated conversion system:
Including protocol detection module:Height is produced for carrying out agreement matching to incoming video signal, and according to matching result Level enables signal CEn or low level enables signal, including the detection unit of agreement 1, the detection unit ... of agreement 2 and agreement N Detection unit;
Video acquisition module:The valid pixel of incoming video signal to matching by protocol detection module is adopted Collection, including the collecting unit of agreement 1, the collecting unit ... of agreement 2 and agreement N collecting units;The collecting unit of various agreements with Detection unit is corresponded, and the high level enables signal CEn and inputted to corresponding agreement N collecting units and multidiameter option switch Controller;
Multidiameter option switch controller:For under the control that high level enables signal CEn, the video that agreement is matched to be adopted The effective pixel data that collection module is collected buffers into collection memory cell;
Gather memory cell:Effective pixel data for caching incoming video signal;
Scale processing module:Effective pixel data is read from collection memory cell and use bilinearity for real time sequence Interpolation algorithm scales it the resolution sizes for 1920*1080, while sending it to output memory cell;
Export memory cell:For storing the effective pixel data after scaling processing module processing;
And send control module:For producing video blanking according to SMPTE274 standard 1080i resolution videos agreement The control pixel stream in area, and the pixel data after scaling is sequentially read from output memory cell, it is filled into video data stream Effective pixel region, so as to realize the conversion of SMPTE274 standard 1080i resolution video agreements;
2】The vision signal of input is respectively fed into protocol detection module to be detected in each protocol detection unit, If the vision signal of input is matched with the agreement of agreement N detection units, agreement N detection units produce the enable of high level Signal CEn, while remaining protocol detection unit, which produces low level, enables signal;
3】High level enables signal CEn and drives agreement N collecting units collection input video corresponding with agreement N detection units The valid pixel of signal;Low level enables signal and makes to be in reset state with the agreement collecting unit corresponding to it simultaneously;
4】High level enables signal CE as the control signal amount of multidiameter option switch controller so that only agreement matching The valid pixel of vision signal of agreement N collecting units collection to pass through multidiameter option switch controller cache single to storage is gathered Member;
5】Scale processing module and read the effective pixel data of whole frame from collection memory cell order, and use bilinearity Interpolation algorithm scales it the resolution sizes for 1920*1080, while being written into output memory cell;
6】Send the control that control module produces video blanking area according to SMPTE274 standard 1080i resolution videos agreement Pixel stream, and the pixel data after scaling is sequentially read from output memory cell, it is filled into the valid pixel of video data stream Area, so as to realize the conversion of SMPTE274 standard 1080i resolution video agreements.
Protocol detection module and video acquisition module work in the way of parallel pipelining process, each same stepping of protocol detection unit Row matching, and produce matching result simultaneously in frame of video end of input.
Above-mentioned collection memory cell includes buffering area A and buffering area B, and specific storing step is:
During current video frame data Cun Chudao buffering area A, the previous frame video data that storage is read from buffering area B is sent Give scaling processing module;
When the storage of next frame video data is to buffering B, the data that current video frame is read from buffering area A are sent to scaling Processing module.
Above-mentioned protocol detection module is analyzed and calculates the following protocol status parameter of input video stream in real time:Adjacent field synchronization The line synchronising signal Hsync pulse numbers included between signal Vsync pulses;Field sync signal Vsync pulse width ranges The line synchronising signal Hsync pulse numbers inside included;The pixel clock CLK included between adjacent line synchronising signal Hsync pulses Number of cycles;The pixel clock clk cycle number included in line synchronising signal Hsync pulse width ranges;In valid pixel row The pixel clock clk cycle number included in data valid signal De pulse widths;From field sync signal Vsync impulse hits To the line synchronising signal Hsync pulse numbers included between first valid pixel row;From the synchronous letter of row in valid pixel row Feel the pulse to rush Hsync saltus steps and play the pixel clock clk cycle that is included between data valid signal De and count.
The VESA protocol videos detection unit of above-mentioned protocol detection module including various resolution ratio, various resolution ratio RawRGB format videos detection unit, meet the video detecting unit of SMPTE274 agreements, meet ITU601, ITU656 and The detection unit of ITU709 protocol videos;The VESA protocol videos collection that the video acquisition module includes various resolution ratio is single The RawRGB format videos collecting unit of first, various resolution ratio, meet the video acquisition unit of SMPTE274 agreements, meet The video acquisition unit of ITU601, ITU656 and ITU709 agreement;And detectable protocol type can be according to concrete application need Ask autonomous customization and cut;
Above-mentioned steps 2】Concretely comprise the following steps:
2.1】Real-time synchronization calculates each state parameter of incoming video signal;
2.2】Each state parameter calculated is contrasted with the state parameter of each agreement of corresponding protocol detection module: If state parameter is consistent, inputting video data belongs to this kind of agreement;Otherwise, then it is not belonging to this kind of agreement.
The beneficial effects of the invention are as follows:
The video of any protocol type and resolution ratio can be automatically converted to and meet SMPTE274 standard 1080i resolution ratio and regard Frequency protocol video, and video format conversion is time-consuming small;Can dynamic detection video protocols change, when input source video protocols occur After change, the detection to its protocol type can be completed in the time interval that a two field picture is inputted;Detectable protocol type can With according to independently customization and the cutting of concrete application demand.
Brief description of the drawings
Fig. 1 is automatic switching method schematic diagram of the various video agreement to SMPTE274 agreement 1080i resolution videos.
Embodiment
The present invention realizes various video form to the automatic conversion of SMPTE274 agreement 1080i resolution videos using FPGA Method, by setting up many general video protocol data storehouse, the data flow to incoming video signal is analyzed, and is commonly used with various The affiliated protocol type of video protocol data stream multilevel iudge, while detection image resolution ratio and frame per second;Designed image frame double buffering Area A and B, buffering area A is stored in by the way of ping-pong operation by the valid pixel of video stream data frame, while according to point of image Resolution is scaled 1920*1080 resolution sizes to the complete data frame cached in buffering area B using bilinear interpolation algorithm And it is stored in output memory cell;Control pixel stream is produced according to SMPTE274 standard 1080i resolution videos agreement, is deposited from output The view data after scaling is read in storage unit and is filled into the effective pixel region of its pixel stream, so as to realize SMPTE274 standards The conversion of 1080i resolution video agreements.Realize that details is specific as follows:
1】Design is for various conventional video protocols (including the VESA agreements of various resolution ratio, various resolution ratio RawRGB forms, ITU601, ITU656, ITU709 and SMPTE274 agreement) detection module, detection module pass through analyze one Whether the time interval of full frame images expert's field sync signal and the changing rule of blanking zone video data, judge input video Belong to this kind of agreement;
Detection module sets the state parameter of following video protocols, is respectively:Adjacent field sync signal (Vsync) pulse it Between line synchronising signal (Hsync) pulse number for being included, the Hsync pulse numbers included in Vsync pulse width ranges, phase The clk cycle meter included in pixel clock (CLK) cycle count included between adjacent Hsync pulses, Hsync pulse width ranges The clk cycle pulse number included in number, valid pixel row in data valid signal (De) pulse width, from Vsync signal arteries and veins Rush saltus step play in the Hsync pulse numbers that (field blanking area) between first valid pixel row is included, valid pixel row from Hsync signal pulse saltus steps play De signals it is effective between (horizontal blanking area) clk cycle for being included count;
2】The data of input video and control signal wire (CLK, Hsync, Vsync and De) are respectively fed to each video protocols Detection module, detection module analyzes the data flow of input picture frame, detects and calculates above-mentioned state parameter, if the parameter detected It is consistent with the state parameter of agreement to be detected, then it is assumed that input video belongs to this kind of agreement, otherwise, then it is not belonging to this kind of agreement; If certain agreement matches input video, the detection module of this kind of agreement produces the enable signal CEn of high level, drives its correspondence Acquisition module;Other protocol detection modules are output as low level signal simultaneously, and make corresponding video acquisition at its rear end Module is in reset state.
3】A multidiameter option switch controller is designed, the CEn using the output of each video protocols detection module is control signal Amount, the video data stream of each video protocols acquisition module collection is input, and gating CEn is the corresponding collection video data of high level The follow-up caching of stream progress and scaling processing operation;
4】Double buffering A and B are designed, the valid pixel of the adjacent two field pictures continuously arrived is cached, to buffering area A and B Ping-pong operation is carried out, when current frame image is filled into buffering area A, bilinear interpolation is used to the previous frame image cached in B Algorithm is scaled 1920*1080 and differentiates size, and is filled into transmission output memory cell;, will be next in subsequent time period Two field picture buffers into buffering area B and bilinear interpolation processing is carried out to the picture frame in buffering area A and transmission output storage is stored in Unit;
5】According to the control pixel stream in SMPTE274 standard 1080i resolution videos agreement generation video blanking area, and from Export and the pixel data after scaling is sequentially read in memory cell, the effective pixel region of video data stream is filled into, so as to realize To the conversion of SMPTE274 standard 1080i resolution video agreements.
The automatic conversion control method of the present invention successful implementation in certain type ground Detecting Robot project, can The video automatic detection of the various protocols gathered to infrared, laser and visible light sensor is realized, video scaling processing is completed simultaneously The 1080i resolution videos for meeting SMPTE274 standards are uniformly converted to, the processing speed of Video Quality Metric is fast, and output is clear steady It is fixed.

Claims (6)

1. more than automatic switching method from video format to SMPTE274 agreement 1080i resolution videos, it is characterised in that including with Lower step:
1】Create automated conversion system:
Including protocol detection module:High level is produced for carrying out agreement matching to incoming video signal, and according to matching result Enable signal CEn or low level enables signal, including the detection unit of agreement 1, the detection unit ... of agreement 2 and agreement N detections Unit;
Video acquisition module:The valid pixel of incoming video signal to matching by protocol detection module is acquired, and is wrapped Include the collecting unit of agreement 1, the collecting unit ... of agreement 2 and agreement N collecting units;The collecting unit of various agreements is single with detection Member is corresponded, and the high level enables signal CEn and inputted to corresponding agreement N collecting units and multidiameter option switch control Device;
Multidiameter option switch controller:For under the control that high level enables signal CEn, the video acquisition mould that agreement is matched The effective pixel data that block is collected buffers into collection memory cell;
Gather memory cell:Effective pixel data for caching incoming video signal;
Scale processing module:Effective pixel data is read from collection memory cell and use bilinear interpolation for real time sequence Algorithm scales it the resolution sizes for 1920*1080, while sending it to output memory cell;
Export memory cell:For storing the effective pixel data after scaling processing module processing;
And send control module:For producing video blanking area according to SMPTE274 standard 1080i resolution videos agreement Pixel stream is controlled, and the pixel data after scaling is sequentially read from output memory cell, the effective of video data stream is filled into Pixel region, so as to realize the conversion of SMPTE274 standard 1080i resolution video agreements;
2】The vision signal of input is respectively fed into protocol detection module to be detected in each protocol detection unit, if defeated The vision signal entered is matched with the agreement of agreement N detection units, then agreement N detection units produce the enable signal of high level CEn, while remaining protocol detection unit, which produces low level, enables signal;
3】High level enables signal CEn and drives agreement N collecting units collection incoming video signal corresponding with agreement N detection units Valid pixel;Low level enables signal and makes to be in reset state with the agreement collecting unit corresponding to it simultaneously;
4】High level enables signal CEn as the control signal amount of multidiameter option switch controller so that only agreement is matched The valid pixel of the vision signal of agreement N collecting units collection is single to storage is gathered by multidiameter option switch controller cache Member;
5】Scale processing module and read the effective pixel data of whole frame from collection memory cell order, and use bilinear interpolation Algorithm scales it the resolution sizes for 1920*1080, while being written into output memory cell;
6】Send the control pixel that control module produces video blanking area according to SMPTE274 standard 1080i resolution videos agreement Stream, and the pixel data after scaling is sequentially read from output memory cell, the effective pixel region of video data stream is filled into, from And the conversion realized to SMPTE274 standard 1080i resolution video agreements.
2. many video formats according to claim 1 are to the automatic conversion side of SMPTE274 agreement 1080i resolution videos Method, it is characterised in that:Protocol detection module and video acquisition module work in the way of parallel pipelining process, each protocol detection unit It is synchronous to be matched, and produce matching result simultaneously in frame of video end of input.
3. many video formats according to claim 1 or 2 are to the automatic conversion of SMPTE274 agreement 1080i resolution videos Method, it is characterised in that the collection memory cell includes buffering area A and buffering area B, specific storing step is:
During current video frame data Cun Chudao buffering area A, the previous frame video data that storage is read from buffering area B is sent to contracting Put processing module;
When the storage of next frame video data is to buffering B, the data that current video frame is read from buffering area A are sent to scaling processing Module.
4. many video formats according to claim 3 are to the automatic conversion side of SMPTE274 agreement 1080i resolution videos Method, it is characterised in that
The protocol detection module is analyzed and calculates the following protocol status parameter of input video stream in real time:Adjacent field sync signal The line synchronising signal Hsync pulse numbers included between Vsync pulses;Wrapped in field sync signal Vsync pulse width ranges The line synchronising signal Hsync pulse numbers contained;The pixel clock clk cycle included between adjacent line synchronising signal Hsync pulses Number;The pixel clock clk cycle number included in line synchronising signal Hsync pulse width ranges;Data in valid pixel row The pixel clock clk cycle number included in useful signal De pulse widths;Is played from field sync signal Vsync impulse hits The line synchronising signal Hsync pulse numbers included between one valid pixel row;From line synchronising signal arteries and veins in valid pixel row Rush Hsync saltus steps and play the pixel clock clk cycle counting included between data valid signal De.
5. many video formats according to claim 4 are to the automatic conversion side of SMPTE274 agreement 1080i resolution videos Method, it is characterised in that:
The protocol detection module includes the VESA protocol videos detection unit of various resolution ratio, the RawRGB lattice of various resolution ratio Formula video detecting unit, the video detecting unit for meeting SMPTE274 agreements, meet ITU601, ITU656 and ITU709 agreement and regard The detection unit of frequency;The video acquisition module includes the VESA protocol videos collecting unit of various resolution ratio, various resolution ratio RawRGB format videos collecting unit, meet the video acquisition unit of SMPTE274 agreements, meet ITU601, ITU656 and The video acquisition unit of ITU709 agreements;And detectable protocol type independently can be customized and cut out according to concrete application demand Cut.
6. many video formats according to claim 5 are to the automatic conversion side of SMPTE274 agreement 1080i resolution videos Method, it is characterised in that
The step 2】Concretely comprise the following steps:
2.1】Real-time synchronization calculates each state parameter of incoming video signal;
2.2】Each state parameter calculated is contrasted with the state parameter of each agreement of corresponding protocol detection module:If State parameter is consistent, then inputting video data belongs to this kind of agreement;Otherwise, then it is not belonging to this kind of agreement.
CN201310680996.0A 2013-12-12 2013-12-12 Automatic switching method from many video formats to SMPTE274 agreement 1080i resolution videos Active CN104717443B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310680996.0A CN104717443B (en) 2013-12-12 2013-12-12 Automatic switching method from many video formats to SMPTE274 agreement 1080i resolution videos

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310680996.0A CN104717443B (en) 2013-12-12 2013-12-12 Automatic switching method from many video formats to SMPTE274 agreement 1080i resolution videos

Publications (2)

Publication Number Publication Date
CN104717443A CN104717443A (en) 2015-06-17
CN104717443B true CN104717443B (en) 2017-08-25

Family

ID=53416342

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310680996.0A Active CN104717443B (en) 2013-12-12 2013-12-12 Automatic switching method from many video formats to SMPTE274 agreement 1080i resolution videos

Country Status (1)

Country Link
CN (1) CN104717443B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107454072B (en) * 2017-07-28 2020-04-17 中国人民解放军信息工程大学 Comparison method and device for multi-channel data content

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1246233A (en) * 1996-12-18 2000-03-01 汤姆森消费电子有限公司 A multiple format video signal processor
JP2002320205A (en) * 2001-04-19 2002-10-31 Nippon Television Network Corp Multi-format system for video signal and program thereof
CN101006719A (en) * 2004-06-18 2007-07-25 皇家飞利浦电子股份有限公司 Video format detector and integrated circuit comprising such video format detector as well as method for distinguishing different standards and/or types of video formats
CN102740086A (en) * 2012-06-26 2012-10-17 上海屹芯微电子有限公司 Automatic identification method and device of composite video broadcast signal system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1246233A (en) * 1996-12-18 2000-03-01 汤姆森消费电子有限公司 A multiple format video signal processor
JP2002320205A (en) * 2001-04-19 2002-10-31 Nippon Television Network Corp Multi-format system for video signal and program thereof
CN101006719A (en) * 2004-06-18 2007-07-25 皇家飞利浦电子股份有限公司 Video format detector and integrated circuit comprising such video format detector as well as method for distinguishing different standards and/or types of video formats
CN102740086A (en) * 2012-06-26 2012-10-17 上海屹芯微电子有限公司 Automatic identification method and device of composite video broadcast signal system

Also Published As

Publication number Publication date
CN104717443A (en) 2015-06-17

Similar Documents

Publication Publication Date Title
CN104717442B (en) Automatic switching method of more video formats to VESA agreement 1600X1200 resolution ratio 60Hz frame-rate videos
CN104717444B (en) Automatic switching method of more video formats to VESA agreement 1920X1440 resolution ratio 75Hz frame-rate videos
CN107249101B (en) High-resolution image acquisition and processing device
CN103595924B (en) A kind of image fusion system based on Cameralink and method thereof
KR20150079701A (en) Method and device for processing video image
CN103248797A (en) Video resolution enhancing method and module based on FPGA (field programmable gate array)
CN102427543B (en) Platform for processing frame synchronization 3D real-time video information and processing method thereof
CN109714621A (en) A kind of multichannel dynamic video analogy method and its processing system that timing is configurable
CN102857703A (en) High-definition video character superimposing system and control method
CN104717446B (en) Automatic switching method from many video formats to ITU656 agreement pal modes
CN104168487A (en) Video signal frame synchronization method and device
CN107277295A (en) Audio video synchronization processing unit and method
CN102118289B (en) Real-time image segmentation processing system and high-speed intelligent unified bus interface method based on Institute of Electrical and Electronic Engineers (IEEE) 1394 interface
CN105430297B (en) The automatic control system that more video formats are changed to IIDC protocol videos form
CN104469265A (en) Glass defect image acquiring and processing system
CN104717445B (en) Automatic switching method of more video formats to BT.656 agreement TSC-system formula videos
CN104717443B (en) Automatic switching method from many video formats to SMPTE274 agreement 1080i resolution videos
CN106713858A (en) Video image display method, apparatus and system based on CameraLink protocol
CN102625086B (en) DDR2 (Double Data Rate 2) storage method and system for high-definition digital matrix
CN103702073A (en) Integrated camera circuit for synchronization imaging of multi-split imaging sensors
CN109587421A (en) A kind of HD-SDI/3G-SDI transmitting-receiving and real-time picture-in-picture switch output processing method
CN102054414A (en) Program controlled liquid crystal module test image generating system and control method thereof
CN105072387A (en) Video recording method for video door bell and video door bell
CN114866733A (en) Low-delay video processing method, system and device
CN205142402U (en) Industry image acquisition system based on USB3. 0 interface

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant