Revision d2a4ecaf

View differences:

libswscale/internal_bfin.S
94 94

  
95 95
*/
96 96

  
97
#define mL1 .l1.text
98 97
#define mL3 .text
98
#ifdef __FDPIC__
99
#define mL1 .l1.text
100
#else
101
#define mL1 mL3
102
#endif
99 103
#define MEM mL1
100 104

  
101 105
#define DEFUN(fname,where,interface) \
libswscale/swscale_bfin.c
34 34
#include "swscale.h"
35 35
#include "swscale_internal.h"
36 36

  
37
#ifdef __FDPIC__
38
#define L1CODE __attribute__ ((l1_text))
39
#else
40
#define L1CODE
41
#endif
37 42

  
38 43
extern int ff_bfin_uyvytoyv12 (const uint8_t *src, uint8_t *ydst, uint8_t *udst, uint8_t *vdst,
39 44
                               long width, long height,
40
                               long lumStride, long chromStride, long srcStride) __attribute__ ((l1_text));
45
                               long lumStride, long chromStride, long srcStride) L1CODE;
41 46

  
42 47
extern int ff_bfin_yuyvtoyv12 (const uint8_t *src, uint8_t *ydst, uint8_t *udst, uint8_t *vdst,
43 48
                               long width, long height,
44
                               long lumStride, long chromStride, long srcStride) __attribute__ ((l1_text));
49
                               long lumStride, long chromStride, long srcStride) L1CODE;
45 50

  
46 51
static int uyvytoyv12_unscaled (SwsContext *c, uint8_t* src[], int srcStride[], int srcSliceY,
47 52
                                int srcSliceH, uint8_t* dst[], int dstStride[])
libswscale/yuv2rgb_bfin.c
36 36
#include "swscale.h"
37 37
#include "swscale_internal.h"
38 38

  
39

  
39
#ifdef __FDPIC__
40 40
#define L1CODE __attribute__ ((l1_text))
41
#else
42
#define L1CODE
43
#endif
41 44

  
42 45
extern void ff_bfin_yuv2rgb555_line (uint8_t *Y, uint8_t *U, uint8_t *V, uint8_t *out,
43 46
                                     int w, uint32_t *coeffs) L1CODE;

Also available in: Unified diff