mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2025-12-08 01:36:47 +08:00
noinline attribute for apple
BUG=137 TEST=NONE Review URL: https://webrtc-codereview.appspot.com/929010 git-svn-id: http://libyuv.googlecode.com/svn/trunk@453 16f28f9a-4ce2-e073-06de-1de4eb20be90
This commit is contained in:
parent
15449263c4
commit
34d2344458
@ -1,6 +1,6 @@
|
||||
Name: libyuv
|
||||
URL: http://code.google.com/p/libyuv/
|
||||
Version: 451
|
||||
Version: 453
|
||||
License: BSD
|
||||
License File: LICENSE
|
||||
|
||||
|
||||
@ -11,6 +11,6 @@
|
||||
#ifndef INCLUDE_LIBYUV_VERSION_H_ // NOLINT
|
||||
#define INCLUDE_LIBYUV_VERSION_H_
|
||||
|
||||
#define LIBYUV_VERSION 451
|
||||
#define LIBYUV_VERSION 453
|
||||
|
||||
#endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT
|
||||
|
||||
@ -24,8 +24,10 @@ extern "C" {
|
||||
// TODO(fbarchard): Use static const when gcc 4.2 support is dropped.
|
||||
#ifdef __APPLE__
|
||||
#define CONST
|
||||
#define NOINLINE __attribute__ ((noinline))
|
||||
#else
|
||||
#define CONST static const
|
||||
#define NOINLINE
|
||||
#endif
|
||||
|
||||
#ifdef HAS_ARGBTOYROW_SSSE3
|
||||
@ -573,7 +575,7 @@ void ARGBToRAWRow_SSSE3(const uint8* src, uint8* dst, int pix) {
|
||||
);
|
||||
}
|
||||
|
||||
void ARGBToRGB565Row_SSE2(const uint8* src, uint8* dst, int pix) {
|
||||
void ARGBToRGB565Row_SSE2(const uint8* src, uint8* dst, int pix) NOINLINE {
|
||||
asm volatile (
|
||||
"pcmpeqb %%xmm3,%%xmm3 \n"
|
||||
"psrld $0x1b,%%xmm3 \n"
|
||||
@ -1768,7 +1770,7 @@ void OMITFP I422ToARGBRow_SSSE3(const uint8* y_buf,
|
||||
const uint8* u_buf,
|
||||
const uint8* v_buf,
|
||||
uint8* argb_buf,
|
||||
int width) {
|
||||
int width) NOINLINE {
|
||||
asm volatile (
|
||||
"sub %[u_buf],%[v_buf] \n"
|
||||
"pcmpeqb %%xmm5,%%xmm5 \n"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user