Remove two unused ifdefs
Showing the changes to codec/encoder/core/src/encoder_ext.cpp (1 of 2 files). Show all
Unified · Split
| @@ -2451,14 +2451,8 @@ bool SetMeMethod (const uint8_t uiMethod, PSearchMethodFunc& pSearchMethodFunc) · 2450 unmodified lines | |||
| 2451 | pSearchMethodFunc = WelsDiamondCrossFeatureSearch; | 2451 | pSearchMethodFunc = WelsDiamondCrossFeatureSearch; |
| 2452 | break; | 2452 | break; |
| 2453 | case ME_FULL: | 2453 | case ME_FULL: |
| 2454 | #ifdef HAVE_MMX | ||
| 2455 | // make sure your cpu can support x86 sse4.1 instruction set if try it | ||
| 2456 | //pSearchMethodFunc = WelsFullSearch; | ||
| 2457 | #else | ||
| 2458 | pSearchMethodFunc = WelsDiamondSearch; | 2454 | pSearchMethodFunc = WelsDiamondSearch; |
| 2459 | return false; | 2455 | return false; |
| 2460 | #endif//HAVE_MMX | ||
| 2461 | break; | ||
| 2462 | default: | 2456 | default: |
| 2463 | pSearchMethodFunc = WelsDiamondSearch; | 2457 | pSearchMethodFunc = WelsDiamondSearch; |
| 2464 | return false; | 2458 | return false; |