Forum Discussion
Altera_Forum
Honored Contributor
14 years agohi again,
>I am not sure I understood what your source is but if you have control over the source and you are already generating control packets yourself then yes this is by far the easiest solution. If your source is the deinterlacer VIP core working with 1 color sample per pixel (1 channel in parallel and 1 channel in sequence) then you have to modify the control packet on the fly as described in: http://www.altera.com/literature/ug/ug_vip.pdf (http://www.altera.com/literature/ug/ug_vip.pdf) (Figure 4.10 to Figure 4.8). The data contained in the control packet would still be the same but it is transmitted differently. My video source(8bit Y) is provided from a camera, this source is clocked into my system, clipped, scaled and then deinterlaced using VIP cores. Your right about the deinterlacer using a single color plane. I placed a custom module between the deinterlacer and the alpha blending mixer and I tried changing the control data packet from the single color plane in sequence into matching 3 color planes in parallel. When the "startofpacket" signal is received and the "data" signal indicates an control data packet, I deassert the "valid" signal going to the alpha blending mixer, I then take three samples from the control data payload(which is received in sequence from the deinterlacer). After that I assert "valid" and send the control packet payload as three color planes in parallel to the mixer. I do this three times, to shift all the control data out to the mixer. For the last control data payload I assert "endofpacket", and after that I provide "startofpacket" for the video data and start shifting out the video data received from the deinterlacer as 3 colorplanes in parallel. What's happening now is that the output from the alpha blending mixer, which is clocked out to screen, is switching from on to off after every 1-2 second and also the sync signals seem to be going down with the video data. Also, I sometimes get some sort of sparkling noise (often green in color) spread across the output video data. This noise seem light sensitive as it moved across the camera videodata on my output screen. I would appreciate your thoughts on these matters