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 /libavcodec/x86 | |
parent | e7373585f827d4ec05d952daa3877e8decfe3c08 (diff) | |
download | ffmpeg-aba70bb5387f12dfa5e6cd8cb861c9c7e668151f.tar.gz |
Add missing headers to make template files compile (more) standalone
Diffstat (limited to 'libavcodec/x86')
-rw-r--r-- | libavcodec/x86/dsputil_qns_template.c | 6 | ||||
-rw-r--r-- | libavcodec/x86/hpeldsp_rnd_template.c | 3 | ||||
-rw-r--r-- | libavcodec/x86/mpegvideoenc_template.c | 6 |
3 files changed, 15 insertions, 0 deletions
diff --git a/libavcodec/x86/dsputil_qns_template.c b/libavcodec/x86/dsputil_qns_template.c index 14ab425718..321d14ae44 100644 --- a/libavcodec/x86/dsputil_qns_template.c +++ b/libavcodec/x86/dsputil_qns_template.c @@ -22,6 +22,12 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include <assert.h> +#include <stdint.h> + +#include "libavutil/common.h" +#include "libavutil/x86/asm.h" + #include "inline_asm.h" #define MAX_ABS (512 >> (SCALE_OFFSET>0 ? SCALE_OFFSET : 0)) diff --git a/libavcodec/x86/hpeldsp_rnd_template.c b/libavcodec/x86/hpeldsp_rnd_template.c index b514a8fd4e..d854e8a2fc 100644 --- a/libavcodec/x86/hpeldsp_rnd_template.c +++ b/libavcodec/x86/hpeldsp_rnd_template.c @@ -24,6 +24,9 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include <stddef.h> +#include <stdint.h> + // put_pixels static void DEF(put, pixels8_x2)(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h) { diff --git a/libavcodec/x86/mpegvideoenc_template.c b/libavcodec/x86/mpegvideoenc_template.c index ed00e8eea7..d01ff1c0f8 100644 --- a/libavcodec/x86/mpegvideoenc_template.c +++ b/libavcodec/x86/mpegvideoenc_template.c @@ -20,6 +20,12 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include <stdint.h> + +#include "libavutil/internal.h" +#include "libavutil/x86/asm.h" +#include "libavcodec/mpegvideo.h" + #undef MMREG_WIDTH #undef MM #undef MOVQ |