History

Remove two unused ifdefs

Nothing in the project sets HAVE_MMX. The commented out code for setting pSearchMethodFunc can be readded once it's actually implemented properly.

Martin Storsjö committed 12 years ago

Commit 7048fe51 parent 3e258ea2 files · +0 −11Browse files

Showing the changes to codec/encoder/core/src/encoder_ext.cpp (1 of 2 files). Show all

Unified · Split

codec/encoder/core/src/encoder_ext.cpp+0−6
@@ -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;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t