Use force inlining of YUV conversion functions

Force inling of the 444->420 conversion functions because their CPU
usage goes up pretty heavily without it when compiling without
optimizations
This commit is contained in:
jp9000
2014-02-09 07:59:00 -07:00
parent e4921074c1
commit 4be4dd735e
3 changed files with 14 additions and 5 deletions

View File

@@ -36,6 +36,12 @@
#define inline __inline
#endif
#ifdef _MSC_VER
#define FORCE_INLINE __forceinline
#else
#define FORCE_INLINE __attribute__(always_inline)
#endif
#define EXPORT __declspec(dllexport)
#else
#define EXPORT