HomeSort by relevance Sort by last modified time
    Searched refs:MAX2 (Results 1 - 10 of 10) sorted by null

  /external/mesa3d/src/pixelflinger2/
pixelflinger2.h 61 #ifndef MAX2
62 # define MAX2(a, b) ((a) > (b) ? (a) : (b))
scanline.cpp 30 color->r = MIN2(MAX2(color->r, 0), 255);
31 color->g = MIN2(MAX2(color->g, 0), 255);
32 color->b = MIN2(MAX2(color->b, 0), 255);
33 color->a = MIN2(MAX2(color->a, 0), 255);
74 // pixel.channels[0] = (unsigned char)MIN2(MAX2((short)(color->r * 255), 0), 255);
75 // pixel.channels[1] = (unsigned char)MIN2(MAX2((short)(color->g * 255), 0), 255);
76 // pixel.channels[2] = (unsigned char)MIN2(MAX2((short)(color->b * 255), 0), 255);
77 // pixel.channels[3] = (unsigned char)MIN2(MAX2((short)(color->a * 255), 0), 255);
buffer.cpp 42 ref = MAX2(MIN2(ref, 0xff), 0);
121 r = MAX2(MIN2(r, 1.0f), 0);
122 g = MAX2(MIN2(g, 1.0f), 0);
123 b = MAX2(MIN2(b, 1.0f), 0);
124 a = MAX2(MIN2(a, 1.0f), 0);
pixelflinger2.cpp 69 ctx->state.blendState.color[0] = MIN2(MAX2(red * 255, 0.0f), 255.0f);
70 ctx->state.blendState.color[1] = MIN2(MAX2(green * 255, 0.0f), 255.0f);
71 ctx->state.blendState.color[2] = MIN2(MAX2(blue * 255, 0.0f), 255.0f);
72 ctx->state.blendState.color[3] = MIN2(MAX2(alpha * 255, 0.0f), 255.0f);
raster.cpp 366 MAX2(VectorComp_t_One, (d->position.y - a->position.y));
texture.cpp 130 tc = MIN2(size - 1, MAX2(0, tc));
  /external/mesa3d/src/glsl/
ir_constant_expression.cpp 38 #include "main/core.h" /* for MAX2, MIN2, CLAMP */
404 data.u[c] = MAX2(op[0]->value.u[c0], op[1]->value.u[c1]);
407 data.i[c] = MAX2(op[0]->value.i[c0], op[1]->value.i[c1]);
410 data.f[c] = MAX2(op[0]->value.f[c0], op[1]->value.f[c1]);
    [all...]
linker.cpp 366 MAX2(existing->max_array_access,
    [all...]
ir.cpp 24 #include "main/core.h" /* for MAX2 */
67 m.num_components = MAX2(m.num_components, (to + 1));
    [all...]
  /external/mesa3d/src/mesa/main/
macros.h 671 #define MAX2( A, B ) ( (A)>(B) ? (A) : (B) )

Completed in 105 milliseconds