diff options
author | Diego Biurrun <diego@biurrun.de> | 2014-01-09 10:27:20 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2014-03-26 04:31:27 -0700 |
commit | aba70bb5387f12dfa5e6cd8cb861c9c7e668151f (patch) | |
tree | 0da2638dc7ea343430826b9952cc5fbb71d305b5 /libswscale/x86 | |
parent | e7373585f827d4ec05d952daa3877e8decfe3c08 (diff) | |
download | ffmpeg-aba70bb5387f12dfa5e6cd8cb861c9c7e668151f.tar.gz |
Add missing headers to make template files compile (more) standalone
Diffstat (limited to 'libswscale/x86')
-rw-r--r-- | libswscale/x86/rgb2rgb_template.c | 2 | ||||
-rw-r--r-- | libswscale/x86/swscale_template.c | 5 | ||||
-rw-r--r-- | libswscale/x86/yuv2rgb_template.c | 5 |
3 files changed, 12 insertions, 0 deletions
diff --git a/libswscale/x86/rgb2rgb_template.c b/libswscale/x86/rgb2rgb_template.c index dc3c694a9e..5d34c21711 100644 --- a/libswscale/x86/rgb2rgb_template.c +++ b/libswscale/x86/rgb2rgb_template.c @@ -25,8 +25,10 @@ */ #include <stddef.h> +#include <stdint.h> #include "libavutil/attributes.h" +#include "libavutil/x86/asm.h" #undef PREFETCH #undef MOVNTQ diff --git a/libswscale/x86/swscale_template.c b/libswscale/x86/swscale_template.c index 80a3ad9a3d..1e42ec5b12 100644 --- a/libswscale/x86/swscale_template.c +++ b/libswscale/x86/swscale_template.c @@ -18,6 +18,11 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include <stdint.h> + +#include "libavutil/x86/asm.h" +#include "libswscale/swscale_internal.h" + #undef REAL_MOVNTQ #undef MOVNTQ #undef PREFETCH diff --git a/libswscale/x86/yuv2rgb_template.c b/libswscale/x86/yuv2rgb_template.c index b028e93152..0b9751623e 100644 --- a/libswscale/x86/yuv2rgb_template.c +++ b/libswscale/x86/yuv2rgb_template.c @@ -21,6 +21,11 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include <stdint.h> + +#include "libavutil/x86/asm.h" +#include "libswscale/swscale_internal.h" + #undef MOVNTQ #undef EMMS #undef SFENCE |