|
|
|
@ -18,32 +18,22 @@ |
|
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
|
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* low level assembler interface wrapper |
|
|
|
|
* |
|
|
|
|
* DEFUN(put_pixels_clamped,mL1, |
|
|
|
|
* (int16_t *block, uint8_t *dest, int line_size)): |
|
|
|
|
* |
|
|
|
|
* body |
|
|
|
|
* |
|
|
|
|
* rts; |
|
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
#ifndef AVCODEC_BFIN_CONFIG_BFIN_H |
|
|
|
|
#define AVCODEC_BFIN_CONFIG_BFIN_H |
|
|
|
|
#ifndef AVUTIL_BFIN_ASM_H |
|
|
|
|
#define AVUTIL_BFIN_ASM_H |
|
|
|
|
|
|
|
|
|
#include "config.h" |
|
|
|
|
|
|
|
|
|
#ifndef DEFUN |
|
|
|
|
|
|
|
|
|
#define mL3 .text |
|
|
|
|
#ifndef mL1 |
|
|
|
|
|
|
|
|
|
#if defined(__FDPIC__) && CONFIG_SRAM |
|
|
|
|
#define mL1 .l1.text |
|
|
|
|
#define SECTION_L1_DATA_A .section .l1.data.A,"aw",@progbits |
|
|
|
|
#define SECTION_L1_DATA_B .section .l1.data.B,"aw",@progbits |
|
|
|
|
#else |
|
|
|
|
#define mL1 mL3 |
|
|
|
|
#define SECTION_L1_DATA_A |
|
|
|
|
#define SECTION_L1_DATA_B .data |
|
|
|
|
#endif |
|
|
|
|
#endif /* mL1 */ |
|
|
|
|
|
|
|
|
|
#define DEFUN(fname, where, interface) \ |
|
|
|
|
.section where; \
|
|
|
|
@ -61,6 +51,4 @@ |
|
|
|
|
#define RELOC(reg, got, obj) reg.L = obj; reg.H = obj |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
#endif /* DEFUN */ |
|
|
|
|
|
|
|
|
|
#endif /* AVCODEC_BFIN_CONFIG_BFIN_H */ |
|
|
|
|
#endif /* AVUTIL_BFIN_ASM_H */ |