PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Algorithm to scale down a display-screen?

Vicente_cgn · 05 Aug 2002, 06:34 UTC
Hi there!

I'm a teammember of PocketHobbit, a project to port the C64-Emu "Frodo" to the PocketPC (http://www.omnytex.com/ph/)!

To display the C64-Screen properly we have to scale it down to make it fit on the PPC-Screen.
(C64: 384x272, PPC: 320x200(Landscape))

Now the team is looking for a fast algorithm to do this in a way, that we'll have a display as fast and clean as possible!

Is someone here who could help us? That would be really great because it's our first hurdle and it seems to be the biggest as long as we don't know how to handle it!

Thx,
-Vic-
hmm, bilinear filtering? should give good visual effects and be acceptable in performace(with some asm).
Read some older demoscene discmags/articles.. check also www.hugi.de , I think it was described in it..somewhere:)
I'm willing to look at this over the next couple of weeks. I've mailed Frank.

Cheers,

Ref.
Vicente_cgn · 05 Aug 2002, 11:21 UTC
Thx a lot! :-)))

Bye,
-Vic-
If the original display is palettized, there are very fast ways to do bilerp. BTW, you should also consider using the LCD subpixels to get an even more crisp rescaled version. I believe some other emu's do that as well.

If you need help with the bilerp stuff (info, no code;) ), just let me know.
Thanks Phantom, I'll give you a shout when I've got around to starting things. :)