Home
last modified time | relevance | path

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

/external/qemu/distrib/sdl-1.2.15/src/video/
DSDL_stretch.c202 int SDL_SoftStretch(SDL_Surface *src, SDL_Rect *srcrect, in SDL_SoftStretch() argument
228 if ( srcrect ) { in SDL_SoftStretch()
229 if ( (srcrect->x < 0) || (srcrect->y < 0) || in SDL_SoftStretch()
230 ((srcrect->x+srcrect->w) > src->w) || in SDL_SoftStretch()
231 ((srcrect->y+srcrect->h) > src->h) ) { in SDL_SoftStretch()
240 srcrect = &full_src; in SDL_SoftStretch()
281 inc = (srcrect->h << 16) / dstrect->h; in SDL_SoftStretch()
282 src_row = srcrect->y; in SDL_SoftStretch()
288 (generate_rowbytes(srcrect->w, dstrect->w, bpp) < 0) ) { in SDL_SoftStretch()
299 + (srcrect->x*bpp); in SDL_SoftStretch()
[all …]
DSDL_blit.c43 static int SDL_SoftBlit(SDL_Surface *src, SDL_Rect *srcrect, in SDL_SoftBlit() argument
73 if ( okay && srcrect->w && srcrect->h ) { in SDL_SoftBlit()
79 (Uint16)srcrect->y*src->pitch + in SDL_SoftBlit()
80 (Uint16)srcrect->x*src->format->BytesPerPixel; in SDL_SoftBlit()
81 info.s_width = srcrect->w; in SDL_SoftBlit()
82 info.s_height = srcrect->h; in SDL_SoftBlit()
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,
DSDL_surface.c407 int SDL_LowerBlit (SDL_Surface *src, SDL_Rect *srcrect, in SDL_LowerBlit() argument
425 hw_srcrect = *srcrect; in SDL_LowerBlit()
428 srcrect = &hw_srcrect; in SDL_LowerBlit()
440 return(do_blit(src, srcrect, dst, dstrect)); in SDL_LowerBlit()
444 int SDL_UpperBlit (SDL_Surface *src, SDL_Rect *srcrect, in SDL_UpperBlit() argument
467 if(srcrect) { in SDL_UpperBlit()
470 srcx = srcrect->x; in SDL_UpperBlit()
471 w = srcrect->w; in SDL_UpperBlit()
481 srcy = srcrect->y; in SDL_UpperBlit()
482 h = srcrect->h; in SDL_UpperBlit()
DSDL_RLEaccel.c784 Uint8 *dstbuf, SDL_Rect *srcrect, unsigned alpha) in RLEClipBlit() argument
790 int linecount = srcrect->h; \ in RLEClipBlit()
792 int left = srcrect->x; \ in RLEClipBlit()
793 int right = left + srcrect->w; \ in RLEClipBlit()
840 int SDL_RLEBlit(SDL_Surface *src, SDL_Rect *srcrect, in SDL_RLEBlit() argument
865 int vskip = srcrect->y; in SDL_RLEBlit()
902 if ( srcrect->x || srcrect->w != src->w ) { in SDL_RLEBlit()
903 RLEClipBlit(w, srcbuf, dst, dstbuf, srcrect, alpha); in SDL_RLEBlit()
909 int linecount = srcrect->h; \ in SDL_RLEBlit()
1016 Uint8 *dstbuf, SDL_Rect *srcrect) in RLEAlphaClipBlit() argument
[all …]
DSDL_stretch_c.h27 extern int SDL_SoftStretch(SDL_Surface *src, SDL_Rect *srcrect,
/external/qemu/distrib/sdl-1.2.15/src/video/windx5/
DSDL_dx5yuv.c254 RECT srcrect, dstrect; in DX5_DisplayYUVOverlay() local
257 srcrect.top = src->y; in DX5_DisplayYUVOverlay()
258 srcrect.bottom = srcrect.top+src->h; in DX5_DisplayYUVOverlay()
259 srcrect.left = src->x; in DX5_DisplayYUVOverlay()
260 srcrect.right = srcrect.left+src->w; in DX5_DisplayYUVOverlay()
266 result = IDirectDrawSurface3_UpdateOverlay(surface, &srcrect, in DX5_DisplayYUVOverlay()
273 result = IDirectDrawSurface3_Blt(SDL_primary, &dstrect, surface, &srcrect, in DX5_DisplayYUVOverlay()
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/
DSDL_fbriva.c111 static int HWAccelBlit(SDL_Surface *src, SDL_Rect *srcrect, in HWAccelBlit() argument
122 return(src->map->sw_blit(src, srcrect, dst, dstrect)); in HWAccelBlit()
140 srcX += srcrect->x; in HWAccelBlit()
141 srcY += srcrect->y; in HWAccelBlit()
DSDL_fbmatrox.c120 static int HWAccelBlit(SDL_Surface *src, SDL_Rect *srcrect, in HWAccelBlit() argument
134 return(src->map->sw_blit(src, srcrect, dst, dstrect)); in HWAccelBlit()
152 srcX += srcrect->x; in HWAccelBlit()
153 srcY += srcrect->y; in HWAccelBlit()
DSDL_fb3dfx.c93 static int HWAccelBlit(SDL_Surface *src, SDL_Rect *srcrect, in HWAccelBlit() argument
121 srcX = srcrect->x; in HWAccelBlit()
122 srcY = srcrect->y; in HWAccelBlit()
/external/qemu/distrib/sdl-1.2.15/include/
DSDL_video.h166 typedef int (*SDL_blit)(struct SDL_Surface *src, SDL_Rect *srcrect,
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/
DSDL_dspvideo.c177 static int DSp_HWAccelBlit(SDL_Surface *src, SDL_Rect *srcrect,
1144 static int DSp_HWAccelBlit(SDL_Surface *src, SDL_Rect *srcrect, in DSp_HWAccelBlit() argument
1157 SetRect (&src_rect, srcrect->x, srcrect->y, srcrect->x + srcrect->w, srcrect->y + srcrect->h); in DSp_HWAccelBlit()
/external/qemu/distrib/sdl-1.2.15/src/video/photon/
DSDL_ph_image.c836 int ph_HWAccelBlit(SDL_Surface* src, SDL_Rect* srcrect, SDL_Surface* dst, SDL_Rect* dstrect) in ph_HWAccelBlit() argument
849 srcarea.pos.x=srcrect->x; in ph_HWAccelBlit()
850 srcarea.pos.y=srcrect->y; in ph_HWAccelBlit()
851 srcarea.size.w=srcrect->w; in ph_HWAccelBlit()
852 srcarea.size.h=srcrect->h; in ph_HWAccelBlit()
DSDL_ph_image_c.h51 extern int ph_HWAccelBlit(SDL_Surface* src, SDL_Rect *srcrect, SDL_Surface* dst, SDL_Rect* dstrect);
/external/qemu/distrib/sdl-1.2.15/src/video/directfb/
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, in DirectFB_HWAccelBlit() argument
876 DFBRectangle sr = { srcrect->x, srcrect->y, srcrect->w, srcrect->h }; in DirectFB_HWAccelBlit()
/external/qemu/distrib/sdl-1.2.15/src/video/dga/
DSDL_dgavideo.c864 static int HWAccelBlit(SDL_Surface *src, SDL_Rect *srcrect, in HWAccelBlit() argument
881 srcx += srcrect->x; in HWAccelBlit()
882 srcy += srcrect->y; in HWAccelBlit()
886 w = srcrect->w; in HWAccelBlit()
887 h = srcrect->h; in HWAccelBlit()
/external/qemu/distrib/sdl-1.2.15/src/video/nds/
DSDL_ndsvideo.c84 static int HWAccelBlit(SDL_Surface *src, SDL_Rect *srcrect, in HWAccelBlit() argument