Design Support

De-Interlacing and YUV 4:2:2 to 4:2:0 Conversion on DM6446 Using the Resizer (Rev. B)

Video signals captured directly from charge-coupled device (CCD) cameras naturally have interlaced effects and are in a 4:2:2 interleaved format. They typically need to be converted to a 4:2:0 planar format before being encoded because most video compression standards accept input only in 4:2:0 format. It is better to reduce or remove the interlaced artifacts in the original video signal when feeding it to a progressive encoder because these artifacts degrade visual quality and increase video encoder loading.

This application report describes how to do simple de-interlacing and a YUV 4:2:2 to 4:2:0 color format conversion on the TMS320DM6446 using the resizer hardware through the use of two examples. The first one performs the de-interlacing operation on input video frames in 4:2:2 format at National Television System Committee (NTSC) standard definition resolution and generates de-interlaced output at the same format and resolution. The second one combines the de-interlacing operation with a 4:2:2 to 4:2:0 conversion to generate the 4:2:0 format output at a 4CIF resolution.

Note: The source code released with this application report assumes that Codec Engine 1.x is being deployed. Memory_getPhysicalAddress() has become an unsupported Codec Engine API for CE 2.0 and higher. If you are using CE 2.x and higher, replace it with the more powerful, and supported Memory_getBufferPhysicalAddress() API.

This application report contains project code that can be downloaded from this link http://www-s.ti.com/sc/techlit/sprc374.gz



Bookmark and Share