Welcome, Guest. Please login or register.

Author Topic: PPC Gif datatype  (Read 1001 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show all replies
Re: PPC Gif datatype
« on: February 25, 2007, 10:47:42 AM »
If you think of the most common uses of gif, its probably the case that such a datatype would be pointless.

Image formats that are used for large, detailed images benefit from the horsepower. As you go down the data size / decoding complexity scale though, context switching alone probably becomes the dominant factor.

For images below a certain size for "simple" formats like gif (which let's face it, is used a lot for small images) flushing the datacache of your PPC and 68K likely involves moving more data than decoding this smiley :-D for example. In such cases, it would actually be slower to call the PPC than just do it on the 68K.

-edit-

In my opinion, smart datatypes for WarpUP / PowerUP should estimate the output data size and use a PPC or 68K decoder depending on that. There could even be a preference setting to determine that threshold, rather than hard coding anything.
int p; // A