mirror of
https://github.com/mpv-player/mpv
synced 2025-03-01 11:50:48 +00:00
use mem2agpcpy() instead of fast_memcpy()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4683 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
7a4350e4c1
commit
859ae44c0a
@ -23,6 +23,9 @@
|
||||
* - works only on x86 architectures
|
||||
*
|
||||
* $Log$
|
||||
* Revision 1.42 2002/02/12 23:19:37 michael
|
||||
* use mem2agpcpy() instead of fast_memcpy()
|
||||
*
|
||||
* Revision 1.41 2002/02/09 01:21:48 arpi
|
||||
* 10000hl to Holm... control MUST BE static...
|
||||
*
|
||||
@ -480,14 +483,14 @@ static uint32_t draw_frame( uint8_t *src[] ){
|
||||
// use some stride ...
|
||||
int i;
|
||||
for(i=0; i< vo_dga_lines; i++){
|
||||
memcpy(d, s, vo_dga_bytes_per_line);
|
||||
mem2agpcpy(d, s, vo_dga_bytes_per_line);
|
||||
d+=vo_dga_vp_skip;
|
||||
d+=vo_dga_bytes_per_line;
|
||||
s+=vo_dga_bytes_per_line;
|
||||
}
|
||||
}else{
|
||||
// no stride, cool + fast ...
|
||||
memcpy(d,s, vo_dga_bytes_per_line * vo_dga_lines);
|
||||
mem2agpcpy(d,s, vo_dga_bytes_per_line * vo_dga_lines);
|
||||
}
|
||||
#else /* ARCH_X86 and NO_MMX */
|
||||
// use some homebrewn assembly code ...
|
||||
|
Loading…
Reference in New Issue
Block a user