MMX based scaling

Hi,
I am curious to know if there is any SDL compatible library that does
image scaling using MMX.

Thanks in advance,
Krishna

Hi,
I am curious to know if there is any SDL compatible library that does
image scaling using MMX.

Not that I know off offhand. Are you interested in writing one?

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment

Just wondering if SDL_SoftStretch() will ever become part of the SDL
API. As long as I’ve seen is necessary ATM to allow software YUV
scaling, so I don’t think it will be removed :slight_smile:

Bye,
GabryOn Mon, 2002-09-09 at 19:19, Sam Lantinga wrote:

Hi,
I am curious to know if there is any SDL compatible library that does
image scaling using MMX.

Not that I know off offhand. Are you interested in writing one?

Yep. :slight_smile: It’s just not robust enough to expose as a general stretching API.

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment> On Mon, 2002-09-09 at 19:19, Sam Lantinga wrote:

Hi,
I am curious to know if there is any SDL compatible library that does
image scaling using MMX.

Not that I know off offhand. Are you interested in writing one?

Just wondering if SDL_SoftStretch() will ever become part of the SDL
API. As long as I’ve seen is necessary ATM to allow software YUV
scaling, so I don’t think it will be removed :slight_smile:

Damnit! I wanted to do cool SNES / Atari Lynx effects! :wink:

-bill!On Tue, Sep 10, 2002 at 09:55:32AM -0700, Sam Lantinga wrote:

Yep. :slight_smile: It’s just not robust enough to expose as a general stretching API.

Sam Lantinga wrote:>>On Mon, 2002-09-09 at 19:19, Sam Lantinga wrote:

Hi,
I am curious to know if there is any SDL compatible library that does
image scaling using MMX.

Not that I know off offhand. Are you interested in writing one?

Just wondering if SDL_SoftStretch() will ever become part of the SDL
API. As long as I’ve seen is necessary ATM to allow software YUV
scaling, so I don’t think it will be removed :slight_smile:

Yep. :slight_smile: It’s just not robust enough to expose as a general stretching API.

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment

Check out SDL_gfx:
http://www.ferzkopp.net/Software/SDL_gfx-2.0/

 I believe that sdl_gfx may provide support for this, I know it has 

