mirror of
https://github.com/mpv-player/mpv
synced 2024-12-28 06:03:45 +01:00
fixed to compile
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1979 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
ce45df9df6
commit
1121d83cc9
@ -441,12 +441,13 @@ draw_frame(uint8_t *src[])
|
||||
}
|
||||
|
||||
static uint32_t
|
||||
draw_slice(uint8_t *src[], uint32_t slice_num)
|
||||
//draw_slice(uint8_t *src[], uint32_t slice_num)
|
||||
draw_slice(uint8_t *src[], int stride[], int w,int h,int x,int y)
|
||||
{
|
||||
uint32_t target;
|
||||
|
||||
target = vidpage2offset + (screenwidth*2 * 16*slice_num);
|
||||
dump_yuv_planar((uint32_t *)src[0],(uint32_t *)src[1],(uint32_t *)src[2],target,vidwidth,16);
|
||||
target = vidpage2offset + (screenwidth*2 * y);
|
||||
dump_yuv_planar((uint32_t *)src[0],(uint32_t *)src[1],(uint32_t *)src[2],target,vidwidth,h);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user