Home
last modified time | relevance | path

Searched refs:dstrect (Results 1 – 21 of 21) sorted by relevance

/external/qemu/distrib/sdl-1.2.15/src/video/
DSDL_surface.c408 SDL_Surface *dst, SDL_Rect *dstrect) in SDL_LowerBlit() argument
431 hw_dstrect = *dstrect; in SDL_LowerBlit()
434 dstrect = &hw_dstrect; in SDL_LowerBlit()
440 return(do_blit(src, srcrect, dst, dstrect)); in SDL_LowerBlit()
445 SDL_Surface *dst, SDL_Rect *dstrect) in SDL_UpperBlit() argument
461 if ( dstrect == NULL ) { in SDL_UpperBlit()
463 dstrect = &fulldst; in SDL_UpperBlit()
474 dstrect->x -= srcx; in SDL_UpperBlit()
485 dstrect->y -= srcy; in SDL_UpperBlit()
503 dx = clip->x - dstrect->x; in SDL_UpperBlit()
[all …]
DSDL_stretch.c203 SDL_Surface *dst, SDL_Rect *dstrect) in SDL_SoftStretch() argument
242 if ( dstrect ) { in SDL_SoftStretch()
243 if ( (dstrect->x < 0) || (dstrect->y < 0) || in SDL_SoftStretch()
244 ((dstrect->x+dstrect->w) > dst->w) || in SDL_SoftStretch()
245 ((dstrect->y+dstrect->h) > dst->h) ) { in SDL_SoftStretch()
254 dstrect = &full_dst; in SDL_SoftStretch()
281 inc = (srcrect->h << 16) / dstrect->h; in SDL_SoftStretch()
283 dst_row = dstrect->y; in SDL_SoftStretch()
288 (generate_rowbytes(srcrect->w, dstrect->w, bpp) < 0) ) { in SDL_SoftStretch()
294 for ( dst_maxrow = dst_row+dstrect->h; dst_row<dst_maxrow; ++dst_row ) { in SDL_SoftStretch()
[all …]
DSDL_yuv.c83 int SDL_DisplayYUVOverlay(SDL_Overlay *overlay, SDL_Rect *dstrect) in SDL_DisplayYUVOverlay() argument
89 if ( overlay == NULL || dstrect == NULL ) { in SDL_DisplayYUVOverlay()
99 dstx = dstrect->x; in SDL_DisplayYUVOverlay()
100 dsty = dstrect->y; in SDL_DisplayYUVOverlay()
101 dstw = dstrect->w; in SDL_DisplayYUVOverlay()
102 dsth = dstrect->h; in SDL_DisplayYUVOverlay()
104 srcw += (dstx * overlay->w) / dstrect->w; in SDL_DisplayYUVOverlay()
106 srcx -= (dstx * overlay->w) / dstrect->w; in SDL_DisplayYUVOverlay()
111 srcw -= (extra * overlay->w) / dstrect->w; in SDL_DisplayYUVOverlay()
115 srch += (dsty * overlay->h) / dstrect->h; in SDL_DisplayYUVOverlay()
[all …]
DSDL_RLEaccel_c.h28 SDL_Surface *dst, SDL_Rect *dstrect);
30 SDL_Surface *dst, SDL_Rect *dstrect);
DSDL_blit.c44 SDL_Surface *dst, SDL_Rect *dstrect) in SDL_SoftBlit() argument
85 (Uint16)dstrect->y*dst->pitch + in SDL_SoftBlit()
86 (Uint16)dstrect->x*dst->format->BytesPerPixel; in SDL_SoftBlit()
87 info.d_width = dstrect->w; in SDL_SoftBlit()
88 info.d_height = dstrect->h; in SDL_SoftBlit()
DSDL_stretch_c.h28 SDL_Surface *dst, SDL_Rect *dstrect);
DSDL_RLEaccel.c841 SDL_Surface *dst, SDL_Rect *dstrect) in SDL_RLEBlit() argument
857 x = dstrect->x; in SDL_RLEBlit()
858 y = dstrect->y; in SDL_RLEBlit()
1108 SDL_Surface *dst, SDL_Rect *dstrect) in SDL_RLEAlphaBlit() argument
1122 x = dstrect->x; in SDL_RLEAlphaBlit()
1123 y = dstrect->y; in SDL_RLEAlphaBlit()
/external/qemu/distrib/sdl-1.2.15/src/video/fbcon/
DSDL_fb3dfx.c94 SDL_Surface *dst, SDL_Rect *dstrect) in HWAccelBlit() argument
123 dstX = dstrect->x; in HWAccelBlit()
124 dstY = dstrect->y; in HWAccelBlit()
130 srcX += (dstrect->w - 1); in HWAccelBlit()
131 dstX += (dstrect->w - 1); in HWAccelBlit()
135 srcY += (dstrect->h - 1); in HWAccelBlit()
136 dstY += (dstrect->h - 1); in HWAccelBlit()
156 tdfx_out32(DSTSIZE, dstrect->w | (dstrect->h << 16)); in HWAccelBlit()
DSDL_fbriva.c112 SDL_Surface *dst, SDL_Rect *dstrect) in HWAccelBlit() argument
122 return(src->map->sw_blit(src, srcrect, dst, dstrect)); in HWAccelBlit()
134 dstW = dstrect->w; in HWAccelBlit()
135 dstH = dstrect->h; in HWAccelBlit()
142 dstX += dstrect->x; in HWAccelBlit()
143 dstY += dstrect->y; in HWAccelBlit()
DSDL_fbmatrox.c121 SDL_Surface *dst, SDL_Rect *dstrect) in HWAccelBlit() argument
134 return(src->map->sw_blit(src, srcrect, dst, dstrect)); in HWAccelBlit()
146 w = dstrect->w; in HWAccelBlit()
147 h = dstrect->h; in HWAccelBlit()
154 dstX += dstrect->x; in HWAccelBlit()
155 dstY += dstrect->y; in HWAccelBlit()
/external/qemu/distrib/sdl-1.2.15/src/video/windx5/
DSDL_dx5yuv.c254 RECT srcrect, dstrect; in DX5_DisplayYUVOverlay() local
261 dstrect.top = SDL_bounds.top+dst->y; in DX5_DisplayYUVOverlay()
262 dstrect.left = SDL_bounds.left+dst->x; in DX5_DisplayYUVOverlay()
263 dstrect.bottom = dstrect.top+dst->h; in DX5_DisplayYUVOverlay()
264 dstrect.right = dstrect.left+dst->w; in DX5_DisplayYUVOverlay()
267 SDL_primary, &dstrect, DDOVER_SHOW, NULL); in DX5_DisplayYUVOverlay()
273 result = IDirectDrawSurface3_Blt(SDL_primary, &dstrect, surface, &srcrect, in DX5_DisplayYUVOverlay()
DSDL_dx5video.c434 static int DX5_FillHWRect(_THIS, SDL_Surface *dst, SDL_Rect *dstrect, Uint32 color);
1903 SDL_Surface *dst, SDL_Rect *dstrect) argument
1929 dstrect->x, dstrect->y, src_surface, &rect, flags);
1940 …printf(stderr, "Original dest rect: %dx%d at %d,%d\n", dstrect->w, dstrect->h, dstrect->x, dstrect
1943 dstrect->x, dstrect->y);
1950 return(src->map->sw_blit(src, srcrect, dst, dstrect));
1996 static int DX5_FillHWRect(_THIS, SDL_Surface *dst, SDL_Rect *dstrect, Uint32 color) argument
2004 fprintf(stderr, "HW accelerated fill at (%d,%d)\n", dstrect->x, dstrect->y);
2007 area.top = (LONG)dstrect->y;
2008 area.bottom = (LONG)dstrect->y+dstrect->h;
[all …]
/external/qemu/distrib/sdl-1.2.15/include/
DSDL_video.h167 struct SDL_Surface *dst, SDL_Rect *dstrect);
750 SDL_Surface *dst, SDL_Rect *dstrect);
756 SDL_Surface *dst, SDL_Rect *dstrect);
768 (SDL_Surface *dst, SDL_Rect *dstrect, Uint32 color);
820 extern DECLSPEC int SDLCALL SDL_DisplayYUVOverlay(SDL_Overlay *overlay, SDL_Rect *dstrect);
973 SDL_Surface *dst, SDL_Rect *dstrect);
/external/qemu/distrib/sdl-1.2.15/src/video/directfb/
DSDL_DirectFB_video.c63 static int DirectFB_FillHWRect(_THIS, SDL_Surface *dst, SDL_Rect *dstrect, Uint32 color);
69 SDL_Surface *dst, SDL_Rect *dstrect);
872 SDL_Surface *dst, SDL_Rect *dstrect) in DirectFB_HWAccelBlit() argument
877 DFBRectangle dr = { dstrect->x, dstrect->y, dstrect->w, dstrect->h }; in DirectFB_HWAccelBlit()
903 static int DirectFB_FillHWRect(_THIS, SDL_Surface *dst, SDL_Rect *dstrect, Uint32 color) in DirectFB_FillHWRect() argument
913 surface->FillRectangle (surface, dstrect->x, dstrect->y, dstrect->w, dstrect->h); in DirectFB_FillHWRect()
/external/qemu/distrib/sdl-1.2.15/src/video/macdsp/
DSDL_dspvideo.c178 SDL_Surface *dst, SDL_Rect *dstrect);
1145 SDL_Surface *dst, SDL_Rect *dstrect) in DSp_HWAccelBlit() argument
1158 SetRect (&dst_rect, dstrect->x, dstrect->y, dstrect->x + dstrect->w, dstrect->y + dstrect->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
854 dstarea.pos.x=dstrect->x; in ph_HWAccelBlit()
855 dstarea.pos.y=dstrect->y; in ph_HWAccelBlit()
856 dstarea.size.w=dstrect->w; in ph_HWAccelBlit()
857 dstarea.size.h=dstrect->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/dga/
DSDL_dgavideo.c865 SDL_Surface *dst, SDL_Rect *dstrect) in HWAccelBlit() argument
884 dstx += dstrect->x; in HWAccelBlit()
885 dsty += dstrect->y; in HWAccelBlit()
/external/qemu/distrib/sdl-1.2.15/src/video/nds/
DSDL_ndsvideo.c85 SDL_Surface *dst, SDL_Rect *dstrect) in HWAccelBlit() argument
/external/pdfium/core/src/fxge/Microsoft SDK/include/
DGdiPlusGraphics.h2445 GraphicsContainer BeginContainer(IN const RectF &dstrect, in BeginContainer() argument
2451 SetStatus(DllExports::GdipBeginContainer(nativeGraphics, &dstrect, in BeginContainer()
2460 GraphicsContainer BeginContainer(IN const Rect &dstrect, in BeginContainer() argument
2466 SetStatus(DllExports::GdipBeginContainerI(nativeGraphics, &dstrect, in BeginContainer()
DGdiPlusFlat.h2130 GdipBeginContainer(GpGraphics *graphics, GDIPCONST GpRectF* dstrect,
2134 GdipBeginContainerI(GpGraphics *graphics, GDIPCONST GpRect* dstrect,