You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-11-06 08:29:25 +02:00
bfin: Refactor duplicated assembly-related macros
This commit is contained in:
@@ -93,24 +93,10 @@ 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
|
||||
#include "libavutil/bfin/asm.h"
|
||||
|
||||
#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
|
||||
|
||||
#define DEFUN_END(fname) \
|
||||
.size _ff_bfin_ ## fname, . - _ff_bfin_ ## fname
|
||||
|
||||
|
||||
.text
|
||||
|
||||
|
||||
Reference in New Issue
Block a user