diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2003-02-23 22:05:55 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2003-02-23 22:05:55 +0000 |
commit | d4e242755f3a3c5c27b26b86cccd4670c4bd3b40 (patch) | |
tree | ce934efe60fcfa2cdee7d925d700f11509ea5975 /postproc/yuv2rgb.c | |
parent | efa04ce2967724778a10a1db0fa65fa693625557 (diff) | |
download | ffmpeg-d4e242755f3a3c5c27b26b86cccd4670c4bd3b40.tar.gz |
sws_ prefix, more seperation between internal & external swscaler API
sws_scale() returns the number of outputed lines
Originally committed as revision 9495 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
Diffstat (limited to 'postproc/yuv2rgb.c')
-rw-r--r-- | postproc/yuv2rgb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/postproc/yuv2rgb.c b/postproc/yuv2rgb.c index e920d50ae0..0df8534919 100644 --- a/postproc/yuv2rgb.c +++ b/postproc/yuv2rgb.c @@ -262,7 +262,7 @@ const int32_t Inverse_Table_6_9[8][4] = { dst_2[6*i+3] = b[Y]; dst_2[6*i+4] = g[Y]; dst_2[6*i+5] = r[Y]; #define PROLOG(func_name, dst_type) \ -static void func_name(SwsContext *c, uint8_t* srcParam[], int srcStrideParam[], int srcSliceY, \ +static int func_name(SwsContext *c, uint8_t* srcParam[], int srcStrideParam[], int srcSliceY, \ int srcSliceH, uint8_t* dst[], int dstStride[]){\ uint8_t *src[3];\ int srcStride[3];\ @@ -294,6 +294,7 @@ static void func_name(SwsContext *c, uint8_t* srcParam[], int srcStrideParam[], dst_2 += dst_delta;\ }\ }\ + return srcSliceH;\ } PROLOG(yuv2rgb_c_32, uint32_t) |