HomeSort by relevance Sort by last modified time
    Searched refs:half (Results 1 - 25 of 464) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/opencv3/3rdparty/openexr/IlmImf/
ImfConvert.h 49 #include "half.h"
55 // Conversion from half or float to unsigned int:
73 unsigned int halfToUint (half h);
78 // Conversion from unsigned int or float to half:
83 // finite, closest possible half
98 half uintToHalf (unsigned int ui);
99 half floatToHalf (float f);
ImfLut.h 43 // of half --> half functions to pixel data,
56 // Lookup table for individual half channels.
75 void apply (half *data,
89 halfFunction <half> _lut;
129 halfFunction <half> _lut;
137 // Zero explicitly remains zero. The first non-zero half will map to 1
142 half round12log (half x);
154 half operator () (half x) {return x.round(n);
    [all...]
ImfRgba.h 45 #include "half.h"
56 half r;
57 half g;
58 half b;
59 half a;
62 Rgba (half r, half g, half b, half a = 1.f): r (r), g (g), b (b), a (a) {}
ImfConvert.cpp 88 halfToUint (half h)
113 half
117 return half::posInf();
119 return half (ui);
123 half
129 return half::posInf();
132 return half::negInf();
135 return half (f);
  /external/opencv3/3rdparty/openexr/Half/
half.h 41 // half -- a 16-bit floating point number class:
43 // Type half can represent positive and negative numbers whose
49 // Type half behaves (almost) like the built-in C++ floating point
50 // types. In arithmetic expressions, half, float and double can be
53 // half a (3.5);
59 // Conversions from half to float are lossless; all half numbers
62 // Conversions from float to half may not preserve a float's value
63 // exactly. If a float is not representable as a half, then the
64 // float value is rounded to the nearest representable half. If
102 class HALF_EXPORT half class
427 half::half () function in class:half
438 half::half (float f) function in class:half
    [all...]
halfLimits.h 47 // C++ standard library-style numeric_limits for class half
52 #include "half.h"
57 class numeric_limits <half>
63 static half min () throw () {return HALF_NRM_MIN;}
64 static half max () throw () {return HALF_MAX;}
72 static half epsilon () throw () {return HALF_EPSILON;}
73 static half round_error () throw () {return HALF_EPSILON / 2;}
85 static half infinity () throw () {return half::posInf();}
86 static half quiet_NaN () throw () {return half::qNan();
    [all...]
halfFunction.h 43 // of half --> T functions
53 // evaluates the function for all finite half values in the interval
55 // For finite half values that are not in [domainMin, domainMax], the
61 // half values by calling the the halfFunction object's operator()
69 // halfFunction<half> hsin (sin);
71 // halfFunction<half> hsqrt (sqrt, // function
73 // half::qNan(), // sqrt(x) for x < 0
74 // half::posInf(), // sqrt(+inf)
75 // half::qNan(), // sqrt(-inf)
76 // half::qNan()); // sqrt(nan
    [all...]
half.cpp 42 // class half --
48 #include "half.h"
53 // Lookup tables for half-to-float and float-to-half conversion
56 HALF_EXPORT_CONST half::uif half::_toFloat[1 << 16] =
58 HALF_EXPORT_CONST unsigned short half::_eLut[1 << 9] =
63 // Overflow handler for float-to-half conversion;
69 half::overflow ()
81 // Float-to-half conversion -- general case, includin
    [all...]
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
BitmapsRectActivity.java 57 final float half = mBitmap1.getHeight() / 2.0f; local
58 mSrcRect = new Rect((int) fourth, (int) (half - half / 2.0f),
59 (int) (fourth + fourth), (int) (half + half / 2.0f));
60 mDstRect = new RectF(fourth, half - half / 2.0f, fourth + fourth, half + half / 2.0f);
61 mDstRect2 = new RectF(fourth, half - half / 2.0f
    [all...]
  /external/parameter-framework/asio-1.10.6/include/asio/detail/
null_fenced_block.hpp 24 enum half_or_full_t { half, full }; enumerator in enum:asio::detail::null_fenced_block::half_or_full_t
  /toolchain/binutils/binutils-2.25/gas/testsuite/gas/mips/
pcrel-2.s 4 .half frob-.
  /cts/tests/tests/renderscript/src/android/renderscript/cts/generated/
TestNanHalf.rs 23 half __attribute__((kernel)) testNanHalfHalf() {
TestLength.rs 39 half __attribute__((kernel)) testLengthHalfHalf(half inV) {
43 half __attribute__((kernel)) testLengthHalf2Half(half2 inV) {
47 half __attribute__((kernel)) testLengthHalf3Half(half3 inV) {
51 half __attribute__((kernel)) testLengthHalf4Half(half4 inV) {
TestNativeLength.rs 39 half __attribute__((kernel)) testNativeLengthHalfHalf(half inV) {
43 half __attribute__((kernel)) testNativeLengthHalf2Half(half2 inV) {
47 half __attribute__((kernel)) testNativeLengthHalf3Half(half3 inV) {
51 half __attribute__((kernel)) testNativeLengthHalf4Half(half4 inV) {
  /frameworks/rs/driver/runtime/
rs_f16_math.c 21 extern half __attribute__((overloadable)) copysign(half x, half y) {
31 extern half __attribute__((overloadable)) frexp(half x, int *eptr) {
33 static const half two12 = 4096;
58 extern int __attribute__((overloadable)) ilogb(half x) {
82 extern half __attribute__((overloadable)) modf(half x, half *iptr)
    [all...]
  /ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/detail/
binary_search.hpp 43 typename traits::difference_type half; local
47 half = len >> 1;
49 std::advance(middle, half);
53 len = len - half - 1;
56 len = half;
68 typename traits::difference_type half; local
72 half = len >> 1;
74 std::advance(middle, half);
78 len = len - half - 1;
81 len = half;
93 typename traits::difference_type half; local
118 typename traits::difference_type half; local
143 typename traits::difference_type half; local
175 typename traits::difference_type half; local
    [all...]
  /external/libdivsufsort/lib/
utils.c 36 saidx_t half, i; local
37 for(i = 0, half = size >> 1;
39 size = half, half >>= 1) {
40 if(A[i + half] < value) {
41 i += half + 1;
42 half -= (size & 1) ^ 1;
263 saidx_t size, lsize, rsize, half; local
275 for(i = j = k = 0, lmatch = rmatch = 0, size = SAsize, half = size >> 1;
277 size = half, half >>= 1)
332 saidx_t size, lsize, rsize, half; local
    [all...]
  /external/fdlibm/
e_cosh.c 38 static const double one = 1.0, half=0.5, huge = 1.0e300; variable
40 static double one = 1.0, half=0.5, huge = 1.0e300; variable
72 return half*t+half/t;
75 /* |x| in [22, ieee_log(maxdouble)] return half*ieee_exp(|x|) */
76 if (ix < 0x40862E42) return half*__ieee754_exp(ieee_fabs(x));
82 w = __ieee754_exp(half*ieee_fabs(x));
83 t = half*w;
  /toolchain/binutils/binutils-2.25/gas/testsuite/gas/sparc/
pcrel.s 22 .half %r_disp16(3b)
23 .half %r_disp16(4f)
25 .half 0
  /bionic/libm/upstream-freebsd/lib/msun/src/
e_cosh.c 43 static const double one = 1.0, half=0.5, huge = 1.0e300; variable
69 return half*t+half/t;
72 /* |x| in [22, log(maxdouble)] return half*exp(|x|) */
73 if (ix < 0x40862E42) return half*__ieee754_exp(fabs(x));
e_coshf.c 22 static const float one = 1.0, half=0.5, huge = 1.0e30; variable
47 return half*t+half/t;
50 /* |x| in [9, log(maxfloat)] return half*exp(|x|) */
51 if (ix < 0x42b17217) return half*__ieee754_expf(fabsf(x));
  /external/opencv3/3rdparty/openexr/Imath/
ImathHalfLimits.h 42 // Imath-style limits for class half.
47 #include "half.h"
53 struct limits <half>
  /external/llvm/test/MC/Sparc/
sparc-directives.s 8 ! SPARC32: .half 1024
9 ! SPARC64: .half 1024
10 .half 1024
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
float16_gen.c 30 typedef __fp16 half; typedef
111 half h = *(half *) &s;
117 half h = (half) f;
130 half hValue = *(half *) &value;
131 half ulp;
144 ulp = *(half *) &ulpInShort;
154 half hA = *(half *) &a
    [all...]
  /external/webrtc/webrtc/common_audio/
window_generator.cc 54 const size_t half = (length + 1) / 2; local
57 for (size_t i = 0; i <= half; ++i) {
62 for (size_t i = length - 1; i >= half; --i) {
67 window[half - 1] = sqrtf(window[half - 1] / sum);

Completed in 443 milliseconds

1 2 3 4 5 6 7 8 91011>>