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
24432443 pSearchMethodFunc = WelsDiamondCrossFeatureSearch;
24442444 break;
24452445 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
24502446 pSearchMethodFunc = WelsDiamondSearch;
24512447 return false;
2452−#endif//HAVE_MMX
2453− break;
24542448 default:
24552449 pSearchMethodFunc = WelsDiamondSearch;
24562450 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