Mercurial > mplayer.hg
comparison libswscale/bfin/swscale_bfin.c @ 31096:0a999f052474
Use int instead of long to pass width parameters in non-public functions.
long was being incorrectly used as an x86-sized register, both for 32 and 64
bits, but this is not the case in win64.
author | ramiro |
---|---|
date | Tue, 11 May 2010 00:36:34 +0000 |
parents | cdb6693dd949 |
children | 1f7d0e9e2ebf |
comparison
equal
deleted
inserted
replaced
31095:7a2ec1d564ce | 31096:0a999f052474 |
---|---|
36 #else | 36 #else |
37 #define L1CODE | 37 #define L1CODE |
38 #endif | 38 #endif |
39 | 39 |
40 int ff_bfin_uyvytoyv12(const uint8_t *src, uint8_t *ydst, uint8_t *udst, uint8_t *vdst, | 40 int ff_bfin_uyvytoyv12(const uint8_t *src, uint8_t *ydst, uint8_t *udst, uint8_t *vdst, |
41 long width, long height, | 41 int width, int height, |
42 long lumStride, long chromStride, long srcStride) L1CODE; | 42 int lumStride, int chromStride, int srcStride) L1CODE; |
43 | 43 |
44 int ff_bfin_yuyvtoyv12(const uint8_t *src, uint8_t *ydst, uint8_t *udst, uint8_t *vdst, | 44 int ff_bfin_yuyvtoyv12(const uint8_t *src, uint8_t *ydst, uint8_t *udst, uint8_t *vdst, |
45 long width, long height, | 45 int width, int height, |
46 long lumStride, long chromStride, long srcStride) L1CODE; | 46 int lumStride, int chromStride, int srcStride) L1CODE; |
47 | 47 |
48 static int uyvytoyv12_unscaled(SwsContext *c, uint8_t* src[], int srcStride[], int srcSliceY, | 48 static int uyvytoyv12_unscaled(SwsContext *c, uint8_t* src[], int srcStride[], int srcSliceY, |
49 int srcSliceH, uint8_t* dst[], int dstStride[]) | 49 int srcSliceH, uint8_t* dst[], int dstStride[]) |
50 { | 50 { |
51 uint8_t *dsty = dst[0] + dstStride[0]*srcSliceY; | 51 uint8_t *dsty = dst[0] + dstStride[0]*srcSliceY; |