aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/bfin/fdct_bfin.S
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 /libavcodec/bfin/fdct_bfin.S
parente99af2a3b1660b4f328335149980064692097cad (diff)
downloadffmpeg-da785231ea0b82b5c2526babbb2871c935b21a87.tar.gz
bfin: Refactor duplicated assembly-related macros
Diffstat (limited to 'libavcodec/bfin/fdct_bfin.S')
-rw-r--r--libavcodec/bfin/fdct_bfin.S17
1 files changed, 6 insertions, 11 deletions
diff --git a/libavcodec/bfin/fdct_bfin.S b/libavcodec/bfin/fdct_bfin.S
index c923d760e7..2525e0dd18 100644
--- a/libavcodec/bfin/fdct_bfin.S
+++ b/libavcodec/bfin/fdct_bfin.S
@@ -125,21 +125,16 @@ DCT BFINfdct: err_inf=2 err2=0.16425938 syserr=0.00795000 maxout=2098 blockSumEr
DCT BFINfdct: 92.1 kdct/s
*/
-#include "config.h"
-#include "config_bfin.h"
-
-#if defined(__FDPIC__) && CONFIG_SRAM
-.section .l1.data.B,"aw",@progbits
-#else
-.data
-#endif
+#include "libavutil/bfin/asm.h"
+
+SECTION_L1_DATA_B
+
.align 4;
dct_coeff:
.short 0x5a82, 0x2d41, 0x187e, 0x3b21, 0x0c7c, 0x3ec5, 0x238e, 0x3537;
-#if defined(__FDPIC__) && CONFIG_SRAM
-.section .l1.data.A,"aw",@progbits
-#endif
+SECTION_L1_DATA_A
+
.align 4
vtmp: .space 128