Merge pull request #857 from mstorsjo/remove-unused-ifdef
Remove two unused ifdefs
This commit is contained in:
commit
2e5700d32d
@ -2451,14 +2451,8 @@ bool SetMeMethod (const uint8_t uiMethod, PSearchMethodFunc& pSearchMethodFunc)
|
||||
pSearchMethodFunc = WelsDiamondCrossFeatureSearch;
|
||||
break;
|
||||
case ME_FULL:
|
||||
#ifdef HAVE_MMX
|
||||
// make sure your cpu can support x86 sse4.1 instruction set if try it
|
||||
//pSearchMethodFunc = WelsFullSearch;
|
||||
#else
|
||||
pSearchMethodFunc = WelsDiamondSearch;
|
||||
return false;
|
||||
#endif//HAVE_MMX
|
||||
break;
|
||||
default:
|
||||
pSearchMethodFunc = WelsDiamondSearch;
|
||||
return false;
|
||||
|
@ -46,11 +46,6 @@
|
||||
|
||||
WELSVP_NAMESPACE_BEGIN
|
||||
|
||||
#ifdef HAVE_MMX
|
||||
WELSVP_EXTERN_C_BEGIN
|
||||
WELSVP_EXTERN_C_END
|
||||
#endif
|
||||
|
||||
class CScrollDetection : public IStrategy {
|
||||
public:
|
||||
CScrollDetection (int32_t iCpuFlag) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user