mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2026-02-07 10:19:50 +08:00
force inline for bayer and include basic types
TESTED=xcode build BUG=none Review URL: http://webrtc-codereview.appspot.com/233001 git-svn-id: http://libyuv.googlecode.com/svn/trunk@29 16f28f9a-4ce2-e073-06de-1de4eb20be90
This commit is contained in:
parent
27b2d2e424
commit
8b071f6dc2
@ -29,9 +29,11 @@
|
|||||||
|
|
||||||
#endif // !ENABLE_DEBUG
|
#endif // !ENABLE_DEBUG
|
||||||
|
|
||||||
#ifdef __GNUC__
|
|
||||||
// Forces compiler to inline, even against its better judgement. Use wisely.
|
// Forces compiler to inline, even against its better judgement. Use wisely.
|
||||||
|
#if defined(__GNUC__)
|
||||||
#define FORCE_INLINE __attribute__((always_inline))
|
#define FORCE_INLINE __attribute__((always_inline))
|
||||||
|
#elif defined(WIN32)
|
||||||
|
#define FORCE_INLINE __forceinline
|
||||||
#else
|
#else
|
||||||
#define FORCE_INLINE
|
#define FORCE_INLINE
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@ -10,6 +10,7 @@
|
|||||||
|
|
||||||
|
|
||||||
#include "convert.h"
|
#include "convert.h"
|
||||||
|
#include "basic_types.h"
|
||||||
|
|
||||||
#include <string.h> // memcpy(), memset()
|
#include <string.h> // memcpy(), memset()
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user