]> git.sesse.net Git - ffmpeg/commitdiff
Merge commit 'aba70bb5387f12dfa5e6cd8cb861c9c7e668151f'
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 26 Mar 2014 13:50:47 +0000 (14:50 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 26 Mar 2014 13:50:55 +0000 (14:50 +0100)
* commit 'aba70bb5387f12dfa5e6cd8cb861c9c7e668151f':
  Add missing headers to make template files compile (more) standalone

Merged-by: Michael Niedermayer <michaelni@gmx.at>
15 files changed:
libavcodec/ac3enc_template.c
libavcodec/h264_mb_template.c
libavcodec/h264_mc_template.c
libavcodec/h264idct_template.c
libavcodec/hpel_template.c
libavcodec/motion_est_template.c
libavcodec/simple_idct_template.c
libavcodec/videodsp_template.c
libavcodec/x86/dsputil_qns_template.c
libavcodec/x86/hpeldsp_rnd_template.c
libavcodec/x86/mpegvideoenc_template.c
libavresample/resample_template.c
libswscale/x86/rgb2rgb_template.c
libswscale/x86/swscale_template.c
libswscale/x86/yuv2rgb_template.c

index 4689f7020bb32693f983db51addcef567168be75..4527519175077d1dd3d835dbd9d36e611f5a3094 100644 (file)
 
 #include <stdint.h>
 
+#include "libavutil/attributes.h"
 #include "libavutil/internal.h"
+#include "internal.h"
+#include "ac3enc.h"
+#include "eac3enc.h"
 
 /* prototypes for static functions in ac3enc_fixed.c and ac3enc_float.c */
 
index 1c13825a855404652778543dae1152f373d0454f..7c9d72b35a7e9bb74a119eadc14f1adf1c78a623 100644 (file)
@@ -19,6 +19,8 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#include "svq3.h"
+
 #undef FUNC
 #undef PIXEL_SHIFT
 
index 7aec43ba90cfd792cbd0c4df8a0e166883e3439a..0e4e47713dd7b1b5944b54da69765b81ddf05021 100644 (file)
@@ -19,6 +19,8 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#include "h264.h"
+
 #undef MCFUNC
 
 #if   CHROMA_IDC == 1
index 42c32d15eda76b05fdd2f13b89ba31d9bc5a2dd7..abf888ed960761d5ca21a6662672e4bbece6ce0c 100644 (file)
@@ -28,6 +28,7 @@
 #include "bit_depth_template.c"
 #include "libavutil/common.h"
 #include "h264.h"
+#include "h264idct.h"
 
 void FUNCC(ff_h264_idct_add)(uint8_t *_dst, int16_t *_block, int stride)
 {
index 8315cdd43d88742412573b70df20294ccdb809bf..fccfe7610fe581c1b7b5f5d9d6e90705988fecad 100644 (file)
@@ -19,6 +19,8 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#include "libavutil/intreadwrite.h"
+
 #include "pixels.h"
 
 #include "bit_depth_template.c"
index 3123edcf9256f6af6020a5941a0e5ac2695e62d9..2fa97aa8e2436490037bbf4a499dc6eb7c7c6050 100644 (file)
@@ -24,6 +24,8 @@
  * Motion estimation template.
  */
 
+#include "mpegvideo.h"
+
 //Let us hope gcc will remove the unused vars ...(gcc 3.2.2 seems to do it ...)
 #define LOAD_COMMON\
     uint32_t av_unused * const score_map= c->score_map;\
index ac04923d967bd959b5eaca19d621fe915bfe1a9f..95844a2f33c2aaa656a50a1a1853bd6aeca507b5 100644 (file)
@@ -30,6 +30,8 @@
   written by Aaron Holtzman <aholtzma@ess.engr.uvic.ca>)
  */
 
+#include "simple_idct.h"
+
 #include "bit_depth_template.c"
 
 #undef W1
index c569c30d6075421842fe68a1f9550652099d4e41..f4ff2ba64695d9288ce58a56f744aa2c1694025b 100644 (file)
@@ -19,6 +19,8 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#include <assert.h>
+
 #include "bit_depth_template.c"
 void FUNC(ff_emulated_edge_mc)(uint8_t *buf, const uint8_t *src,
                                ptrdiff_t buf_linesize,
index c6d4124e202a3556cb1109726b83dc8c11d2d008..ebaad252f4e3afc65839d4a0c1e0017963900c74 100644 (file)
  * 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))
index 24e04a8f2211c1337f8e8a4920e308cf2ab7cbc9..c8a68fdf56ba8bc9ed045ae43198bd199ab40302 100644 (file)
@@ -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)
 {
index d68f9e2c8cf5456904580ea2b800b5848bd93e8a..76a5c5a154cd9c04e714ac623ef2673d15f60764 100644 (file)
  * 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
index 06da90fe9fc0449a620c0e843c5a5719c3d8eb9a..458944ebb2ecbc259b8f5bc07d8c4b8fdef17041 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#include <math.h>
+#include <stdint.h>
+
+#include "libavutil/common.h"
+#include "internal.h"
+
 #if defined(CONFIG_RESAMPLE_DBL)
 #define SET_TYPE(func)  func ## _dbl
 #define FELEM         double
index b68824dcbed0ddb656dc44683af67c42863b13f1..1e1244685955cf464a01b5c3d45786bec28ceb86 100644 (file)
  */
 
 #include <stddef.h>
+#include <stdint.h>
 
 #include "libavutil/attributes.h"
+#include "libavutil/x86/asm.h"
 
 #undef PREFETCH
 #undef MOVNTQ
index 71a60bc73880a62a92fc3d0f329d8b6f49339381..67957ac4d46d9ed063d43808cf0a9686616092e8 100644 (file)
  * 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
index d29e3a424d369945aa8f0a72196d49ae888ec760..b3225a4a5310371c7c50e48bb93f45a8bd21160d 100644 (file)
  * 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