HomeSort by: relevance | last modified time | path
    Searched refs:scale (Results 1 - 25 of 507) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /xsrc/external/mit/xmag/dist/
Scale.c 67 #define Offset(field) XtOffsetOf(ScaleRec, scale.field)
159 /* class_name */ "Scale",
220 values.foreground = sw->scale.foreground_pixel;
224 sw->scale.gc = XtGetGC((Widget) sw,
238 if (sw->scale.proportional) {
239 sw->scale.scale_x = sw->scale.scale_y =
240 ((sw->scale.aspect_ratio > 1.0) ?
241 sw->scale.aspect_ratio : 1.0 / sw->scale.aspect_ratio)
    [all...]
CutPaste.c 36 #include "ScaleP.h" /* This file should be part of the Scale widget */
37 #include "Scale.h"
52 sw->scale.image->width,
53 sw->scale.image->height,
54 sw->scale.image->depth);
55 XPutImage(XtDisplay(w), *pixmap, sw->scale.gc, sw->scale.image,
56 0, 0, 0, 0, sw->scale.image->width, sw->scale.image->height);
  /xsrc/external/mit/pixman/dist/test/
scaling-bench.c 30 double scale; local
41 for (scale = 0.1; scale < 10.005; scale += 0.01)
44 int dest_width = SOURCE_WIDTH * scale + 0.5;
45 int dest_height = SOURCE_HEIGHT * scale + 0.5;
47 pixman_fixed_t s = (1 / scale) * 65536.0 + 0.5;
65 scale, scale, 0, 0, 0, 0, dest_width, dest_height);
72 scale, SOURCE_WIDTH, SOURCE_HEIGHT, dest_width, dest_height
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/util/
u_viewport.h 45 b = vp->translate[2] + vp->scale[2];
47 a = vp->translate[2] - vp->scale[2];
48 b = vp->translate[2] + vp->scale[2];
u_texture.c 53 /* Compute sc = +/-scale and tc = +/-scale.
55 * though that can still sometimes happen with this scale factor...
57 * XXX: Yep, there is no safe scale factor that will prevent sampling
63 const float scale = allow_scale ? 0.9999f : 1.0f; local
64 const float sc = (2 * in_st[0] - 1) * scale;
65 const float tc = (2 * in_st[1] - 1) * scale;
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/util/
u_viewport.h 45 b = vp->translate[2] + vp->scale[2];
47 a = vp->translate[2] - vp->scale[2];
48 b = vp->translate[2] + vp->scale[2];
u_texture.c 53 /* Compute sc = +/-scale and tc = +/-scale.
55 * though that can still sometimes happen with this scale factor...
57 * XXX: Yep, there is no safe scale factor that will prevent sampling
63 const float scale = allow_scale ? 0.9999f : 1.0f; local
64 const float sc = (2 * in_st[0] - 1) * scale;
65 const float tc = (2 * in_st[1] - 1) * scale;
  /xsrc/external/mit/MesaLib/dist/src/freedreno/common/
freedreno_guardband.h 32 fd_calc_guardband(float offset, float scale, bool is_a3xx)
47 * the scale.
49 const float gb_min_ndc = (gb_min - offset) / fabsf(scale);
50 const float gb_max_ndc = (gb_max - offset) / fabsf(scale);
63 * can happen if scale == 0.
  /xsrc/external/mit/MesaLib/dist/src/mesa/math/
m_norm_tmp.h 36 * scale - uniform scale factor of the transformation matrix (not always used)
44 GLfloat scale,
71 GLfloat scale = 1.0f / sqrtf(len); local
72 out[i][0] = tx * scale;
73 out[i][1] = ty * scale;
74 out[i][2] = tz * scale;
83 if (scale != 1.0f) {
84 m0 *= scale, m4 *= scale, m8 *= scale
138 GLfloat scale = 1.0f \/ sqrtf(len); local
    [all...]
m_debug_norm.c 124 GLfloat scale,
140 SCALE_SCALAR_3V( out[i], scale, t );
147 GLfloat scale,
168 scale = 1.0f / sqrtf(len);
169 SCALE_SCALAR_3V( out[i], scale, t );
174 scale = lengths[i];
175 SCALE_SCALAR_3V( out[i], scale, t );
202 GLfloat scale; local
216 scale = 1.0F + rnd () * norm_scale_types[mtype];
278 ref_norm_transform_rescale( mat, scale, source, NULL, ref )
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/mesa/math/
m_norm_tmp.h 36 * scale - uniform scale factor of the transformation matrix (not always used)
44 GLfloat scale,
71 GLfloat scale = 1.0f / sqrtf(len); local
72 out[i][0] = tx * scale;
73 out[i][1] = ty * scale;
74 out[i][2] = tz * scale;
83 if (scale != 1.0f) {
84 m0 *= scale, m4 *= scale, m8 *= scale
138 GLfloat scale = 1.0f \/ sqrtf(len); local
    [all...]
m_debug_norm.c 125 GLfloat scale,
141 SCALE_SCALAR_3V( out[i], scale, t );
148 GLfloat scale,
169 scale = 1.0f / sqrtf(len);
170 SCALE_SCALAR_3V( out[i], scale, t );
175 scale = lengths[i];
176 SCALE_SCALAR_3V( out[i], scale, t );
203 GLfloat scale; local
217 scale = 1.0F + rnd () * norm_scale_types[mtype];
279 ref_norm_transform_rescale( mat, scale, source, NULL, ref )
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/
st_atom_viewport.c 52 float *scale = st->state.viewport[i].scale; local
55 _mesa_get_viewport_xform(ctx, i, scale, translate);
60 scale[1] *= -1;
  /xsrc/external/mit/MesaGLUT/dist/src/glut/beos/
glut_teapot.c 139 teapot(GLint grid, GLdouble scale, GLenum type)
151 glScalef(0.5 * scale, 0.5 * scale, 0.5 * scale);
199 glutSolidTeapot(GLdouble scale)
201 teapot(14, scale, GL_FILL);
205 glutWireTeapot(GLdouble scale)
207 teapot(10, scale, GL_LINE);
  /xsrc/external/mit/MesaGLUT/dist/src/glut/glx/
glut_teapot.c 139 teapot(GLint grid, GLdouble scale, GLenum type)
151 glScalef(0.5 * scale, 0.5 * scale, 0.5 * scale);
199 glutSolidTeapot(GLdouble scale)
201 teapot(7, scale, GL_FILL);
205 glutWireTeapot(GLdouble scale)
207 teapot(10, scale, GL_LINE);
  /xsrc/external/mit/MesaLib/dist/src/util/
format_r11g11b10f.h 115 const float scale = 1.0 / (1 << 20); local
116 f32.f = scale * mantissa;
121 float scale, decimal; local
124 scale = 1.0f / (1 << -exponent);
126 scale = (float) (1 << exponent);
129 f32.f = scale * decimal;
197 const float scale = 1.0 / (1 << 19); local
198 f32.f = scale * mantissa;
203 float scale, decimal; local
206 scale = 1.0f / (1 << -exponent)
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/util/
format_r11g11b10f.h 115 const float scale = 1.0 / (1 << 20); local
116 f32.f = scale * mantissa;
121 float scale, decimal; local
124 scale = 1.0f / (1 << -exponent);
126 scale = (float) (1 << exponent);
129 f32.f = scale * decimal;
197 const float scale = 1.0 / (1 << 19); local
198 f32.f = scale * mantissa;
203 float scale, decimal; local
206 scale = 1.0f / (1 << -exponent)
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/jitter/shader_lib/
Scatter.cpp 34 extern "C" void ScatterPS_256(uint8_t* pBase, SIMD256::Integer vIndices, SIMD256::Float vSrc, uint8_t mask, uint32_t scale)
47 *(float*)(pBase + indices[index] * scale) = src[index];
  /xsrc/external/mit/freetype/dist/src/tools/
cordic.py 6 scale = units/math.pi variable
18 angle2 = round(angle*scale) # arctangent in FT_Angle units
  /xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/
st_atom_viewport.c 58 float *scale = st->state.viewport[i].scale; local
61 _mesa_get_viewport_xform(ctx, i, scale, translate);
66 scale[1] *= -1;
  /xsrc/external/mit/mesa-demos/dist/src/util/
showbuffer.h 32 GLfloat scale, GLfloat bias );
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/softpipe/
sp_quad_depth_test_tmp.h 64 const float scale = 65535.0; local
67 init_idepth[0] = (ushort)((z0) * scale);
68 init_idepth[1] = (ushort)((z0 + dzdx) * scale);
69 init_idepth[2] = (ushort)((z0 + dzdy) * scale);
70 init_idepth[3] = (ushort)((z0 + dzdx + dzdy) * scale);
72 depth_step = (ushort)(dzdx * scale);
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/softpipe/
sp_quad_depth_test_tmp.h 64 const float scale = 65535.0; local
67 init_idepth[0] = (ushort)((z0) * scale);
68 init_idepth[1] = (ushort)((z0 + dzdx) * scale);
69 init_idepth[2] = (ushort)((z0 + dzdy) * scale);
70 init_idepth[3] = (ushort)((z0 + dzdx + dzdy) * scale);
72 depth_step = (ushort)(dzdx * scale);
  /xsrc/external/mit/MesaLib/dist/src/util/format/
u_format_yuv.h 65 const float scale = 255.0f; local
67 const int _y = scale * ( (0.257f * _r) + (0.504f * _g) + (0.098f * _b));
68 const int _u = scale * (-(0.148f * _r) - (0.291f * _g) + (0.439f * _b));
69 const int _v = scale * ( (0.439f * _r) - (0.368f * _g) - (0.071f * _b));
87 const float scale = 1.0f / 255.0f; local
89 *r = scale * (y_factor * _y + 1.596f * _v);
90 *g = scale * (y_factor * _y - 0.391f * _u - 0.813f * _v);
91 *b = scale * (y_factor * _y + 2.018f * _u );
  /xsrc/external/mit/mesa-demos/dist/src/demos/
renormal.c 32 GLfloat scale = 0.6 + 0.5 * sin(Phi); local
35 glScalef(scale, scale, scale);

Completed in 19 milliseconds

1 2 3 4 5 6 7 8 91011>>