Scaleing

I know that some prity fast scaleing code has been implemented for
smpeg. does SDL have any functions for scaleing?

would moving the scaleing code to SDL be good idea? i am wanting to use
it for something im working on that currently has its own really slow
scaleing code and i dont want to bother digging through the smpeg
sources and think it would be beter to have it in SDL anyways