Revision d2a4ecaf libswscale/swscale_bfin.c

View differences:

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[])

Also available in: Unified diff