This commit is contained in:
Vadim Pisarevsky 2012-10-18 14:41:26 +04:00
parent 634fedc3cb
commit c40718ab61

View File

@ -221,6 +221,18 @@ static const void* initInterTab2D( int method, bool fixpt )
}
static bool initAllInterTab2D()
{
return initInterTab2D( INTER_LINEAR, false ) &&
initInterTab2D( INTER_LINEAR, true ) &&
initInterTab2D( INTER_CUBIC, false ) &&
initInterTab2D( INTER_CUBIC, true ) &&
initInterTab2D( INTER_LANCZOS4, false ) &&
initInterTab2D( INTER_LANCZOS4, true );
}
static volatile bool doInitAllInterTab2D = initAllInterTab2D();
template<typename ST, typename DT> struct Cast
{
typedef ST type1;