Home
last modified time | relevance | path

Searched refs:clamped (Results 1 – 25 of 97) sorted by relevance

1234

/external/grpc-grpc/third_party/nanopb/
Dpb_decode.c1155 int64_t clamped; in pb_dec_varint() local
1172 clamped = *(int64_t*)dest = svalue; in pb_dec_varint()
1174 clamped = *(int32_t*)dest = (int32_t)svalue; in pb_dec_varint()
1176 clamped = *(int_least16_t*)dest = (int_least16_t)svalue; in pb_dec_varint()
1178 clamped = *(int_least8_t*)dest = (int_least8_t)svalue; in pb_dec_varint()
1182 if (clamped != svalue) in pb_dec_varint()
1190 uint64_t value, clamped; in pb_dec_uvarint() local
1196 clamped = *(uint64_t*)dest = value; in pb_dec_uvarint()
1198 clamped = *(uint32_t*)dest = (uint32_t)value; in pb_dec_uvarint()
1200 clamped = *(uint_least16_t*)dest = (uint_least16_t)value; in pb_dec_uvarint()
[all …]
/external/nanopb-c/
Dpb_decode.c1293 pb_int64_t clamped; in pb_dec_varint() local
1310 clamped = *(pb_int64_t*)dest = svalue; in pb_dec_varint()
1312 clamped = *(int32_t*)dest = (int32_t)svalue; in pb_dec_varint()
1314 clamped = *(int_least16_t*)dest = (int_least16_t)svalue; in pb_dec_varint()
1316 clamped = *(int_least8_t*)dest = (int_least8_t)svalue; in pb_dec_varint()
1320 if (clamped != svalue) in pb_dec_varint()
1328 pb_uint64_t value, clamped; in pb_dec_uvarint() local
1334 clamped = *(pb_uint64_t*)dest = value; in pb_dec_uvarint()
1336 clamped = *(uint32_t*)dest = (uint32_t)value; in pb_dec_uvarint()
1338 clamped = *(uint_least16_t*)dest = (uint_least16_t)value; in pb_dec_uvarint()
[all …]
/external/libaom/libaom/av1/common/x86/
Dav1_highbd_convolve_sse4.c67 __m128i clamped, mask; in highbd_clip() local
72 clamped = _mm_andnot_si128(mask, p[i]); in highbd_clip()
74 clamped = _mm_or_si128(mask, clamped); in highbd_clip()
75 mask = _mm_cmpgt_epi16(clamped, zero); in highbd_clip()
76 p[i] = _mm_and_si128(clamped, mask); in highbd_clip()
/external/llvm/test/CodeGen/AMDGPU/
Dllvm.AMDGPU.rsq.clamped.ll5 ; FIXME: Uses of this should be moved to llvm.amdgcn.rsq.clamped, and
8 declare float @llvm.AMDGPU.rsq.clamped.f32(float) nounwind readnone
22 %rsq_clamped = call float @llvm.AMDGPU.rsq.clamped.f32(float %src) nounwind readnone
Dllvm.AMDGPU.rsq.clamped.f64.ll4 declare double @llvm.AMDGPU.rsq.clamped.f64(double) nounwind readnone
18 %rsq_clamped = call double @llvm.AMDGPU.rsq.clamped.f64(double %src) nounwind readnone
/external/tensorflow/tensorflow/core/kernels/
Dfake_quant_ops_functor.h92 auto clamped = inputs.cwiseMin(nudged_max).cwiseMax(nudged_min); in operator() local
93 auto clamped_shifted = clamped - nudged_min; in operator()
143 const auto clamped = inputs.cwiseMin(nudged_max).cwiseMax(nudged_min); in operator() local
144 const auto clamped_shifted = clamped - nudged_min; in operator()
215 const auto clamped = in operator() local
217 const auto clamped_shifted = clamped - nudged_min; in operator()
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AMDGPU/
Dllvm.r600.recipsqrt.clamped.ll3 declare float @llvm.r600.recipsqrt.clamped.f32(float) nounwind readnone
8 %rsq_clamped = call float @llvm.r600.recipsqrt.clamped.f32(float %src)
/external/mesa3d/docs/specs/
DMESA_texture_signed_rgba.spec118 a framebuffer clamped to [0,1] all converted numbers will be in the range
146 are clamped to [-1,1] unless stated otherwise as in the case
147 of explicitly clamped to [0,1] for GL_COMBINE. or clamping the
158 requires texture source colors to be clamped to [0,1]. Texture
160 negative values generated post-filtering would be clamped to
DMESA_swap_control.spec92 nized to a video frame. The <interval> value is silently clamped to
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_emit.c197 uint16_t clamped; in setup_border_colors() local
201 clamped = CLAMP(bc->ui[j], 0, 0x3); in setup_border_colors()
205 clamped = CLAMP(bc->i[j], -128, 127); in setup_border_colors()
207 clamped = CLAMP(bc->ui[j], 0, 255); in setup_border_colors()
211 clamped = CLAMP(bc->ui[j], 0, 0x3ff); in setup_border_colors()
215 clamped = CLAMP(bc->i[j], -32768, 32767); in setup_border_colors()
217 clamped = CLAMP(bc->ui[j], 0, 65535); in setup_border_colors()
222 clamped = 0; in setup_border_colors()
226 e->fp16[c] = clamped; in setup_border_colors()
/external/python/cpython3/Lib/test/decimaltestdata/
Dclamp.decTest2 -- clamp.decTest -- clamped exponent tests (format-independent) --
129 -- clamped zeros...
144 -- clamped zeros...
187 -- subnormals clamped to 0-Etiny
/external/python/cpython2/Lib/test/decimaltestdata/
Dclamp.decTest2 -- clamp.decTest -- clamped exponent tests (format-independent) --
129 -- clamped zeros...
144 -- clamped zeros...
187 -- subnormals clamped to 0-Etiny
/external/mesa3d/docs/
DARB_color_buffer_float.txt3 - For fragment programs with ARB_fog_* options, colors are clamped before fog application regardles…
/external/tensorflow/tensorflow/lite/kernels/internal/
Dquantization_util.cc348 const float clamped = std::min(nudged_max, std::max(nudged_min, src_val)); in FakeQuantizeArray() local
349 const float clamped_shifted = clamped - nudged_min; in FakeQuantizeArray()
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_EncodeWav.pbtxt25 values in the range -1.0f to 1.0f, and any outside that value will be clamped to
Dapi_def_StridedSlice.pbtxt8 Out-of-bounds values will be silently clamped. If the `k`th bit of
27 clamped to `[0,dim[i]) if slice[i]>0` or `[-1,dim[i]-1] if slice[i] < 0`
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_pack.h140 boolean clamped,
/external/deqp/external/openglcts/docs/specs/
DCTS_EXT_polygon_offset_clamp.txt59 Check if offset is clamped correctly by validating it against
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dfake_quantize_ops.cc78 xla::XlaOp clamped = xla::Clamp(nudged_input_min, input, nudged_input_max); in Quantize() local
79 xla::XlaOp clamped_shifted = xla::Sub(clamped, nudged_input_min); in Quantize()
/external/libchrome/base/numerics/
DREADME.md14 helper functions for performing fast, clamped (i.e. non-sticky saturating)
47 ### Performing saturated (clamped) arithmetic conversions
122 ### Calculating clamped coordinates (non-sticky saturating arithmetic)
133 // Use clamped arithmetic since inset calculations might overflow.
322 `ClampedNumeric<>` implements all the logic and operators for clamped
/external/skia/src/gpu/gradients/
DGrClampedGradientEffect.fp9 // border colors that are used when outside the clamped boundary. Gradients with the
/external/skqp/src/gpu/gradients/
DGrClampedGradientEffect.fp9 // border colors that are used when outside the clamped boundary. Gradients with the
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/InstCombine/
Dshift-sra.ll192 ; ashr (sext X), C --> sext (ashr X, C') -- the shift amount must be clamped
205 ; ashr (sext X), C --> sext (ashr X, C') -- the shift amount must be clamped
/external/mesa3d/src/gallium/docs/source/cso/
Drasterizer.rst15 If set, TGSI_SEMANTIC_COLOR registers are clamped to the [0, 1] range after
32 are clamped to [0, 1].
331 disabled and the depth value will be clamped at the per-pixel level, after
/external/deqp/doc/testspecs/GLES31/
Dfunctional.sample_shading.txt38 MIN_SAMPLE_SHADING state is clamped when it is specified with glMinSampleShading

1234