diff options
author | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-11-29 20:19:17 +0000 |
---|---|---|
committer | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-11-29 20:19:17 +0000 |
commit | 5a26f2776048526226fd3aac82af9731fff166f3 (patch) | |
tree | a99c8f77dc8ecac61ef0f723ac40a990f73ab7dd /postproc/swscale.h | |
parent | 25486c1da7801b6dcf89058d5c1b9ff11054f66f (diff) | |
download | mpv-5a26f2776048526226fd3aac82af9731fff166f3.tar.bz2 mpv-5a26f2776048526226fd3aac82af9731fff166f3.tar.xz |
swscaler cleanup
green line at bottom bugfix
green lines in yuv2yuv scaler bugfix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3210 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'postproc/swscale.h')
-rw-r--r-- | postproc/swscale.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/postproc/swscale.h b/postproc/swscale.h index de71bfc5b6..7e104f7dc0 100644 --- a/postproc/swscale.h +++ b/postproc/swscale.h @@ -2,12 +2,9 @@ // *** bilinear scaling and yuv->rgb & yuv->yuv conversion of yv12 slices: // *** Note: it's called multiple times while decoding a frame, first time y==0 // *** Designed to upscale, but may work for downscale too. -// s_xinc = (src_width << 8) / dst_width -// s_yinc = (src_height << 16) / dst_height // dstbpp == 12 -> yv12 output -void SwScale_YV12slice(unsigned char* srcptr[],int stride[], int y, int h, - uint8_t* dstptr[], int dststride, int dstw, int dstbpp, - unsigned int s_xinc,unsigned int s_yinc); - +void SwScale_YV12slice(unsigned char* srcptr[],int stride[], int srcSliceY, + int srcSliceH, uint8_t* dstptr[], int dststride, int dstbpp, + int srcW, int srcH, int dstW, int dstH); // generating tables void SwScale_Init(); |