diff options
author | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-02-06 20:52:14 +0000 |
---|---|---|
committer | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-02-06 20:52:14 +0000 |
commit | 7bfa2fa2759932632079f553e0a467c9a14cd506 (patch) | |
tree | 1148d80746bdc12d68f4e15b5428bbabb61382b2 /libvo/vo_vesa.c | |
parent | 403b791ab9f13e85ce9866f86749fc9267a315be (diff) | |
download | mpv-7bfa2fa2759932632079f553e0a467c9a14cd506.tar.bz2 mpv-7bfa2fa2759932632079f553e0a467c9a14cd506.tar.xz |
swScale internally uses yuv2rgb now if possible
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4555 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_vesa.c')
-rw-r--r-- | libvo/vo_vesa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libvo/vo_vesa.c b/libvo/vo_vesa.c index 09966b640b..bb8da0cc2b 100644 --- a/libvo/vo_vesa.c +++ b/libvo/vo_vesa.c @@ -262,7 +262,7 @@ static uint32_t draw_slice(uint8_t *image[], int stride[], int w,int h,int x,int dstStride[1]= dstStride[2]=dstStride[0]>>1; if(HAS_DGA()) dst[0] += y_offset*SCREEN_LINE_SIZE(PIXEL_SIZE())+x_offset*PIXEL_SIZE(); - (*swScale)(sws,image,stride,y,h,dst,dstStride); + sws->swScale(sws,image,stride,y,h,dst,dstStride); flip_trigger = 1; return 0; } @@ -371,7 +371,7 @@ static uint32_t draw_frame(uint8_t *src[]) else srcStride[0] = srcW*2; if(HAS_DGA()) dst[0] += y_offset*SCREEN_LINE_SIZE(PIXEL_SIZE())+x_offset*PIXEL_SIZE(); - (*swScale)(sws,src,srcStride,0,srcH,dst,dstStride); + sws->swScale(sws,src,srcStride,0,srcH,dst,dstStride); flip_trigger=1; } else if(!HAS_DGA()) __vbeCopyData(src[0]); |