Re: Rapid gfx display Qs
- From: "Schmidt" <sss@xxxxxxxxx>
- Date: Sun, 18 May 2008 18:02:03 +0200
"Jim Mack" <jmack@xxxxxxxxxxxxxxx> schrieb im Newsbeitrag
news:OD8F23JuIHA.4736@xxxxxxxxxxxxxxxxxxxxxxx
I won't have the actual images for a couple of weeks, so I'm just<g>
using a completely random set of images that I resized to 1280x720.
Some are rather surprising when they pop up, no matter what the
colors. (-:
I have in my library some very fast ASM code to swap red/blueIf you look at the JPG-encoding-routine (sitting in Form_Load),
on entire bitmaps. At least it will be fast enough to do a one-time
swap-and-encode on the (now I'm told 85,000) images in my
final set.
this routine already does the Color swapping directly in the
Intel-Lib, simply by telling the intel-routine, that the incoming
Raw-DIB (which has Win-conform 24BitBGR-Colors) is
encoded in 24BitRGB (which is of course wrong) - and the
resulting JPG is then internally encoded with swapped R and B,
because that's what we want, to ease the burden for the
decoding-routine, where each milisecond counts - a slightly
optimized VB-native-Code routine needs ca. 8msec for color-
swapping - maybe with ASM you can get this down to 2 or
3msec, but as said, this wouldn't be necessary, if your JPGs
already reside encoded with swapped Colors on your disk
(also a nice "visual encryption" - that's what I would tell
my customer about these weird coloring of these JPGs ;-).
I haven't tried the newer version yet, and if it's deliberatelyIt's not much on my faster system, only 0.5msec or so -
slower, I probably won't.
but the more "compatible" version - probably useful for
others, who want to distribute a solution to "unknown
customer-hardware".
It's my understanding that using a flipping chain with 2If you fiddled that out, then I would be interested in your
backbuffers can eliminate the need to delay updates
while waiting for the VBlank to flip. I don't have the
display memory now to support that (I don't think),
but when I do, I'll give that a try too.
results (the "flipping-code") - haven't played around with
that DX-stuff yet.
Olaf
.
- Follow-Ups:
- Re: Rapid gfx display Qs
- From: Jim Mack
- Re: Rapid gfx display Qs
- References:
- Rapid gfx display Qs
- From: Jim Mack
- Re: Rapid gfx display Qs
- From: Larry Serflaten
- Re: Rapid gfx display Qs
- From: Jim Mack
- Re: Rapid gfx display Qs
- From: Schmidt
- Re: Rapid gfx display Qs
- From: Jim Mack
- Re: Rapid gfx display Qs
- From: Schmidt
- Re: Rapid gfx display Qs
- From: Schmidt
- Re: Rapid gfx display Qs
- From: Jim Mack
- Re: Rapid gfx display Qs
- From: Schmidt
- Re: Rapid gfx display Qs
- From: Jim Mack
- Rapid gfx display Qs
- Prev by Date: Re: VB crash - Can anybody read a memory dump?
- Next by Date: Re: VB crash - Can anybody read a memory dump?
- Previous by thread: Re: Rapid gfx display Qs
- Next by thread: Re: Rapid gfx display Qs
- Index(es):
Relevant Pages
|