Explicit initialization with constructors
How initialization a class object that has constructors and virtual functions
class DScalerFilterGreedyH
{
public:
DScalerFilterGreedyH() {}
virtual ~DScalerFilterGreedyH() {}
#define IS_SSE
#define SSE_TYPE SSE
#define FUNCT_NAME filterDScaler_SSE
#include "greedyh.asm"
#undef SSE_TYPE
#undef IS_SSE
#undef FUNCT_NAME
#define IS_3DNOW
#define FUNCT_NAME filterDScaler_3DNOW
#define SSE_TYPE 3DNOW
#include "greedyh.asm"
#undef SSE_TYPE
#undef IS_3DNOW
#undef FUNCT_NAME
#define IS_MMX
#define SSE_TYPE MMX
#define FUNCT_NAME filterDScaler_MMX
#include "greedyh.asm"
#undef SSE_TYPE
#undef IS_MMX
#undef FUNCT_NAME
unsigned int GreedyMaxComb;
unsigned int GreedyMotionThreshold;
unsigned int GreedyMotionSense;
};
Here member variable 'DScalerFilterGreedyH::GreedyMotionSense' is not
initialized in the constructor
Best regards
No comments:
Post a Comment