summaryrefslogtreecommitdiffstats
path: root/gst-libs/gst/idct
diff options
context:
space:
mode:
Diffstat (limited to 'gst-libs/gst/idct')
-rw-r--r--gst-libs/gst/idct/dct.h2
-rw-r--r--gst-libs/gst/idct/fastintidct.c4
-rw-r--r--gst-libs/gst/idct/floatidct.c4
-rw-r--r--gst-libs/gst/idct/ieeetest.c4
-rw-r--r--gst-libs/gst/idct/intidct.c4
-rw-r--r--gst-libs/gst/idct/mmx32idct.c6
6 files changed, 21 insertions, 3 deletions
diff --git a/gst-libs/gst/idct/dct.h b/gst-libs/gst/idct/dct.h
index fcb7de37..efb3ddb3 100644
--- a/gst-libs/gst/idct/dct.h
+++ b/gst-libs/gst/idct/dct.h
@@ -1,7 +1,5 @@
/* define DCT types */
-#include "config.h"
-
/*
* DCTSIZE underlying (1d) transform size
* DCTSIZE2 DCTSIZE squared
diff --git a/gst-libs/gst/idct/fastintidct.c b/gst-libs/gst/idct/fastintidct.c
index 3c9e9bb9..27426672 100644
--- a/gst-libs/gst/idct/fastintidct.c
+++ b/gst-libs/gst/idct/fastintidct.c
@@ -38,6 +38,10 @@
/* compliance sE, 2.1.94 */
/**********************************************************/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
/* this code assumes >> to be a two's-complement arithmetic */
/* right shift: (-2)>>1 == -1 , (-3)>>1 == -2 */
diff --git a/gst-libs/gst/idct/floatidct.c b/gst-libs/gst/idct/floatidct.c
index 520c3913..b215bd78 100644
--- a/gst-libs/gst/idct/floatidct.c
+++ b/gst-libs/gst/idct/floatidct.c
@@ -35,6 +35,10 @@
/* Here we use math.h to generate constants. Compiler results may
vary a little */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <math.h>
#ifndef PI
diff --git a/gst-libs/gst/idct/ieeetest.c b/gst-libs/gst/idct/ieeetest.c
index c3c66215..f5b270eb 100644
--- a/gst-libs/gst/idct/ieeetest.c
+++ b/gst-libs/gst/idct/ieeetest.c
@@ -9,6 +9,10 @@
* Released to public domain 11/22/93.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
diff --git a/gst-libs/gst/idct/intidct.c b/gst-libs/gst/idct/intidct.c
index 119b7fd1..e08e6adb 100644
--- a/gst-libs/gst/idct/intidct.c
+++ b/gst-libs/gst/idct/intidct.c
@@ -18,6 +18,10 @@
* scaled fixed-point arithmetic, with a minimal number of shifts.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "dct.h"
/* We assume that right shift corresponds to signed division by 2 with
diff --git a/gst-libs/gst/idct/mmx32idct.c b/gst-libs/gst/idct/mmx32idct.c
index 0090d8a7..3b640976 100644
--- a/gst-libs/gst/idct/mmx32idct.c
+++ b/gst-libs/gst/idct/mmx32idct.c
@@ -114,7 +114,11 @@
/*
mword typedef qword
qword ptr equ mword ptr */
-
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <mmx.h>
#define BITS_INV_ACC 4 /*; 4 or 5 for IEEE */