Altera_Forum
Honored Contributor
16 years agoVIP handling of Interlaced video
I am struggling with the processing of interlaced NTSC video using the VIP 9.0 cores, and hope someone here can give me some advice.
My project needs to take two NTSC interlaced inputs from ADV7180 decoders, do some processing, and then send the output to a single ADV7171 encoder. I am using an alpha mixer on the output stage of my chain of VIP components, and while I can send a test pattern such as color bars (generated with the VIP test pattern component) through the alpha mixer, none of my interlaced source video comes through. The test pattern is setup to generate interlaced 4:4:4 output, and I am sending the NTSC data to the mixer in that format too. I am starting to suspect issues with interlaced video in general with the mixer. Maybe someone can shed some light on it for me. I have another project that works fine doign the same thing, with the difference being that I deinterlace the NTSC input video, and output to a progressive display. That works. In this case I need to output interlaced video though, and as there is no VIP "Interlacer" component, it seems that I have to keep the data in interlaced form throughout my VIP flow. The current VIP chain looks something like this: For both NTSC inputs: CVI (8-bit)->CPR (16-bit)->Clipper (to 243 lines)->CRS (to 4:4:4)->Frame Buffer Each of the two frame buffers, along with a test pattern generator, connect to an Alpha Blending Mixer component. The test pattern generator is set to produce color bars, interlaced, in 4:4:4 format. The chain from the Alpha Blending Mixer to the output looks like this: Mixer->CRS (back to 4:2:2)->Frame Buffer->CPR (8-bit)->CVO The only thing I can get to come through is the background layer - the color bars. Any advice is appreciated! Jim