home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 3865 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: hydra.zrz.TU-Berlin.DE!rawneiha
  2. From: rawneiha@hydra.zrz.TU-Berlin.DE (Philipp Boerker)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: doubling pixels horizontally
  5. Date: 19 Feb 1996 15:27:57 GMT
  6. Organization: Technical University Berlin, Germany
  7. Message-ID: <4ga4tt$pdf@brachio.zrz.TU-Berlin.DE>
  8. References: <4f4ibc$gl9@news.cs.tu-berlin.de> <591.6610T1165T2102@login.eunet.no><1045.6611T753T2256@vip.cybercity.dk><4faoe1$47@sunsystem5.informatik.tu-muenchen.de><2991.6612T1034T625@vip.cybercity.dk><576.6613T1070T1730@login.eunet.no><1257.6614T57T922@vip.cybercity.dk>     <1225.6615T1229T800@login.eunet.no> <1140.6616T51T1538@vip.cybercity.dk> <1982.6617T1096T103@ifi.uio.no>
  9. NNTP-Posting-Host: hydra.zrz.tu-berlin.de
  10.  
  11. ludvigp@ifi.uio.no (Ludvig Pedersen) writes:
  12.  
  13.  
  14. >He used a SCRAMBLED buffer and the source code was extremly hard to
  15. >understand. (In my opinion this was the worst source I have ever seen!)
  16.  
  17. The source was really weired! But there was a linear version too.
  18.  
  19. >This routine was released here at "comp.sys.amiga.programmer"
  20.  
  21. Hm, I missed that one... 
  22.  
  23. >Anyway, some time ago some friends of mine and I rewrote the algorithm.
  24. >And made the code 30-40% faster. Now it is just as fast as to copy
  25. >5120 (160*128/4) longwords to chipram. (Try to beat that!)
  26.  
  27. Hm, I failed to reach copyspeed. My algo takes 6 c/pixel for the conversion;
  28. pipelining, dbf and loading of the pixels make it 8.75 c/pixel. Still,
  29. when I time it I get only 60% of max. speed (pixels*8.75=30,000,000)
  30.  
  31. greets,
  32. Phil.
  33. grond/matrix
  34.  
  35.