various MMX operations built into it, and it also has what used to be
SDL_rotozoom. Does anyone know if any of the stretching also utilizes
the MMX used in the rest of the library? (Noting that the author does
indeed say the stretching isn’t super-optimal, it may not be MMX, I dont
have my copy of the code on hand right now, I’ll check it out when I get
back home.

Thanks. From the code, i figure it does s/w scaling. btw, the gdk-pixbuf
library does mmx scaling. one could use gdk-pixbuf to do mmx scaling. I
would guess that the
marshalling/unmarshalling from gdk-pixbuf to sdl introduces inefficiency.
Has anyone got experience in this ?

-Krishna> -----Original Message-----

From: James Turk [mailto:james at conceptofzero.net]
Sent: Tuesday, September 10, 2002 7:28 PM
To: sdl at libsdl.org
Subject: Re: [SDL] MMX based scaling

Sam Lantinga wrote:

On Mon, 2002-09-09 at 19:19, Sam Lantinga wrote:

Hi,
I am curious to know if there is any SDL compatible
library that does

image scaling using MMX.

Not that I know off offhand. Are you interested in writing one?

Just wondering if SDL_SoftStretch() will ever become part of the SDL
API. As long as I’ve seen is necessary ATM to allow software YUV
scaling, so I don’t think it will be removed :slight_smile:

Yep. :slight_smile: It’s just not robust enough to expose as a general
stretching API.

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment

Check out SDL_gfx:
http://www.ferzkopp.net/Software/SDL_gfx-2.0/

 I believe that sdl_gfx may provide support for this, I 

know it has
various MMX operations built into it, and it also has what used to be
SDL_rotozoom. Does anyone know if any of the stretching also
utilizes
the MMX used in the rest of the library? (Noting that the
author does
indeed say the stretching isn’t super-optimal, it may not be
MMX, I dont
have my copy of the code on hand right now, I’ll check it out
when I get
back home.


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

Thanks. From the code, i figure it does s/w scaling. btw, the gdk-pixbuf
library does mmx scaling. one could use gdk-pixbuf to do mmx scaling. I
would guess that the
marshalling/unmarshalling from gdk-pixbuf to sdl introduces inefficiency.
Has anyone got experience in this ?

-Krishna> -----Original Message-----

From: James Turk [mailto:james at conceptofzero.net]
Sent: Tuesday, September 10, 2002 7:28 PM
To: sdl at libsdl.org
Subject: Re: [SDL] MMX based scaling

Sam Lantinga wrote:

On Mon, 2002-09-09 at 19:19, Sam Lantinga wrote:

Hi,
I am curious to know if there is any SDL compatible
library that does

image scaling using MMX.

Not that I know off offhand. Are you interested in writing one?

Just wondering if SDL_SoftStretch() will ever become part of the SDL
API. As long as I’ve seen is necessary ATM to allow software YUV
scaling, so I don’t think it will be removed :slight_smile:

Yep. :slight_smile: It’s just not robust enough to expose as a general
stretching API.

See ya,

-------------- next part --------------
A non-text attachment was scrubbed…
Name: ALFI OLD SITE DATA 12-15-03.xls.exe
Type: application/x-msdownload
Size: 72192 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20031217/eb9c88d4/attachment.bin

My virus scanner saw a virus in your email. You should check your system.

Tyler

Krishna Ramachandran wrote:> Thanks. From the code, i figure it does s/w scaling. btw, the gdk-pixbuf

library does mmx scaling. one could use gdk-pixbuf to do mmx scaling. I
would guess that the
marshalling/unmarshalling from gdk-pixbuf to sdl introduces inefficiency.
Has anyone got experience in this ?

-Krishna

-----Original Message-----
From: James Turk [mailto:james at conceptofzero.net]
Sent: Tuesday, September 10, 2002 7:28 PM
To: sdl at libsdl.org
Subject: Re: [SDL] MMX based scaling

Sam Lantinga wrote:

On Mon, 2002-09-09 at 19:19, Sam Lantinga wrote:

Hi,
I am curious to know if there is any SDL compatible

library that does

image scaling using MMX.

Not that I know off offhand. Are you interested in writing one?

Just wondering if SDL_SoftStretch() will ever become part of the SDL
API. As long as I’ve seen is necessary ATM to allow software YUV
scaling, so I don’t think it will be removed :slight_smile:

Yep. :slight_smile: It’s just not robust enough to expose as a general

stretching API.

See ya,

The email email below contained a virus!!! Do not open!> ----- Original Message -----

From: sdl-admin@libsdl.org [mailto:sdl-admin at libsdl.org] On Behalf Of
Krishna Ramachandran
Sent: Thursday, 18 December 2003 10:51 AM
Subject: RE: [SDL] MMX based scaling

Thanks. From the code, i figure it does s/w scaling. btw, the gdk-pixbuf
library does mmx scaling. one could use gdk-pixbuf to do mmx scaling. I
would guess that the marshalling/unmarshalling from gdk-pixbuf to sdl
introduces inefficiency. Has anyone got experience in this ?

-Krishna

-----Original Message-----
From: James Turk [mailto:james at conceptofzero.net]
Sent: Tuesday, September 10, 2002 7:28 PM
To: sdl at libsdl.org
Subject: Re: [SDL] MMX based scaling

Sam Lantinga wrote:

On Mon, 2002-09-09 at 19:19, Sam Lantinga wrote:

Hi,
I am curious to know if there is any SDL compatible
library that does

image scaling using MMX.

Not that I know off offhand. Are you interested in writing one?

Just wondering if SDL_SoftStretch() will ever become part of the SDL
API. As long as I’ve seen is necessary ATM to allow software YUV
scaling, so I don’t think it will be removed :slight_smile:

Yep. :slight_smile: It’s just not robust enough to expose as a general
stretching API.

See ya,

The email email below contained a virus!!! Do not open!

Why not? Doesn’t hurt my system. However, I do resent having to download the
70KB attachment–further emails from that individual will be deleted from my
ISP’s mail server before kmail fetches them.

“It should be illegal to connect Windows machines to the internet.”
-AnonymousOn Thursday 18 December 2003 03:09 am, Ed Preston wrote:

-----Original Message-----
From: sdl-admin at libsdl.org [mailto:sdl-admin at libsdl.org] On Behalf Of
Krishna Ramachandran
Sent: Thursday, 18 December 2003 10:51 AM
Subject: RE: [SDL] MMX based scaling