Searched refs:srcrect (Results 1 - 18 of 18) sorted by relevance

/external/qemu/distrib/sdl-1.2.15/src/video/
H A DSDL_stretch_c.h27 extern int SDL_SoftStretch(SDL_Surface *src, SDL_Rect *srcrect,
H A DSDL_RLEaccel_c.h27 extern int SDL_RLEBlit(SDL_Surface *src, SDL_Rect *srcrect,
29 extern int SDL_RLEAlphaBlit(SDL_Surface *src, SDL_Rect *srcrect,
H A DSDL_stretch.c202 int SDL_SoftStretch(SDL_Surface *src, SDL_Rect *srcrect, argument
228 if ( srcrect ) {
229 if ( (srcrect->x < 0) || (srcrect->y < 0) ||
230 ((srcrect->x+srcrect->w) > src->w) ||
231 ((srcrect->y+srcrect->h) > src->h) ) {
240 srcrect = &full_src;
281 inc = (srcrect
[all...]
H A DSDL_blit.c43 static int SDL_SoftBlit(SDL_Surface *src, SDL_Rect *srcrect, argument
73 if ( okay && srcrect->w && srcrect->h ) {
79 (Uint16)srcrect->y*src->pitch +
80 (Uint16)srcrect->x*src->format->BytesPerPixel;
81 info.s_width = srcrect->w;
82 info.s_height = srcrect->h;
H A DSDL_RLEaccel.c784 Uint8 *dstbuf, SDL_Rect *srcrect, unsigned alpha)
790 int linecount = srcrect->h; \
792 int left = srcrect->x; \
793 int right = left + srcrect->w; \
840 int SDL_RLEBlit(SDL_Surface *src, SDL_Rect *srcrect, argument
865 int vskip = srcrect->y;
902 if ( srcrect->x || srcrect->w != src->w ) {
903 RLEClipBlit(w, srcbuf, dst, dstbuf, srcrect, alpha);
909 int linecount = srcrect
783 RLEClipBlit(int w, Uint8 *srcbuf, SDL_Surface *dst, Uint8 *dstbuf, SDL_Rect *srcrect, unsigned alpha) argument
1015 RLEAlphaClipBlit(int w, Uint8 *srcbuf, SDL_Surface *dst, Uint8 *dstbuf, SDL_Rect *srcrect) argument
1107 SDL_RLEAlphaBlit(SDL_Surface *src, SDL_Rect *srcrect, SDL_Surface *dst, SDL_Rect *dstrect) argument
[all...]
H A DSDL_surface.c407 int SDL_LowerBlit (SDL_Surface *src, SDL_Rect *srcrect, argument
425 hw_srcrect = *srcrect;
428 srcrect = &hw_srcrect;
440 return(do_blit(src, srcrect, dst, dstrect));
444 int SDL_UpperBlit (SDL_Surface *src, SDL_Rect *srcrect, argument
467 if(srcrect) {
470 srcx = srcrect->x;
471 w = srcrect->w;
481 srcy = srcrect->y;
482 h = srcrect
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/windx5/
H A DSDL_dx5yuv.c254 RECT srcrect, dstrect; local
257 srcrect.top = src->y;
258 srcrect.bottom = srcrect.top+src->h;
259 srcrect.left = src->x;
260 srcrect.right = srcrect.left+src->w;
266 result = IDirectDrawSurface3_UpdateOverlay(surface, &srcrect,
273 result = IDirectDrawSurface3_Blt(SDL_primary, &dstrect, surface, &srcrect,
H A DSDL_dx5video.c1902 static int DX5_HWAccelBlit(SDL_Surface *src, SDL_Rect *srcrect, argument
1914 rect.top = (LONG)srcrect->y;
1915 rect.bottom = (LONG)srcrect->y+srcrect->h;
1916 rect.left = (LONG)srcrect->x;
1917 rect.right = (LONG)srcrect->x+srcrect->w;
1950 return(src->map->sw_blit(src, srcrect, dst, dstrect));
/external/qemu/distrib/sdl-1.2.15/src/video/fbcon/
H A DSDL_fbriva.c111 static int HWAccelBlit(SDL_Surface *src, SDL_Rect *srcrect, argument
122 return(src->map->sw_blit(src, srcrect, dst, dstrect));
140 srcX += srcrect->x;
141 srcY += srcrect->y;
H A DSDL_fb3dfx.c93 static int HWAccelBlit(SDL_Surface *src, SDL_Rect *srcrect, argument
121 srcX = srcrect->x;
122 srcY = srcrect->y;
H A DSDL_fbmatrox.c120 static int HWAccelBlit(SDL_Surface *src, SDL_Rect *srcrect, argument
134 return(src->map->sw_blit(src, srcrect, dst, dstrect));
152 srcX += srcrect->x;
153 srcY += srcrect->y;
/external/qemu/distrib/sdl-1.2.15/src/video/photon/
H A DSDL_ph_image_c.h51 extern int ph_HWAccelBlit(SDL_Surface* src, SDL_Rect *srcrect, SDL_Surface* dst, SDL_Rect* dstrect);
H A DSDL_ph_image.c836 int ph_HWAccelBlit(SDL_Surface* src, SDL_Rect* srcrect, SDL_Surface* dst, SDL_Rect* dstrect) argument
849 srcarea.pos.x=srcrect->x;
850 srcarea.pos.y=srcrect->y;
851 srcarea.size.w=srcrect->w;
852 srcarea.size.h=srcrect->h;
/external/qemu/distrib/sdl-1.2.15/include/
H A DSDL_video.h166 typedef int (*SDL_blit)(struct SDL_Surface *src, SDL_Rect *srcrect,
674 * the same size. If either 'srcrect' or 'dstrect' are NULL, the entire
676 * in 'srcrect' and 'dstrect' after all clipping is performed.
749 (SDL_Surface *src, SDL_Rect *srcrect,
755 (SDL_Surface *src, SDL_Rect *srcrect,
972 extern DECLSPEC int SDLCALL SDL_SoftStretch(SDL_Surface *src, SDL_Rect *srcrect,
/external/qemu/distrib/sdl-1.2.15/src/video/macdsp/
H A DSDL_dspvideo.c177 static int DSp_HWAccelBlit(SDL_Surface *src, SDL_Rect *srcrect,
1144 static int DSp_HWAccelBlit(SDL_Surface *src, SDL_Rect *srcrect, argument
1157 SetRect (&src_rect, srcrect->x, srcrect->y, srcrect->x + srcrect->w, srcrect->y + srcrect->h);
/external/qemu/distrib/sdl-1.2.15/src/video/dga/
H A DSDL_dgavideo.c864 static int HWAccelBlit(SDL_Surface *src, SDL_Rect *srcrect, argument
881 srcx += srcrect->x;
882 srcy += srcrect->y;
886 w = srcrect->w;
887 h = srcrect->h;
/external/qemu/distrib/sdl-1.2.15/src/video/directfb/
H A DSDL_DirectFB_video.c68 static int DirectFB_HWAccelBlit(SDL_Surface *src, SDL_Rect *srcrect,
871 static int DirectFB_HWAccelBlit(SDL_Surface *src, SDL_Rect *srcrect, argument
876 DFBRectangle sr = { srcrect->x, srcrect->y, srcrect->w, srcrect->h };
/external/qemu/distrib/sdl-1.2.15/src/video/nds/
H A DSDL_ndsvideo.c84 static int HWAccelBlit(SDL_Surface *src, SDL_Rect *srcrect, argument

Completed in 120 milliseconds