summaryrefslogtreecommitdiffstats
path: root/libswscale/bfin
diff options
context:
space:
mode:
authorRamiro Polla <ramiro.polla@gmail.com>2010-05-12 20:47:32 +0000
committerRamiro Polla <ramiro.polla@gmail.com>2010-05-12 20:47:32 +0000
commitc3ab0004ae4dffc32494ae84dd15cfaa909a7884 (patch)
tree98688616d25cc984f01ff41838fd57b00391351b /libswscale/bfin
parentb3ab319944821c379b8040125e931724c229654b (diff)
downloadffmpeg-streaming-c3ab0004ae4dffc32494ae84dd15cfaa909a7884.zip
ffmpeg-streaming-c3ab0004ae4dffc32494ae84dd15cfaa909a7884.tar.gz
Revert r31153. It failed to build on:
x86_64 / Mac OS X gcc 4.0.1 x86_64 / Linux icc (all) x86_64 / Linux gcc 4.0.4 x86_64 / OpenBSD gcc 3.3.5 x86_64 / Linux suncc 5.10 and there are some reports of crashes. Originally committed as revision 31170 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale/bfin')
-rw-r--r--libswscale/bfin/internal_bfin.S8
-rw-r--r--libswscale/bfin/swscale_bfin.c8
2 files changed, 8 insertions, 8 deletions
diff --git a/libswscale/bfin/internal_bfin.S b/libswscale/bfin/internal_bfin.S
index cb8d712..5af4654 100644
--- a/libswscale/bfin/internal_bfin.S
+++ b/libswscale/bfin/internal_bfin.S
@@ -466,8 +466,8 @@ DEFUN_END(yuv2rgb24_line)
#define ARG_srcStride 40
DEFUN(uyvytoyv12, mL3, (const uint8_t *src, uint8_t *ydst, uint8_t *udst, uint8_t *vdst,
- int width, int height,
- int lumStride, int chromStride, int srcStride)):
+ long width, long height,
+ long lumStride, long chromStride, long srcStride)):
link 0;
[--sp] = (r7:4,p5:4);
@@ -539,8 +539,8 @@ DEFUN(uyvytoyv12, mL3, (const uint8_t *src, uint8_t *ydst, uint8_t *udst, uint8
DEFUN_END(uyvytoyv12)
DEFUN(yuyvtoyv12, mL3, (const uint8_t *src, uint8_t *ydst, uint8_t *udst, uint8_t *vdst,
- int width, int height,
- int lumStride, int chromStride, int srcStride)):
+ long width, long height,
+ long lumStride, long chromStride, long srcStride)):
link 0;
[--sp] = (r7:4,p5:4);
diff --git a/libswscale/bfin/swscale_bfin.c b/libswscale/bfin/swscale_bfin.c
index 6c64d14..ce2f172 100644
--- a/libswscale/bfin/swscale_bfin.c
+++ b/libswscale/bfin/swscale_bfin.c
@@ -38,12 +38,12 @@
#endif
int ff_bfin_uyvytoyv12(const uint8_t *src, uint8_t *ydst, uint8_t *udst, uint8_t *vdst,
- int width, int height,
- int lumStride, int chromStride, int srcStride) L1CODE;
+ long width, long height,
+ long lumStride, long chromStride, long srcStride) L1CODE;
int ff_bfin_yuyvtoyv12(const uint8_t *src, uint8_t *ydst, uint8_t *udst, uint8_t *vdst,
- int width, int height,
- int lumStride, int chromStride, int srcStride) L1CODE;
+ long width, long height,
+ long lumStride, long chromStride, long srcStride) L1CODE;
static int uyvytoyv12_unscaled(SwsContext *c, uint8_t* src[], int srcStride[], int srcSliceY,
int srcSliceH, uint8_t* dst[], int dstStride[])
OpenPOWER on IntegriCloud