HomeSort by relevance Sort by last modified time
    Searched defs:clamp (Results 1 - 25 of 78) sorted by null

1 2 3 4

  /external/libvpx/libvpx/vp8/common/
postproc.h 20 int clamp; member in struct:postproc_state
  /external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
Utilities.java 64 public static int clamp(int value, int min, int max) { method in class:Utilities
  /external/libvpx/libvpx/vp9/common/
vp9_postproc.h 31 int clamp; member in struct:postproc_state
  /external/libvpx/libvpx/vpx_dsp/
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/pdfium/third_party/base/
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/replicaisland/src/com/replica/replicaisland/
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/replicaisland/tools/
ExtractPoints.js 293 function clamp(input) { function
  /external/deqp/external/openglcts/modules/common/
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/libaom/libaom/aom_dsp/
aom_dsp_common.h 65 static INLINE int clamp(int value, int low, int high) { function
80 default: return (uint16_t)clamp(val, 0, 255);
81 case 10: return (uint16_t)clamp(val, 0, 1023);
82 case 12: return (uint16_t)clamp(val, 0, 4095);
  /external/libchrome/ui/gfx/geometry/
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/skia/modules/canvaskit/
helper.js 3 function clamp(c) { function
15 return (clamp(a*255) << 24) | (clamp(r) << 16) | (clamp(g) << 8) | (clamp(b) << 0);
38 return clamp(a) << 24 | color;
  /external/skia/src/core/
SkBitmapProcState_matrixProcs.cpp 63 // The clamp routines may try to fall into one of these unclamped decal fast-paths.
64 // (Only clamp works in the right coordinate space to check for decal.)
129 // If we're already scaled up to by max like clamp/decal,
192 static unsigned clamp(SkFixed fx, int max) { function
214 // Clamp/Clamp and Repeat/Repeat have NEON or portable implementations.
311 // clamp
324 // clamp
562 nofilter_scale_neon<clamp, clamp8, true>,
563 filter_scale_neon<clamp,
    [all...]
  /external/skqp/src/core/
SkBitmapProcState_matrixProcs.cpp 63 // The clamp routines may try to fall into one of these unclamped decal fast-paths.
64 // (Only clamp works in the right coordinate space to check for decal.)
129 // If we're already scaled up to by max like clamp/decal,
192 static unsigned clamp(SkFixed fx, int max) { function
214 // Clamp/Clamp and Repeat/Repeat have NEON or portable implementations.
311 // clamp
324 // clamp
562 nofilter_scale_neon<clamp, clamp8, true>,
563 filter_scale_neon<clamp,
    [all...]
  /device/google/contexthub/firmware/os/algos/common/math/
quat.c 19 static float clamp(float x) { return x < 0.0f ? 0.0f : x; } function
26 q->x = sqrtf(clamp(Hx - My - Az + 1.0f) * 0.25f);
27 q->y = sqrtf(clamp(-Hx + My - Az + 1.0f) * 0.25f);
28 q->z = sqrtf(clamp(-Hx - My + Az + 1.0f) * 0.25f);
29 q->w = sqrtf(clamp(Hx + My + Az + 1.0f) * 0.25f);
  /external/deqp/framework/delibs/decpp/
deDefs.hpp 44 //! Clamp x in range a <= x <= b.
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/libvpx/libvpx/test/
add_noise_test.cc 53 const int clamp = vpx_setup_noise(GET_PARAM(0), noise, kNoiseSize); local
60 GET_PARAM(1)(s, noise, clamp, clamp, width, height, width));
79 GET_PARAM(1)(s, noise, clamp, clamp, width, height, width));
83 EXPECT_GT(static_cast<int>(s[i]), clamp) << "i = " << i;
90 GET_PARAM(1)(s, noise, clamp, clamp, width, height, width));
94 EXPECT_LT(static_cast<int>(s[i]), 255 - clamp) << "i = " << i;
105 const int clamp = vpx_setup_noise(4.4, noise, kNoiseSize) local
    [all...]
  /external/libxcam/modules/ocl/
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];
    [all...]
cl_utils.cpp 45 clamp (float &value, float min, float max) function in namespace:XCam
  /external/mesa3d/src/gallium/auxiliary/draw/
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);
123 v0[2] = CLAMP(v0[2] + zoffset, 0.0f, 1.0f);
124 v1[2] = CLAMP(v1[2] + zoffset, 0.0f, 1.0f);
125 v2[2] = CLAMP(v2[2] + zoffset, 0.0f, 1.0f);
180 offset->clamp = rast->offset_clamp;
195 offset->clamp = 0.0f
    [all...]
  /external/mesa3d/src/gallium/state_trackers/nine/
nine_limits.h 46 } clamp; member in union:nine_state_behaviour::__anon34041
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/skia/src/gpu/glsl/
GrGLSLBlend.cpp 445 bool clamp = mode == SkBlendMode::kPlus; local
448 if (clamp) {
449 fsBuilder->codeAppend("clamp(");
458 if (clamp) {
  /external/skqp/src/gpu/glsl/
GrGLSLBlend.cpp 445 bool clamp = mode == SkBlendMode::kPlus; local
448 if (clamp) {
449 fsBuilder->codeAppend("clamp(");
458 if (clamp) {
  /external/tensorflow/tensorflow/compiler/xla/tests/
vector_ops_simple_test.cc 280 Clamp(zero, x, one);
292 Clamp(zero, x, one);
304 Clamp(one, x, two);
316 Clamp(zero, x, one);
336 XlaComputation clamp; local
338 // clamp(y) = clamp<0,5>(y)
339 XlaBuilder builder("clamp");
343 Clamp(zero, y_value, ConstantR0<float>(&builder, 5));
346 clamp = computation_status.ConsumeValueOrDie()
    [all...]
  /device/generic/goldfish/camera/
Converters.h 133 clamp(int x) function in namespace:android
192 #define YUV2RO(C, D, E) clamp((298 * (C) + 409 * (E) + 128) >> 8)
193 #define YUV2GO(C, D, E) clamp((298 * (C) - 100 * (D) - 208 * (E) + 128) >> 8)
194 #define YUV2BO(C, D, E) clamp((298 * (C) + 516 * (D) + 128) >> 8)
199 #define YUV2R(y, u, v) clamp((298 * ((y)-16) + 409 * ((v)-128) + 128) >> 8)
200 #define YUV2G(y, u, v) clamp((298 * ((y)-16) - 100 * ((u)-128) - 208 * ((v)-128) + 128) >> 8)
201 #define YUV2B(y, u, v) clamp((298 * ((y)-16) + 516 * ((u)-128) + 128) >> 8)
  /device/google/cuttlefish_common/guest/hals/camera/
Converters.h 148 static __inline__ int clamp(int x) { function in namespace:android
206 #define YUV2RO(C, D, E) clamp((298 * (C) + 409 * (E) + 128) >> 8)
207 #define YUV2GO(C, D, E) clamp((298 * (C)-100 * (D)-208 * (E) + 128) >> 8)
208 #define YUV2BO(C, D, E) clamp((298 * (C) + 516 * (D) + 128) >> 8)
213 #define YUV2R(y, u, v) clamp((298 * ((y)-16) + 409 * ((v)-128) + 128) >> 8)
215 clamp((298 * ((y)-16) - 100 * ((u)-128) - 208 * ((v)-128) + 128) >> 8)
216 #define YUV2B(y, u, v) clamp((298 * ((y)-16) + 516 * ((u)-128) + 128) >> 8)

Completed in 1147 milliseconds

1 2 3 4