Home
last modified time | relevance | path

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

/external/qemu/distrib/sdl-1.2.12/src/video/
DSDL_stretch.c173 int SDL_SoftStretch(SDL_Surface *src, SDL_Rect *srcrect, in SDL_SoftStretch() argument
197 if ( srcrect ) { in SDL_SoftStretch()
198 if ( (srcrect->x < 0) || (srcrect->y < 0) || in SDL_SoftStretch()
199 ((srcrect->x+srcrect->w) > src->w) || in SDL_SoftStretch()
200 ((srcrect->y+srcrect->h) > src->h) ) { in SDL_SoftStretch()
209 srcrect = &full_src; in SDL_SoftStretch()
250 inc = (srcrect->h << 16) / dstrect->h; in SDL_SoftStretch()
251 src_row = srcrect->y; in SDL_SoftStretch()
258 (generate_rowbytes(srcrect->w, dstrect->w, bpp) < 0) ) { in SDL_SoftStretch()
269 + (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_RLEaccel.c783 Uint8 *dstbuf, SDL_Rect *srcrect, unsigned alpha) in RLEClipBlit() argument
789 int linecount = srcrect->h; \ in RLEClipBlit()
791 int left = srcrect->x; \ in RLEClipBlit()
792 int right = left + srcrect->w; \ in RLEClipBlit()
839 int SDL_RLEBlit(SDL_Surface *src, SDL_Rect *srcrect, in SDL_RLEBlit() argument
864 int vskip = srcrect->y; in SDL_RLEBlit()
901 if ( srcrect->x || srcrect->w != src->w ) { in SDL_RLEBlit()
902 RLEClipBlit(w, srcbuf, dst, dstbuf, srcrect, alpha); in SDL_RLEBlit()
908 int linecount = srcrect->h; \ in SDL_RLEBlit()
1015 Uint8 *dstbuf, SDL_Rect *srcrect) in RLEAlphaClipBlit() argument
[all …]
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_stretch_c.h27 extern int SDL_SoftStretch(SDL_Surface *src, SDL_Rect *srcrect,
/external/qemu/distrib/sdl-1.2.12/src/video/cybergfx/
DSDL_cgxaccel.c30 static int CGX_HWAccelBlit(SDL_Surface *src, SDL_Rect *srcrect,
203 static int CGX_HWAccelBlit(SDL_Surface *src, SDL_Rect *srcrect, in CGX_HWAccelBlit() argument
214 BMKBRP(src->hwdata->bmap,srcrect->x,srcrect->y, in CGX_HWAccelBlit()
216 srcrect->w,srcrect->h,0xc0,src->hwdata->mask); in CGX_HWAccelBlit()
227 BMKBRP(src->hwdata->bmap,srcrect->x,srcrect->y, in CGX_HWAccelBlit()
229 srcrect->w,srcrect->h,0xc0,src->hwdata->mask); in CGX_HWAccelBlit()
235 …c->hwdata->bmap,srcrect->x,srcrect->y,SDL_RastPort,dstrect->x+SDL_Window->BorderLeft,dstrect->y+SD… in CGX_HWAccelBlit()
238 …BBB(src->hwdata->bmap,srcrect->x,srcrect->y,dst->hwdata->bmap,dstrect->x,dstrect->y,srcrect->w,src… in CGX_HWAccelBlit()
/external/qemu/distrib/sdl-1.2.12/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.c1885 static int DX5_HWAccelBlit(SDL_Surface *src, SDL_Rect *srcrect, argument
1897 rect.top = (LONG)srcrect->y;
1898 rect.bottom = (LONG)srcrect->y+srcrect->h;
1899 rect.left = (LONG)srcrect->x;
1900 rect.right = (LONG)srcrect->x+srcrect->w;
1933 return(src->map->sw_blit(src, srcrect, dst, dstrect));
/external/qemu/distrib/sdl-1.2.12/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
123 srcX = srcrect->x; in HWAccelBlit()
124 srcY = srcrect->y; in HWAccelBlit()
/external/qemu/distrib/sdl-1.2.12/include/
DSDL_video.h144 typedef int (*SDL_blit)(struct SDL_Surface *src, SDL_Rect *srcrect,
699 (SDL_Surface *src, SDL_Rect *srcrect,
705 (SDL_Surface *src, SDL_Rect *srcrect,
913 extern DECLSPEC int SDLCALL SDL_SoftStretch(SDL_Surface *src, SDL_Rect *srcrect,
/external/qemu/distrib/sdl-1.2.12/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.12/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.12/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.12/src/video/dga/
DSDL_dgavideo.c860 static int HWAccelBlit(SDL_Surface *src, SDL_Rect *srcrect, in HWAccelBlit() argument
877 srcx += srcrect->x; in HWAccelBlit()
878 srcy += srcrect->y; in HWAccelBlit()
882 w = srcrect->w; in HWAccelBlit()
883 h = srcrect->h; in HWAccelBlit()