Altera_Forum
Honored Contributor
16 years agoVIP Deinterlacer in Motion Adaptive Mode Questions
Hi,
I have a couple of questions regarding the use of the Altera Deinterlacer in Motion Adaptive mode. How much memory bandwidth does the core require (assuming I use double buffering)? The way I see it, for each pixel that arrives, the core has to (1) store that pixel, (2) read three historic pixels, (3) write the result in one buffer and (4) read the result out again for outputting on the ST link. That is a total of 6 reads/writes per pixel. So if my input frame rate and output frame rates are identical, and my input data rate is X mbps, then I need at least 6X memory bandwidth. Is this correct? The next question is how much margin do I need to add for a system to work in practice? The way the deinterlacer core accesses memory must add some overhead, as well as the memory controller itself. I am planing on using the HP DDR2 controller, connected to a 32-bit DDR2 SDRAM and 1080i60 RGB (24-bits) as input, and I need 1080p30 out. The effective pixel rate of 1080i60 (taking into account ratio of active pixels vs. total pixels per line) is about 65MPixels/s. At 24-bit RGB, this is 1.56gbps. Assuming that I am correct in the 6x bandwidth requirement, then the memory bandwidth required is 9.36gbps. If I run my DDR2 memory at 166MHz the total memory bandwidth is (theoretically) 10.624gbps. This is about a 13% margin. Is this safe? I guess I could verify the margin with simulation (given enough time). Is that the preferred way? In the VIP user guide, the section on the deinterlacer talks about a "motion value" being calculated and stored for different regions of the image. Are these values also stored in the external memory or are they stored in the internal memory? Does the de-interlacer work equally well for YUV (4:4:4) and RGB (4:4:4)? Lastly, what is the quality of the deinterlacer? If I were to use it in a settop box type application (home entertainment), would it produce acceptable results? I know this is very subjective...so any opiniosn are welcome. (I do not currently have the hardware to evaluate it myself). Thanks! Niki