zenilib
0.5.3.0
|
Go to the source code of this file.
Macros | |
#define | DEFINE_COPY_ROW(name, type) |
Functions | |
static void | copy_row3 (Uint8 *src, int src_w, Uint8 *dst, int dst_w) |
int | SDL_SoftStretch (SDL_Surface *src, const SDL_Rect *srcrect, SDL_Surface *dst, const SDL_Rect *dstrect) |
Perform a fast, low quality, stretch blit between two surfaces of the same pixel format. More... | |
int SDL_SoftStretch | ( | SDL_Surface * | src, |
const SDL_Rect * | srcrect, | ||
SDL_Surface * | dst, | ||
const SDL_Rect * | dstrect | ||
) |
Perform a fast, low quality, stretch blit between two surfaces of the same pixel format.
Definition at line 203 of file SDL_stretch.c.
References SDL_PixelFormat::BytesPerPixel, copy_row3(), SDL_Surface::format, SDL_PixelFormat::format, SDL_Rect::h, SDL_Surface::h, if(), NULL, SDL_Surface::pitch, SDL_Surface::pixels, pop, SDL_FALSE, SDL_LockSurface(), SDL_MUSTLOCK, SDL_SetError(), SDL_TRUE, SDL_UnlockSurface(), SDL_Rect::w, SDL_Surface::w, SDL_Rect::x, and SDL_Rect::y.
Referenced by SDL_LowerBlitScaled(), and SDL_SW_CopyYUVToRGB().