]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
Add missing multiple inclusion guards.
authordiego <diego@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Wed, 17 Oct 2007 09:31:06 +0000 (09:31 +0000)
committerdiego <diego@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Wed, 17 Oct 2007 09:31:06 +0000 (09:31 +0000)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10763 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

libavcodec/armv4l/dsputil_iwmmxt_rnd.h
libavcodec/bfin/config_bfin.h
libavcodec/colorspace.h
libavcodec/i386/dsputil_mmx_avg.h
libavcodec/i386/dsputil_mmx_qns.h
libavcodec/i386/dsputil_mmx_rnd.h

index 51ba61c47ac038638c13c7d114cf954066b039a2..a753b43533fd3b5bc58c986a8df331243df96fec 100644 (file)
@@ -19,6 +19,9 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#ifndef FFMPEG_DSPUTIL_IWMMXT_RND_H
+#define FFMPEG_DSPUTIL_IWMMXT_RND_H
+
 void DEF(put, pixels8)(uint8_t *block, const uint8_t *pixels, const int line_size, int h)
 {
     int stride = line_size;
@@ -1112,3 +1115,5 @@ void DEF(avg, pixels16_xy2)(uint8_t *block, const uint8_t *pixels, const int lin
         : [line_size]"r"(line_size)
         : "r12", "memory");
 }
+
+#endif /* FFMPEG_DSPUTIL_IWMMXT_RND_H */
index eac2e1e2e789c5d26bed92cba2586060ee247a31..85b478fb0860ec0fcf8cf9398d618b90fe125619 100644 (file)
@@ -29,6 +29,10 @@ DEFUN(put_pixels_clamped,mL1,
 
       rts;
 */
+
+#ifndef FFMPEG_CONFIG_BFIN_H
+#define FFMPEG_CONFIG_BFIN_H
+
 #ifndef DEFUN
 
 #ifndef mL1
@@ -49,3 +53,4 @@ DEFUN(put_pixels_clamped,mL1,
 
 #endif
 
+#endif /* FFMPEG_CONFIG_BFIN_H */
index 7d0a6274bab954ae3b77eaee92c012535fd0b084..9d89d6daa49770ec200326a76538c755c1bee2ae 100644 (file)
@@ -24,6 +24,9 @@
  * Various defines for YUV<->RGB conversion
  */
 
+#ifndef FFMPEG_COLORSPACE_H
+#define FFMPEG_COLORSPACE_H
+
 #define SCALEBITS 10
 #define ONE_HALF  (1 << (SCALEBITS - 1))
 #define FIX(x)    ((int) ((x) * (1<<SCALEBITS) + 0.5))
@@ -105,3 +108,4 @@ static inline int C_JPEG_TO_CCIR(int y) {
 (((FIX(0.50000*224.0/255.0) * r1 - FIX(0.41869*224.0/255.0) * g1 -           \
    FIX(0.08131*224.0/255.0) * b1 + (ONE_HALF << shift) - 1) >> (SCALEBITS + shift)) + 128)
 
+#endif /* FFMPEG_COLORSPACE_H */
index d37d3006464420d85e6c1a45b4054f87ad3e0b7a..63c714a1446ef2b5bed5313a1ad048e843a7c8fb 100644 (file)
@@ -24,6 +24,9 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#ifndef FFMPEG_DSPUTIL_MMX_AVG_H
+#define FFMPEG_DSPUTIL_MMX_AVG_H
+
 /* XXX: we use explicit registers to avoid a gcc 2.95.2 register asm
    clobber bug - now it will work with 2.95.2 and also with -fPIC
  */
@@ -869,3 +872,5 @@ QPEL_2TAP_L3(avg_)
 QPEL_2TAP_L3(put_)
 #undef STORE_OP
 #undef QPEL_2TAP_L3
+
+#endif /* FFMPEG_DSPUTIL_MMX_AVG_H */
index 06bcb6d7ba467f975e861e8413dcc43d395405ba..1f8c27bfe8bec012599ac0332f7933bebe497f78 100644 (file)
@@ -22,6 +22,9 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#ifndef FFMPEG_DSPUTIL_MMX_QNS_H
+#define FFMPEG_DSPUTIL_MMX_QNS_H
+
 #define MAX_ABS (512 >> (SCALE_OFFSET>0 ? SCALE_OFFSET : 0))
 
 static int DEF(try_8x8basis)(int16_t rem[64], int16_t weight[64], int16_t basis[64], int scale)
@@ -100,3 +103,4 @@ static void DEF(add_8x8basis)(int16_t rem[64], int16_t basis[64], int scale)
     }
 }
 
+#endif /* FFMPEG_DSPUTIL_MMX_QNS_H */
index 601800a9e09b8e00fd81483db55e14d98fdd97a2..2b28fd4568073ae41940e9674664aa584572a0ec 100644 (file)
@@ -24,6 +24,9 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#ifndef FFMPEG_DSPUTIL_MMX_RND_H
+#define FFMPEG_DSPUTIL_MMX_RND_H
+
 // put_pixels
 static void DEF(put, pixels8_x2)(uint8_t *block, const uint8_t *pixels, int line_size, int h)
 {
@@ -589,4 +592,4 @@ static void DEF(avg, pixels16_xy2)(uint8_t *block, const uint8_t *pixels, int li
     DEF(avg, pixels8_xy2)(block+8, pixels+8, line_size, h);
 }
 
-
+#endif /* FFMPEG_DSPUTIL_MMX_RND_H */