aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale/x86
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-03-26 14:50:47 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-03-26 14:50:55 +0100
commit0371eaebcd1bdcd94e4c9fccf23969c5f49bb5d0 (patch)
tree5ceb11ab82b3c988429607bf63300c636f1d5dc5 /libswscale/x86
parent32620691011186a0a3932bba8ddb078ce5312f22 (diff)
parentaba70bb5387f12dfa5e6cd8cb861c9c7e668151f (diff)
downloadffmpeg-0371eaebcd1bdcd94e4c9fccf23969c5f49bb5d0.tar.gz
Merge commit 'aba70bb5387f12dfa5e6cd8cb861c9c7e668151f'
* commit 'aba70bb5387f12dfa5e6cd8cb861c9c7e668151f': Add missing headers to make template files compile (more) standalone Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswscale/x86')
-rw-r--r--libswscale/x86/rgb2rgb_template.c2
-rw-r--r--libswscale/x86/swscale_template.c5
-rw-r--r--libswscale/x86/yuv2rgb_template.c5
3 files changed, 12 insertions, 0 deletions
diff --git a/libswscale/x86/rgb2rgb_template.c b/libswscale/x86/rgb2rgb_template.c
index b68824dcbe..1e12446859 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 71a60bc738..67957ac4d4 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 MOVNTQ2
diff --git a/libswscale/x86/yuv2rgb_template.c b/libswscale/x86/yuv2rgb_template.c
index d29e3a424d..b3225a4a53 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