Searched refs:mx (Results 1 - 25 of 26) sorted by relevance

12

/xsrc/external/mit/oclock/dist/
H A Dtransform.h36 double mx, bx; member in struct:_transform
48 # define Xx(x,y,t) ((int)((t)->mx * (x) + (t)->bx + 0.5))
50 # define Xwidth(w,h,t) ((int)((t)->mx * (w) + 0.5))
52 # define Tx(x,y,t) ((((double) (x)) - (t)->bx) / (t)->mx)
54 # define Twidth(w,h,t) (((double) (w)) / (t)->mx)
H A Dtransform.c99 t->mx = ((double) xx2 - xx1) / (tx2 - tx1);
100 t->bx = ((double) xx1) - t->mx * tx1;
/xsrc/external/mit/xeyes/dist/
H A Dtransform.h7 double mx, bx; member in struct:_transform
19 # define Xx(x,y,t) ((int)((t)->mx * (x) + (t)->bx + 0.5))
21 # define Xwidth(w,h,t) ((int)((t)->mx * (w) + 0.5))
23 # define Tx(x,y,t) ((((double) (x)) - (t)->bx) / (t)->mx)
25 # define Twidth(w,h,t) (((double) (w)) / (t)->mx)
H A Dtransform.c87 o->x = t->mx * i->x + t->bx;
89 o->width = t->mx * i->width;
106 t->mx = ((double) xx2 - xx1) / (tx2 - tx1);
107 t->bx = ((double) xx1) - t->mx * tx1;
/xsrc/external/mit/mesa-demos/dist/src/xdemos/
H A Doffset.c85 static void cubes(int mx, int my, int mode);
168 draw_scene(int mx, int my) { argument
174 cubes(mx, my, WIREFRAME);
178 cubes(mx, my, HIDDEN_LINE);
189 cubes(mx, my, HIDDEN_LINE);
200 cubes(int mx, int my, int mode) { argument
204 glRotatef(mx / 2.0, 0, 1, 0);
/xsrc/external/mit/twm/dist/src/
H A Dcursor.c149 int sx, sy, mx, my; local in function:NewBitmapCursor
165 XGetGeometry(dpy, mpm, &wdummy, &mx, &my, &mw, &mh, &udummy, &udummy);
/xsrc/external/mit/ctwm/dist/
H A Dcursor.c145 int sx, sy, mx, my; local in function:NewBitmapCursor
173 XGetGeometry(dpy, mpm, &JunkRoot, &mx, &my, &mw, &mh, &JunkBW, &JunkDepth);
/xsrc/external/mit/xorg-server.old/dist/hw/xfree86/xaa/
H A DxaaWideLine.c659 double mx = 0, my = 0; local in function:XAALineJoin
732 mx = pLeft->xa + (my - pLeft->ya) *
735 mx = pRight->xa + (my - pRight->ya) *
739 if ((mx * mx + my * my) * 4 > SQSECANT * lw * lw)
752 vertices[3].x = mx;
/xsrc/external/mit/xf86-video-nouveau/dist/src/
H A Dnvc0_exa.c894 int sx, int sy, int mx, int my,
916 PUSH_DATAf(push, mx);
925 PUSH_DATAf(push, mx);
934 PUSH_DATAf(push, mx + (w * 2));
944 PUSH_VTX2s(push, sx, sy + (h * 2), mx, my + (h * 2), dx, dy + (h * 2));
945 PUSH_VTX2s(push, sx, sy, mx, my, dx, dy);
946 PUSH_VTX2s(push, sx + (w * 2), sy, mx + (w * 2), my, dx + (w * 2), dy);
893 NVC0EXAComposite(PixmapPtr pdpix,int sx,int sy,int mx,int my,int dx,int dy,int w,int h) argument
H A Dnv10_exa.c608 int sx, int sy, int mx, int my, int dx, int dy, int w, int h)
619 PUSH_VTX2s(push, sx, sy, mx, my, dx, dy);
620 PUSH_VTX2s(push, sx + w, sy, mx + w, my, dx + w, dy);
621 PUSH_VTX2s(push, sx + w, sy + h, mx + w, my + h, dx + w, dy + h);
622 PUSH_VTX2s(push, sx, sy + h, mx, my + h, dx, dy + h);
607 NV10EXAComposite(PixmapPtr pix_dst,int sx,int sy,int mx,int my,int dx,int dy,int w,int h) argument
H A Dnv50_exa.c898 NV50EXAComposite(PixmapPtr pdpix, int sx, int sy, int mx, int my, argument
911 PUSH_VTX2s(push, sx, sy + (h * 2), mx, my + (h * 2), dx, dy + (h * 2));
912 PUSH_VTX2s(push, sx, sy, mx, my, dx, dy);
913 PUSH_VTX2s(push, sx + (w * 2), sy, mx + (w * 2), my, dx + (w * 2), dy);
H A Dnv30_exa.c556 int sx, int sy, int mx, int my, int dx, int dy, int w, int h)
575 PUSH_VTX2s(push, sx, sy + (h * 2), mx, my + (h * 2), dx, dy + (h * 2));
576 PUSH_VTX2s(push, sx, sy, mx, my, dx, dy);
577 PUSH_VTX2s(push, sx + (w * 2), sy, mx + (w * 2), my, dx + (w * 2), dy);
555 NV30EXAComposite(PixmapPtr pdPix,int sx,int sy,int mx,int my,int dx,int dy,int w,int h) argument
H A Dnv40_exa.c538 int sx, int sy, int mx, int my, int dx, int dy, int w, int h)
557 PUSH_VTX2s(push, sx, sy + (h * 2), mx, my + (h * 2), dx, dy + (h * 2));
558 PUSH_VTX2s(push, sx, sy, mx, my, dx, dy);
559 PUSH_VTX2s(push, sx + (w * 2), sy, mx + (w * 2), my, dx + (w * 2), dy);
537 NV40EXAComposite(PixmapPtr pdPix,int sx,int sy,int mx,int my,int dx,int dy,int w,int h) argument
/xsrc/external/mit/MesaLib.old/dist/src/imgui/
H A Dimgui_internal.h229 template<typename T> static inline T ImClamp(T v, T mn, T mx) { return (v < mn) ? mn : (v > mx) ? mx : v; } argument
235 static inline ImVec2 ImClamp(const ImVec2& v, const ImVec2& mn, ImVec2 mx) { return ImVec2((v.x < mn.x) ? mn.x : (v.x > mx.x) ? mx.x : v.x, (v.y < mn.y) ? mn.y : (v.y > mx.y) ? mx.y : v.y); } argument
H A Dimstb_truetype.h3398 float mx = (x0 + 2*x1 + x2)/4; local in function:stbtt__tesselate_curve
3401 float dx = (x0+x2)/2 - mx;
3406 stbtt__tesselate_curve(points, num_points, x0,y0, (x0+x1)/2.0f,(y0+y1)/2.0f, mx,my, objspace_flatness_squared,n+1);
3407 stbtt__tesselate_curve(points, num_points, mx,my, (x1+x2)/2.0f,(y1+y2)/2.0f, x2,y2, objspace_flatness_squared,n+1);
3446 float mx = (xa+xb)/2; local in function:stbtt__tesselate_cubic
3449 stbtt__tesselate_cubic(points, num_points, x0,y0, x01,y01, xa,ya, mx,my, objspace_flatness_squared,n+1);
3450 stbtt__tesselate_cubic(points, num_points, mx,my, xb,yb, x23,y23, x3,y3, objspace_flatness_squared,n+1);
4521 float mx = x0 - sx, my = y0 - sy; local in function:stbtt_GetGlyphSDF
4526 float b = 2*(ax*ax + ay*ay) + (mx*bx+my*by);
4527 float c = mx*a
[all...]
H A Dimgui.cpp6236 ImVec2 mx = window->ContentsRegionRect.Max - window->Pos; local in function:ImGui::GetContentRegionMax
6238 mx.x = GetColumnOffset(window->DC.ColumnsSet->Current + 1) - window->WindowPadding.x;
6239 return mx;
/xsrc/external/mit/MesaLib/dist/src/imgui/
H A Dimgui_internal.h229 template<typename T> static inline T ImClamp(T v, T mn, T mx) { return (v < mn) ? mn : (v > mx) ? mx : v; } argument
235 static inline ImVec2 ImClamp(const ImVec2& v, const ImVec2& mn, ImVec2 mx) { return ImVec2((v.x < mn.x) ? mn.x : (v.x > mx.x) ? mx.x : v.x, (v.y < mn.y) ? mn.y : (v.y > mx.y) ? mx.y : v.y); } argument
H A Dimstb_truetype.h3398 float mx = (x0 + 2*x1 + x2)/4; local in function:stbtt__tesselate_curve
3401 float dx = (x0+x2)/2 - mx;
3406 stbtt__tesselate_curve(points, num_points, x0,y0, (x0+x1)/2.0f,(y0+y1)/2.0f, mx,my, objspace_flatness_squared,n+1);
3407 stbtt__tesselate_curve(points, num_points, mx,my, (x1+x2)/2.0f,(y1+y2)/2.0f, x2,y2, objspace_flatness_squared,n+1);
3446 float mx = (xa+xb)/2; local in function:stbtt__tesselate_cubic
3449 stbtt__tesselate_cubic(points, num_points, x0,y0, x01,y01, xa,ya, mx,my, objspace_flatness_squared,n+1);
3450 stbtt__tesselate_cubic(points, num_points, mx,my, xb,yb, x23,y23, x3,y3, objspace_flatness_squared,n+1);
4521 float mx = x0 - sx, my = y0 - sy; local in function:stbtt_GetGlyphSDF
4526 float b = 2*(ax*ax + ay*ay) + (mx*bx+my*by);
4527 float c = mx*a
[all...]
/xsrc/external/mit/xf86-video-crime/dist/src/
H A Dcrime_accel.c1971 int mx = x << 2, offset; local in function:CrimeReadPixmap
1973 offset = mx & 0x3f;
1974 mx &= ~0x3f;
2002 WRITE4(CRIME_MTE_SRC0, (mx << 16) | y);
2003 WRITE4(CRIME_MTE_SRC1, ((mx + len) << 16) | y);
2009 WRITE4(CRIME_MTE_SRC0, (mx << 16) | i);
2010 WRITE4(CRIME_MTE_SRC1, ((mx + len) << 16) | i);
/xsrc/external/mit/xorg-server.old/dist/mi/
H A Dmiwideline.c518 double mx = 0, my = 0; local in function:miLineJoin
597 mx = pLeft->xa + (my - pLeft->ya) *
602 mx = pRight->xa + (my - pRight->ya) *
606 if ((mx * mx + my * my) * 4 > SQSECANT * lw * lw)
621 vertices[3].x = mx;
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/omx/bellagio/
H A Dvid_dec_av1.c1198 unsigned mx, unsigned r)
1201 unsigned v = decode_subexp(vlc, mx);
1203 if ((r << 1) <= mx) {
1207 smart = inverse_recenter(mx - 1 - r, v);
1208 return (mx - 1 - smart);
1227 int precDiff, round, sub, mx, r = 0; local in function:read_global_param
1242 mx = (int)(1 << absBits);
1247 (decode_signed_subexp_with_ref(vlc, -mx, mx + 1, r) << precDiff) + round;
1197 decode_unsigned_subexp_with_ref(struct vl_vlc * vlc,unsigned mx,unsigned r) argument
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/swr/rasterizer/core/core/
H A Drasterizer_impl.h1437 uint32_t mx, my; local in function:GetRenderHotTiles
1438 MacroTileMgr::getTileIndices(macroID, mx, my);
1439 tileX -= KNOB_MACROTILE_X_DIM_IN_TILES * mx;
/xsrc/external/mit/xorg-server/dist/mi/
H A Dmiwideline.c977 double mx = 0, my = 0; local in function:miLineJoin
1054 mx = pLeft->xa + (my - pLeft->ya) *
1058 mx = pRight->xa + (my - pRight->ya) *
1062 if ((mx * mx + my * my) * 4 > SQSECANT * lw * lw)
1075 vertices[3].x = mx;
/xsrc/external/mit/MesaLib.old/dist/src/amd/addrlib/src/r800/
H A Degbaddrlib.cpp2337 UINT_32 mx; local in function:Addr::V1::EgBasedLib::ComputeSurfaceCoordFromAddrMacroTiled
2440 mx = (tileIndex % pTileInfo->bankWidth) * pipes * MicroTileWidth;
2443 *pX += mx;
/xsrc/external/mit/MesaLib/dist/src/amd/addrlib/src/r800/
H A Degbaddrlib.cpp2337 UINT_32 mx; local in function:Addr::V1::EgBasedLib::ComputeSurfaceCoordFromAddrMacroTiled
2441 mx = (tileIndex % pTileInfo->bankWidth) * pipes * MicroTileWidth;
2444 *pX += mx;

Completed in 99 milliseconds

12