/external/libvpx/libvpx/vp8/common/ |
H A D | postproc.h | 20 int clamp; member in struct:postproc_state
|
/external/libvpx/libvpx/vp9/common/ |
H A D | vp9_postproc.h | 31 int clamp; member in struct:postproc_state
|
/external/libvpx/libvpx/vpx_dsp/ |
H A D | vpx_dsp_common.h | 52 static INLINE int clamp(int value, int low, int high) { function 63 default: return (uint16_t)clamp(val, 0, 255); 64 case 10: return (uint16_t)clamp(val, 0, 1023); 65 case 12: return (uint16_t)clamp(val, 0, 4095);
|
/external/replicaisland/tools/ |
H A D | ExtractPoints.js | 293 function clamp(input) { function
|
/external/mesa3d/src/mesa/main/ |
H A D | polygon.c | 240 GLfloat factor, GLfloat units, GLfloat clamp) 244 ctx->Polygon.OffsetClamp == clamp) 250 ctx->Polygon.OffsetClamp = clamp; 253 ctx->Driver.PolygonOffset( ctx, factor, units, clamp ); 277 _mesa_PolygonOffsetClampEXT( GLfloat factor, GLfloat units, GLfloat clamp ) 288 _mesa_debug(ctx, "glPolygonOffsetClampEXT %f %f %f\n", factor, units, clamp); 290 _mesa_polygon_offset_clamp(ctx, factor, units, clamp); 239 _mesa_polygon_offset_clamp(struct gl_context *ctx, GLfloat factor, GLfloat units, GLfloat clamp) argument
|
H A D | blend.c | 860 _mesa_ClampColor(GLenum target, GLenum clamp) argument 872 if (clamp != GL_TRUE && clamp != GL_FALSE && clamp != GL_FIXED_ONLY_ARB) { 873 _mesa_error(ctx, GL_INVALID_ENUM, "glClampColorARB(clamp)"); 882 ctx->Light.ClampVertexColor = clamp; 889 ctx->Color.ClampFragmentColor = clamp; 893 ctx->Color.ClampReadColor = clamp; 906 get_clamp_color(const struct gl_framebuffer *fb, GLenum clamp) argument 908 if (clamp [all...] |
/external/replicaisland/src/com/replica/replicaisland/ |
H A D | Utils.java | 39 public final static int clamp(int value, int min, int max) { method in class:Utils 52 result = clamp(value, max, min);
|
/external/brotli/c/enc/ |
H A D | literal_cost.c | 21 static size_t UTF8Position(size_t last, size_t c, size_t clamp) { argument 25 return BROTLI_MIN(size_t, 1, clamp); 31 return BROTLI_MIN(size_t, 2, clamp);
|
/external/deqp/external/openglcts/modules/common/ |
H A D | glcPolygonOffsetClampTests.hpp | 41 GLfloat clamp; member in struct:glcts::PolygonOffsetClampValues 43 PolygonOffsetClampValues(GLfloat _f, GLfloat _u, GLfloat _c) : factor(_f), units(_u), clamp(_c) 66 /** Test verifies if polygon offset clamp works as expected for non-zero, finite clamp values 79 /** Base class for polygon offset clamp depth values verifying 108 /** Test verifies if polygon offset clamp works as expected for zero and infinite clamp values 123 /** Test verifies if polygon offset clamp works as expected for zero and infinite clamp values
|
/external/deqp/framework/delibs/decpp/ |
H A D | deDefs.hpp | 45 template<typename T> inline T clamp (T x, T a, T b) { DE_ASSERT(a <= b); return x < a ? a : (x > b ? b : x); } function in namespace:de
|
/external/libmojo/ui/gfx/geometry/ |
H A D | size_f.h | 27 : width_(clamp(width)), height_(clamp(height)) {} 36 void set_width(float width) { width_ = clamp(width); } 37 void set_height(float height) { height_ = clamp(height); } 70 static constexpr float clamp(float f) { return f > kTrivial ? f : 0.f; } function in class:gfx::SizeF
|
/external/libvpx/libvpx/test/ |
H A D | add_noise_test.cc | 47 const int clamp = vpx_setup_noise(4.4, noise, kNoiseSize); local 54 GetParam()(s, noise, clamp, clamp, width, height, width)); 73 GetParam()(s, noise, clamp, clamp, width, height, width)); 77 EXPECT_GT(static_cast<int>(s[i]), clamp) << "i = " << i; 84 GetParam()(s, noise, clamp, clamp, width, height, width)); 88 EXPECT_LT(static_cast<int>(s[i]), 255 - clamp) << "i = " << i; 99 const int clamp local [all...] |
/external/pdfium/third_party/base/ |
H A D | stl_util.h | 71 // std::clamp(), some day. 73 constexpr const T& clamp(const T& v, const T& lo, const T& hi) { function in namespace:pdfium
|
/external/libxcam/modules/ocl/ |
H A D | cl_pyramid_blender.cpp | 117 clamp(int32_t i, int32_t min, int32_t max) function in namespace:XCam 176 tmp_ptr[i] += buf_ptr[clamp(i + j, 0, buf_len)] * coeff[g_radius + j];
|
H A D | cl_utils.cpp | 45 clamp (float &value, float min, float max) function in namespace:XCam
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
H A D | draw_pipe_offset.c | 47 float clamp; member in struct:offset_stage 115 if (offset->clamp) 116 zoffset = (offset->clamp < 0.0f) ? MAX2(zoffset, offset->clamp) : 117 MIN2(zoffset, offset->clamp); 180 offset->clamp = rast->offset_clamp; 195 offset->clamp = 0.0f;
|
/external/mesa3d/src/gallium/drivers/r300/ |
H A D | r300_state_inlines.h | 42 boolean clamp) 46 return clamp ? R300_COMB_FCN_ADD_CLAMP : R300_COMB_FCN_ADD_NOCLAMP; 48 return clamp ? R300_COMB_FCN_SUB_CLAMP : R300_COMB_FCN_SUB_NOCLAMP; 50 return clamp ? R300_COMB_FCN_RSUB_CLAMP : R300_COMB_FCN_RSUB_NOCLAMP; 41 r300_translate_blend_function(int blend_func, boolean clamp) argument
|
/external/mesa3d/src/gallium/state_trackers/nine/ |
H A D | nine_limits.h | 46 } clamp; member in union:nine_state_behaviour::__anon16868 60 [D3DRS_##o] = {NINE_STATE_CLAMP, {.clamp = {m, M}}} 191 if (Value < behaviour.u.clamp.min) 192 Value = behaviour.u.clamp.min; 193 else if (Value > behaviour.u.clamp.max) 194 Value = behaviour.u.clamp.max;
|
/external/syslinux/com32/lib/jpeg/ |
H A D | bgr24.c | 56 static unsigned char clamp(int i) function 103 *p++ = clamp(b); 105 *p++ = clamp(g); 107 *p++ = clamp(r); 159 *p++ = clamp(b); 161 *p++ = clamp(g); 163 *p++ = clamp(r); 168 *p++ = clamp(b); 170 *p++ = clamp(g); 172 *p++ = clamp( [all...] |
H A D | bgra32.c | 56 static unsigned char clamp(int i) function 103 *p++ = clamp(b); 105 *p++ = clamp(g); 107 *p++ = clamp(r); 160 *p++ = clamp(b); 162 *p++ = clamp(g); 164 *p++ = clamp(r); 171 *p++ = clamp(b); 173 *p++ = clamp(g); 175 *p++ = clamp( [all...] |
H A D | rgb24.c | 56 static unsigned char clamp(int i) function 102 *p++ = clamp(r); 104 *p++ = clamp(g); 106 *p++ = clamp(b); 158 *p++ = clamp(r); 160 *p++ = clamp(g); 162 *p++ = clamp(b); 167 *p++ = clamp(r); 169 *p++ = clamp(g); 171 *p++ = clamp( [all...] |
H A D | rgba32.c | 56 static unsigned char clamp(int i) function 103 *p++ = clamp(r); 105 *p++ = clamp(g); 107 *p++ = clamp(b); 160 *p++ = clamp(r); 162 *p++ = clamp(g); 164 *p++ = clamp(b); 171 *p++ = clamp(r); 173 *p++ = clamp(g); 175 *p++ = clamp( [all...] |
/external/tensorflow/tensorflow/compiler/xla/service/ |
H A D | graphviz_example.cc | 109 auto clamp = builder.AddInstruction(HloInstruction::CreateTernary( local 115 HloInstruction::CreateDot(vshape, clamp, param_v0, dot_dnums)); 117 HloInstruction::CreateTuple({dot, param_s, clamp}));
|
/external/tensorflow/tensorflow/compiler/xla/tests/ |
H A D | vector_ops_simple_test.cc | 307 auto clamp = builder.Min(builder.Max(x, zero), one); local 320 auto clamp = builder.Clamp(zero, x, one); local 332 auto clamp = builder.Clamp(zero, x, one); local 344 auto clamp = builder.Clamp(one, x, two); local 365 Computation clamp; local 367 // clamp(y) = clamp<0,5>(y) 368 ComputationBuilder builder(client_, "clamp"); 375 clamp = computation_status.ConsumeValueOrDie(); 380 // mult_relu_add(z) = clamp(add_hal [all...] |
/external/mesa3d/src/gallium/drivers/ilo/core/ |
H A D | ilo_state_sampler.c | 221 * TEXCOORDMODE_CLAMP_BORDER samples outside the map will clamp to 0 307 get_gen6_lod_clamp(const struct ilo_dev *dev, float clamp) argument 316 if (clamp > max) 317 clamp = max; 318 else if (clamp < 0.0f) 319 clamp = 0.0f; 321 return (int) (clamp * scale); 357 * 3) if pre-clamp is enabled, LOD is clamped to [MinLod, MaxLod] first 523 /* make a copy so that we can clamp for SNORM and UNORM */ 538 /* clamp t [all...] |