aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2014-01-22 05:21:02 -0800
committerDiego Biurrun <diego@biurrun.de>2014-03-13 08:15:52 -0700
commitda785231ea0b82b5c2526babbb2871c935b21a87 (patch)
tree883ee65f3be416b9cb8d2de724e5302c5be5124a /libswscale
parente99af2a3b1660b4f328335149980064692097cad (diff)
downloadffmpeg-da785231ea0b82b5c2526babbb2871c935b21a87.tar.gz
bfin: Refactor duplicated assembly-related macros
Diffstat (limited to 'libswscale')
-rw-r--r--libswscale/bfin/internal_bfin.S18
1 files changed, 2 insertions, 16 deletions
diff --git a/libswscale/bfin/internal_bfin.S b/libswscale/bfin/internal_bfin.S
index b007f07f53..dca8448a3f 100644
--- a/libswscale/bfin/internal_bfin.S
+++ b/libswscale/bfin/internal_bfin.S
@@ -93,23 +93,9 @@ huge variation on the reference codes on Blackfin I guess it must have
to do with the memory system.
*/
-#define mL3 .text
-#if defined(__FDPIC__) && CONFIG_SRAM
-#define mL1 .l1.text
-#else
-#define mL1 mL3
-#endif
-#define MEM mL1
-
-#define DEFUN(fname,where,interface) \
- .section where; \
- .global _ff_bfin_ ## fname; \
- .type _ff_bfin_ ## fname, STT_FUNC; \
- .align 8; \
- _ff_bfin_ ## fname
+#include "libavutil/bfin/asm.h"
-#define DEFUN_END(fname) \
- .size _ff_bfin_ ## fname, . - _ff_bfin_ ## fname
+#define MEM mL1
.text