SmartAudio/package/allwinner/liballwinner_tina/liballwinner/LIBRARY/PLAYER/deinterlace.cpp

20 lines
448 B
C++
Raw Normal View History

2018-07-13 01:31:50 +00:00
#include <deinterlace.h>
#include <deinterlaceHw.h>
#if (CONFIG_DEINTERLACE == OPTION_SW_DEINTERLACE)
#include <sw-deinterlace/deinterlaceSw.h>
#endif
Deinterlace *DeinterlaceCreate()
{
Deinterlace *di = NULL;
#if (CONFIG_DEINTERLACE == OPTION_HW_DEINTERLACE)
di = new DeinterlaceHw();
#elif (CONFIG_DEINTERLACE == OPTION_SW_DEINTERLACE)
/* PD should add sw interlace here... */
di = new DeinterlaceSw();
#endif
return di;
}