mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2025-12-06 16:56:55 +08:00
remove extra lea on gcc libyuv scale
BUG=none TEST=none Review URL: https://webrtc-codereview.appspot.com/562007 git-svn-id: http://libyuv.googlecode.com/svn/trunk@263 16f28f9a-4ce2-e073-06de-1de4eb20be90
This commit is contained in:
parent
ca4749dd4d
commit
c7bd1dbea6
@ -1,6 +1,6 @@
|
||||
Name: libyuv
|
||||
URL: http://code.google.com/p/libyuv/
|
||||
Version: 261
|
||||
Version: 263
|
||||
License: BSD
|
||||
License File: LICENSE
|
||||
|
||||
|
||||
@ -30,7 +30,7 @@ static const int kCpuHasNEON = 32;
|
||||
static const int kCpuInitialized = 64;
|
||||
|
||||
// Detect CPU has SSE2 etc.
|
||||
// test_flag parameter should be one of kCpuHas constants above
|
||||
// Test_flag parameter should be one of kCpuHas constants above.
|
||||
// returns non-zero if instruction set is detected
|
||||
static __inline int TestCpuFlag(int test_flag) {
|
||||
extern int cpu_info_;
|
||||
@ -41,8 +41,7 @@ static __inline int TestCpuFlag(int test_flag) {
|
||||
// For testing, allow CPU flags to be disabled.
|
||||
// ie MaskCpuFlags(~kCpuHasSSSE3) to disable SSSE3.
|
||||
// MaskCpuFlags(-1) to enable all cpu specific optimizations.
|
||||
// MaskCpuFlags(kCpuInitialized) to disable all cpu specific optimizations.
|
||||
// MaskCpuFlags(0) to re-initialize all cpu detection.
|
||||
// MaskCpuFlags(0) to disable all cpu specific optimizations.
|
||||
void MaskCpuFlags(int enable_flags);
|
||||
|
||||
// Low level cpuid for X86. Returns zeros on other CPUs.
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
#ifndef INCLUDE_LIBYUV_VERSION_H_
|
||||
#define INCLUDE_LIBYUV_VERSION_H_
|
||||
|
||||
#define LIBYUV_VERSION 261
|
||||
#define LIBYUV_VERSION 263
|
||||
|
||||
#endif // INCLUDE_LIBYUV_VERSION_H_
|
||||
|
||||
|
||||
@ -1972,7 +1972,6 @@ static void ScaleFilterRows_SSE2(uint8* dst_ptr,
|
||||
"sub $0x10,%2 \n"
|
||||
"movdqa %%xmm0,(%1,%0,1) \n"
|
||||
"lea 0x10(%1),%1 \n"
|
||||
"lea 0x10(%1),%1 \n"
|
||||
"jg 3b \n"
|
||||
".p2align 4 \n"
|
||||
"4: \n"
|
||||
|
||||
@ -720,7 +720,6 @@ static void ScaleARGBDown2(int src_width, int src_height,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* ScaleARGB ARGB Even
|
||||
*
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user