[FFmpeg-cvslog] r30472 - in trunk/libswscale/bfin: internal_bfin.S swscale_bfin.c yuv2rgb_bfin.c

mru subversion
Sun Jan 31 01:20:37 CET 2010


Author: mru
Date: Sun Jan 31 01:20:37 2010
New Revision: 30472

Log:
Blackfin: use SRAM only when CONFIG_SRAM is set

Modified:
   trunk/libswscale/bfin/internal_bfin.S
   trunk/libswscale/bfin/swscale_bfin.c
   trunk/libswscale/bfin/yuv2rgb_bfin.c

Modified: trunk/libswscale/bfin/internal_bfin.S
==============================================================================
--- trunk/libswscale/bfin/internal_bfin.S	Sun Jan 31 00:24:23 2010	(r30471)
+++ trunk/libswscale/bfin/internal_bfin.S	Sun Jan 31 01:20:37 2010	(r30472)
@@ -94,7 +94,7 @@ to do with the memory system.
 */
 
 #define mL3 .text
-#ifdef __FDPIC__
+#if defined(__FDPIC__) && CONFIG_SRAM
 #define mL1 .l1.text
 #else
 #define mL1 mL3

Modified: trunk/libswscale/bfin/swscale_bfin.c
==============================================================================
--- trunk/libswscale/bfin/swscale_bfin.c	Sun Jan 31 00:24:23 2010	(r30471)
+++ trunk/libswscale/bfin/swscale_bfin.c	Sun Jan 31 01:20:37 2010	(r30472)
@@ -31,7 +31,7 @@
 #include "libswscale/swscale.h"
 #include "libswscale/swscale_internal.h"
 
-#ifdef __FDPIC__
+#if defined (__FDPIC__) && CONFIG_SRAM
 #define L1CODE __attribute__ ((l1_text))
 #else
 #define L1CODE

Modified: trunk/libswscale/bfin/yuv2rgb_bfin.c
==============================================================================
--- trunk/libswscale/bfin/yuv2rgb_bfin.c	Sun Jan 31 00:24:23 2010	(r30471)
+++ trunk/libswscale/bfin/yuv2rgb_bfin.c	Sun Jan 31 01:20:37 2010	(r30472)
@@ -32,7 +32,7 @@
 #include "libswscale/swscale.h"
 #include "libswscale/swscale_internal.h"
 
-#ifdef __FDPIC__
+#if defined(__FDPIC__) && CONFIG_SRAM
 #define L1CODE __attribute__ ((l1_text))
 #else
 #define L1CODE



More information about the ffmpeg-cvslog mailing list