Searched defs:rect (Results 376 - 400 of 829) sorted by relevance

<<11121314151617181920>>

/external/mesa3d/src/gallium/drivers/nv50/
H A Dnv50_transfer.c10 struct nv50_m2mf_rect rect[2]; member in struct:nv50_transfer
16 nv50_m2mf_rect_setup(struct nv50_m2mf_rect *rect, argument
24 rect->bo = mt->base.bo;
25 rect->domain = mt->base.domain;
26 rect->base = mt->level[l].offset;
27 rect->pitch = mt->level[l].pitch;
29 rect->width = w << mt->ms_x;
30 rect->height = h << mt->ms_y;
31 rect->x = x << mt->ms_x;
32 rect
[all...]
/external/mesa3d/src/gallium/drivers/nvc0/
H A Dnvc0_transfer.c10 struct nv50_m2mf_rect rect[2]; member in struct:nvc0_transfer
368 nv50_m2mf_rect_setup(&tx->rect[0], res, level, box->x, box->y, box->z);
373 size * tx->nlayers, NULL, &tx->rect[1].bo);
379 tx->rect[1].cpp = tx->rect[0].cpp;
380 tx->rect[1].width = tx->nblocksx;
381 tx->rect[1].height = tx->nblocksy;
382 tx->rect[1].depth = 1;
383 tx->rect[1].pitch = tx->base.stride;
384 tx->rect[
[all...]
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_state_framebuffer.c170 SVGA3dRect rect; local
284 rect.x = fx;
285 rect.y = fy;
286 rect.w = fw;
287 rect.h = fh;
291 fabs((float)rect.x - fx),
292 fabs((float)rect.y - fy),
293 fabs((float)rect.w - fw),
294 fabs((float)rect.h - fh));
298 rect
465 SVGA3dRect rect; local
[all...]
/external/mesa3d/src/gallium/state_trackers/egl/gdi/
H A Dnative_gdi.c83 RECT rect; local
86 GetClientRect(gsurf->hWnd, &rect);
87 w = rect.right - rect.left;
88 h = rect.bottom - rect.top;
/external/mesa3d/src/gallium/state_trackers/vega/
H A Dpolygon.c192 float *rect)
211 rect[0] = minx;
212 rect[1] = miny;
213 rect[2] = maxx - minx;
214 rect[3] = maxy - miny;
191 polygon_bounding_rect(struct polygon *p, float *rect) argument
/external/mesa3d/src/mesa/drivers/dri/nouveau/
H A Dnouveau_context.h62 struct nouveau_object *rect; member in struct:nouveau_hw_state
/external/opencv/cvaux/src/
H A Dcvface.cpp93 //class RFace(rect based face)
120 inline bool RFace::isPointInRect(CvPoint p,CvRect rect) argument
122 if ( (p.x >= rect.x) && (p.y >= rect.y) && (p.x <= rect.x + rect.width) && (p.y <= rect.y + rect.height) )
126 }//inline bool RFace::isPointInRect(CvPoint,CvRect rect)
172 }//inline bool RFace::CheckElem(CvRect rect)
305 CvRect rect = *(CvRect*)m_lppFoundedFaceFeatures[i][j].GetContour(); local
[all...]
H A Dcvfacedetection.cpp313 CvRect rect = pRect->r; local
314 if (rect.width >= 2*rect.height)
317 lpFaceTemplate1 = new MouthFaceTemplate(3,rect,3*(double)rect.width/(double)4,
318 3*(double)rect.width/(double)4,
319 (double)rect.width/(double)2,
320 (double)rect.width/(double)2);
/external/qemu/android/protocol/
H A Dfb-updates-proxy.c91 * rect - Buffer where to copy pixel.
96 _copy_fb_rect(uint8_t* rect, const DisplaySurface* dsu, int x, int y, int w, int h) argument
100 memcpy(rect, start, w * dsu->pf.bytes_per_pixel);
102 rect += w * dsu->pf.bytes_per_pixel;
129 _copy_fb_rect(ret->message.rect, proxy_fb->ds->surface, x, y, w, h);
/external/qemu/android/skin/
H A Dfile.h24 SkinRect rect; member in struct:SkinBackground
29 SkinRect rect; /* display rectangle */ member in struct:SkinDisplay
40 SkinRect rect; member in struct:SkinButton
50 SkinRect rect; /* bounding box of all parts */ member in struct:SkinPart
/external/qemu/distrib/sdl-1.2.15/src/video/aalib/
H A DSDL_aavideo.c331 SDL_Rect *rect; local
340 rect = &rects[i];
341 printf("(%d,%d-%d,%d)", rect->x, rect->y, rect->w, rect->h);
342 aa_renderpalette(AA_context, AA_palette, AA_rparams, rect->x * AA_x_ratio, rect->y * AA_y_ratio, rect->w * AA_x_ratio, rect
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/maccommon/
H A DSDL_macevents.c320 Rect rect; local
326 GetWindowUserState(SDL_Window, &rect);
328 GetWindowStandardState(SDL_Window, &rect);
330 SDL_PrivateResize (rect.right-rect.left,
331 rect.bottom-rect.top);
/external/qemu/distrib/sdl-1.2.15/src/video/nanox/
H A DSDL_nxvideo.c421 SDL_Rect rect ; local
445 rect.x = rect.y = 0 ;
446 rect.w = this -> screen -> w, rect.h = this -> screen -> h ;
447 NX_NormalUpdate (this, 1, & rect) ;
/external/qemu/distrib/sdl-1.2.15/src/video/photon/
H A DSDL_ph_events.c53 PhRect_t *rect = PhGetRects( winEvent ); local
63 dx = rect->ul.x - centre_x;
64 dy = rect->ul.y - centre_y;
113 PhRect_t* rect; local
143 rect = PhGetRects(phevent);
151 posted = SDL_PrivateMouseMotion(0, 0, rect->ul.x, rect->ul.y);
292 rect = PhGetRects(phevent);
301 sdlrects[i].x = rect[i].ul.x;
302 sdlrects[i].y = rect[
[all...]
H A DSDL_ph_image.c719 int ph_FillHWRect(_THIS, SDL_Surface* surface, SDL_Rect* rect, Uint32 color) argument
744 PgDrawIRect(rect->x, rect->y+ydisp, rect->w+rect->x-1, rect->h+rect->y+ydisp-1, Pg_DRAW_FILL);
/external/qemu/distrib/sdl-1.2.15/src/video/qtopia/
H A DSDL_QWin.cc131 const QRect& rect )
137 startx = rect.left() >> 1;
138 starty = rect.top() >> 1;
139 width = ((rect.right() - rect.left()) >> 1) + 2;
140 height = ((rect.bottom() - rect.top()) >> 1) + 2;
188 const QRect& rect ) {
193 startx = rect.left() >> 1;
194 starty = rect
242 repaintRotation0(const QRect& rect) argument
272 repaintRotation3(const QRect& rect) argument
326 repaintRotation1(const QRect& rect) argument
337 repaintRect(const QRect& rect) argument
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/svga/
H A DSDL_svgavideo.c493 SDL_Rect *rect; local
503 rect = &rects[i];
504 x = rect->x;
505 y = rect->y;
506 w = rect->w * bpp;
507 h = rect->h;
/external/qemu/distrib/sdl-1.2.15/test/
H A Dtestoverlay.c268 SDL_Rect rect; local
274 rect.w=overlay->w;
275 rect.h=overlay->h;
276 for(i=0; i<h-rect.h && i<w-rect.w; i++)
278 rect.x=i;
279 rect.y=i;
280 SDL_DisplayYUVOverlay(overlay,&rect);
285 rect.w=overlay->w/2;
286 rect
[all...]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowDrawable.java80 public void setBounds(Rect rect) { argument
81 this.bounds = rect;
/external/skia/bench/
H A DXfermodeBench.cpp37 SkRect rect = SkRect::MakeXYWH( variable
43 canvas->drawRect(rect, paint);
/external/skia/gm/
H A Dblurrect.cpp23 SkRect rect; local
26 rect = r;
27 rect.outset(STROKE_WIDTH/2, STROKE_WIDTH/2);
28 path.addRect(rect);
29 rect = r;
30 rect.inset(STROKE_WIDTH/2, STROKE_WIDTH/2);
32 path.addRect(rect);
39 SkRect rect; local
42 rect = r;
43 rect
[all...]
H A Doptimizations.cpp100 SkRect rect = { 10, 10, 90, 90 }; local
111 canvas->drawBitmapRectToRect(checkerBoard, NULL, rect, &dbmr2rPaint);
113 canvas->drawBitmapRectToRect(checkerBoard, NULL, rect, NULL);
238 SkRect rect = { 10, 10, 90, 90 }; local
239 canvas->clipRect(rect);
250 canvas->drawBitmapRectToRect(checkerBoard, NULL, rect, &dbmr2rPaint);
252 canvas->drawBitmapRectToRect(checkerBoard, NULL, rect, NULL);
/external/skia/include/core/
H A DSkRRect.h19 // add validate method (all radii positive, all radii sums < rect size, etc.)
22 // add heart rect computation (max rect inside RR)
23 // add 9patch rect computation
43 The SkRRect class represents a rounded rect with a potentially different
67 //!< The RR is actually a (non-empty) rect (i.e., at least one radius
77 //!< the curves) nor a rect (i.e., both radii are non-zero)
122 * Set this RR to match the supplied rect. All radii will be 0.
124 void setRect(const SkRect& rect) { argument
125 if (rect
177 const SkRect& rect() const { return fRect; } function in class:SkRRect
[all...]
H A DSkRect.h48 SkIRect rect; local
49 rect.set(l, t, r, b);
50 return rect;
64 /** return the left edge of the rect */
66 /** return the top edge of the rect */
69 * Returns the rectangle's width. This does not check for a valid rect
75 * Returns the rectangle's height. This does not check for a valid rect
81 * Since the center of an integer rect may fall on a factional value, this
90 * Since the center of an integer rect may fall on a factional value, this
175 * Offset this rect suc
[all...]
H A DSkRegion.h112 * If rect is non-empty, set this region to that rectangle and return true,
125 * faster than calling region.op(rect, kUnion_Op) in a loop. If count is
211 bool quickReject(const SkIRect& rect) const {
212 return this->isEmpty() || rect.isEmpty() ||
213 !SkIRect::Intersects(fBounds, rect);
252 * specified rectangle: this = (this op rect).
255 bool op(const SkIRect& rect, Op op) { return this->op(*this, rect, op); } argument
259 * specified rectangle: this = (this op rect).
263 SkIRect rect; local
316 const SkIRect& rect() const { return fRect; } function in class:SkRegion::Iterator
336 const SkIRect& rect() const { return fRect; } function in class:SkRegion::Cliperator
[all...]

Completed in 431 milliseconds

<<11121314151617181920>>