Nothing in the project sets HAVE_MMX. The commented out code for setting pSearchMethodFunc can be readded once it's actually implemented properly.
Showing the changes to codec/encoder/core/src/encoder_ext.cpp (1 of 2 files). Show all
Unified · Split
| @@ -2443,14 +2443,8 @@ bool SetMeMethod (const uint8_t uiMethod, PSearchMethodFunc& pSearchMethodFunc) · 2442 unmodified lines | |||
| 2443 | pSearchMethodFunc = WelsDiamondCrossFeatureSearch; | 2443 | pSearchMethodFunc = WelsDiamondCrossFeatureSearch; |
| 2444 | break; | 2444 | break; |
| 2445 | case ME_FULL: | 2445 | case ME_FULL: |
| 2446 | #ifdef HAVE_MMX | ||
| 2447 | // make sure your cpu can support x86 sse4.1 instruction set if try it | ||
| 2448 | //pSearchMethodFunc = WelsFullSearch; | ||
| 2449 | #else | ||
| 2450 | pSearchMethodFunc = WelsDiamondSearch; | 2446 | pSearchMethodFunc = WelsDiamondSearch; |
| 2451 | return false; | 2447 | return false; |
| 2452 | #endif//HAVE_MMX | ||
| 2453 | break; | ||
| 2454 | default: | 2448 | default: |
| 2455 | pSearchMethodFunc = WelsDiamondSearch; | 2449 | pSearchMethodFunc = WelsDiamondSearch; |
| 2456 | return false; | 2450 | return false; |