Rapid gfx display Qs



I have a task that involves getting still image files to the screen as
quickly as possible (20ms max). These images are all equal size, but
are randomly chosen from a stack of 30,000 or so in a folder.

I'll have access to fast disk, fast dual-core proc, fast video, but
for testing all I have is my pedestrian 2gHz, single-core with IDE
drive and older graphics.

To get a baseline, I timed just getting (LoadPicture) random 1280x720
BMP files into a picture box with autoredraw off. The average load
time was about 65ms, with almost no variation -- 63-67ms was the
range.

To my surprise, turning autoredraw ON reduced this to 60ms on average.
However, the variability went up, with 47-75ms as the range. Any ideas
why this should be so? It's very repeatable. Using the form itself
instead of a picbox makes no difference.

I converted the BMPs to JPGs to see if the smaller file size (95%
reduction: 2.5MB to 120KB) would change things -- to see if disk
transfer or CPU would be the bottleneck. JPGs were considerably slower
on my system, even with much reduced disk time, and variability was
all over the map. Plus, after some period of time using JPGs the
program hangs up.

So I'm casting about for the fastest method to sustain a transfer of
randomly selected disk images to the screen. What would help here? API
calls, DirectX, GDI+, 3rd party, ... ?

Thanks for any insights.

--
Jim

.



Relevant Pages

  • Daily #4116
    ... Resovled Images of LMC Microlensing Events Observed by a Telescope at ... caused by faint LMC stars. ... Testing the Stellar Coalescence and Accretion Disk Theories of Massive ...
    (sci.astro.hubble)
  • Sharpest Image Ever Obtained of a Circumstellar Disk Reveals Signs of Young Planets
    ... SHARPEST IMAGE EVER OBTAINED OF A CIRCUMSTELLAR DISK REVEALS SIGNS ... are signs of unseen planets. ... has acquired high resolution images of the nearby star AU ...
    (sci.astro)
  • NIB to Disk!
    ... portable) for the PC that splits the .nib image into tracks, marks sync bytes, makes sure the track start is at the start, removes garbage and shortens inter-sector gaps, all to fit the 53248 bits per track of a ..nib image into the merely 51024 bits per track of a well-adjusted Disk II drive. ... tracks as files from a DOS 3.3 disk and then writes them to a new disk. ... and transfers the track files to the disk images. ... the game: the demo program, the player disk copier, the start of the ...
    (comp.sys.apple2)
  • Re: Cromemco CP/M 5 1/4 disk
    ... My recollection is that the source code has conditional assembly in it for persci/stepper motor drives, and also for 8"/5.25", but the 5.25" was never tested. ... I don't think I supplied disk images, per se, but rather source and object code for the files. ...
    (comp.os.cpm)
  • Re: SVD 1s on eBay
    ... >>> am selling original SVD 1's on eBay with and without Apple dongles. ... I wanted an SVD for a long time but couldn't get ahold of Eric ... To sum it up the SVD let's you run disk images on your Apple computer ... You upload your disk images to the SVD and hook the SVD ...
    (comp.sys.apple2)

Loading