Home
last modified time | relevance | path

Searched refs:Float32 (Results 1 – 25 of 32) sorted by relevance

12

/external/clang/test/SemaCXX/
Dneon-vector-types.cpp5 typedef float Float32; typedef
14 int foo (const Float32 *realBufPtr) { in foo()
19 MP4Err autoCorrelation2nd_Neon(Float32 *alphar, Float32 *alphai, in autoCorrelation2nd_Neon()
20 const Float32 *realBufPtr, in autoCorrelation2nd_Neon()
21 const Float32 *imagBufPtr, in autoCorrelation2nd_Neon()
/external/deqp/modules/gles31/functional/
Des31fShaderCommonFunctionTests.cpp101 const int inExp = tcu::Float32(input).exponent(); in numBitsLostInOp()
102 const int outExp = tcu::Float32(output).exponent(); in numBitsLostInOp()
109 const deUint32 aBits = tcu::Float32(a).bits(); in getUlpDiff()
110 const deUint32 bBits = tcu::Float32(b).bits(); in getUlpDiff()
116 if (tcu::Float32(a).isZero()) in getUlpDiffIgnoreZeroSign()
117 return getUlpDiff(tcu::Float32::construct(tcu::Float32(b).sign(), 0, 0).asFloat(), b); in getUlpDiffIgnoreZeroSign()
118 else if (tcu::Float32(b).isZero()) in getUlpDiffIgnoreZeroSign()
119 return getUlpDiff(a, tcu::Float32::construct(tcu::Float32(a).sign(), 0, 0).asFloat()); in getUlpDiffIgnoreZeroSign()
133 const int exp = tcu::Float32(value).exponent(); in getEpsFromMaxUlpDiff()
134 …return tcu::Float32::construct(+1, exp, (1u<<23) | ulpDiff).asFloat() - tcu::Float32::construct(+1… in getEpsFromMaxUlpDiff()
[all …]
Des31fShaderPackingFunctionTests.cpp49 const deUint32 aBits = tcu::Float32(a).bits(); in getUlpDiff()
50 const deUint32 bBits = tcu::Float32(b).bits(); in getUlpDiff()
62 return str << v.value << " / " << tcu::toHex(tcu::Float32(v.value).bits()); in operator <<()
570 …v[c] = tcu::Float32::construct(s, exp ? exp : 1 /* avoid denormals */, (1u<<23) | mantissa).asFloa… in iterate()
710 const deUint32 refBits0 = tcu::Float32(ref0).bits(); in iterate()
711 const deUint32 refBits1 = tcu::Float32(ref1).bits(); in iterate()
712 const deUint32 resBits0 = tcu::Float32(res0).bits(); in iterate()
713 const deUint32 resBits1 = tcu::Float32(res1).bits(); in iterate()
/external/deqp/framework/common/
DtcuTexVerifierUtil.cpp36 const int exp = tcu::Float32(value).exponent(); in computeFloatingPointError()
38 …return Float32::construct(+1, exp, (1u<<23) | mask).asFloat() - Float32::construct(+1, exp, 1u<<23… in computeFloatingPointError()
DtcuFloat.hpp132 typedef Float<deUint32, 8, 23, 127, FLOAT_HAS_SIGN|FLOAT_SUPPORT_DENORM> Float32; //!< IEEE 754 3… typedef
153 *this = convert(Float32(u32)); in Float()
169 deUint32 u32 = Float32::convert(*this).bits(); in asFloat()
/external/deqp/modules/gles3/functional/
Des3fShaderDerivateTests.cpp207 return tcu::UVec4(tcu::Float32(v[0]).exponentBits(), in getCompExpBits()
208 tcu::Float32(v[1]).exponentBits(), in getCompExpBits()
209 tcu::Float32(v[2]).exponentBits(), in getCompExpBits()
210 tcu::Float32(v[3]).exponentBits()); in getCompExpBits()
217 const int exp = tcu::Float32(value).exponent(); in computeFloatingPointError()
219 …return tcu::Float32::construct(+1, exp, (1u<<23) | mask).asFloat() - tcu::Float32::construct(+1, e… in computeFloatingPointError()
255 …return tcu::Float32::construct(+1, exp, (1<<23) | (1 << ulpBitNdx)).asFloat() - tcu::Float32::cons… in getSingleULPForExponent()
260 return tcu::Float32::construct(+1, exp, (1<<23)).asFloat(); in getSingleULPForExponent()
266 const int exp = tcu::Float32(value).exponent(); in getSingleULPForValue()
278 const tcu::Float32 inputFloat = tcu::Float32(value); in convertFloorFlushToZero()
[all …]
Des3fShaderCommonFunctionTests.cpp100 const int inExp = tcu::Float32(input).exponent(); in numBitsLostInOp()
101 const int outExp = tcu::Float32(output).exponent(); in numBitsLostInOp()
108 const deUint32 aBits = tcu::Float32(a).bits(); in getUlpDiff()
109 const deUint32 bBits = tcu::Float32(b).bits(); in getUlpDiff()
115 if (tcu::Float32(a).isZero()) in getUlpDiffIgnoreZeroSign()
116 return getUlpDiff(tcu::Float32::construct(tcu::Float32(b).sign(), 0, 0).asFloat(), b); in getUlpDiffIgnoreZeroSign()
117 else if (tcu::Float32(b).isZero()) in getUlpDiffIgnoreZeroSign()
118 return getUlpDiff(a, tcu::Float32::construct(tcu::Float32(a).sign(), 0, 0).asFloat()); in getUlpDiffIgnoreZeroSign()
132 const int exp = tcu::Float32(value).exponent(); in getEpsFromMaxUlpDiff()
133 …return tcu::Float32::construct(+1, exp, (1u<<23) | ulpDiff).asFloat() - tcu::Float32::construct(+1… in getEpsFromMaxUlpDiff()
[all …]
Des3fShaderPrecisionTests.cpp320 const int in0Exp = tcu::Float32(in0).exponent(); in compare()
321 const int in1Exp = tcu::Float32(in1).exponent(); in compare()
322 const int resExp = tcu::Float32(result).exponent(); in compare()
392 << "in0 = " << in0 << " / " << tcu::toHex(tcu::Float32(in0).bits()) in iterate()
393 << ", in1 = " << in1 << " / " << tcu::toHex(tcu::Float32(in1).bits()) in iterate()
395 …<< TestLog::Message << " reference = " << refF << " / " << tcu::toHex(tcu::Float32(refF).bits()) … in iterate()
405 …log << TestLog::Message << " result = " << pixels[0] << " / " << tcu::toHex(tcu::Float32(pixels[0… in iterate()
414 const deUint32 firstPixelBits = tcu::Float32(pixels[0]).bits(); in iterate()
421 const deUint32 pixelBits = tcu::Float32(pixels[(y*FRAMEBUFFER_WIDTH + x)*4]).bits(); in iterate()
864 float minF32 = tcu::Float32((1u<<31) | (0xfdu<<23) | 0x0u).asFloat(); in init()
[all …]
Des3fShaderPackingFunctionTests.cpp49 const deUint32 aBits = tcu::Float32(a).bits(); in getUlpDiff()
50 const deUint32 bBits = tcu::Float32(b).bits(); in getUlpDiff()
62 return str << v.value << " / " << tcu::toHex(tcu::Float32(v.value).bits()); in operator <<()
566 …v[c] = tcu::Float32::construct(s, exp ? exp : 1 /* avoid denormals */, (1u<<23) | mantissa).asFloa… in iterate()
706 const deUint32 refBits0 = tcu::Float32(ref0).bits(); in iterate()
707 const deUint32 refBits1 = tcu::Float32(ref1).bits(); in iterate()
708 const deUint32 resBits0 = tcu::Float32(res0).bits(); in iterate()
709 const deUint32 resBits1 = tcu::Float32(res1).bits(); in iterate()
/external/chromium_org/third_party/webrtc/modules/audio_device/mac/
Daudio_mixer_manager_mac.cc255 const Float32 vol = (Float32)(volume / 255.0); in SetSpeakerVolume()
315 Float32 channelVol = 0; in SpeakerVolume()
316 Float32 vol = 0; in SpeakerVolume()
970 const Float32 vol = (Float32)(volume / 255.0); in SetMicrophoneVolume()
1031 Float32 channelVol = 0; in MicrophoneVolume()
1032 Float32 volFloat32 = 0; in MicrophoneVolume()
Daudio_device_mac.h317 Float32* _captureBufData;
Daudio_device_mac.cc315 _captureBufData = new Float32[_captureBufSizeSamples]; in Init()
323 sizeof(Float32), in Init()
1470 * sizeof(Float32)); in InitPlayout()
1695 * sizeof(Float32)); in InitRecording()
/external/chromium_org/media/audio/mac/
Daudio_low_latency_input_mac.cc347 Float32 volume_float32 = static_cast<Float32>(volume); in SetVolume()
411 Float32 volume_float32 = 0.0; in GetVolume()
424 Float32 volume_float32 = 0.0; in GetVolume()
429 Float32 channel_volume = 0; in GetVolume()
Daudio_auhal_mac.cc340 format.mBytesPerPacket = sizeof(Float32); in SetStreamFormat()
342 format.mBytesPerFrame = sizeof(Float32); in SetStreamFormat()
/external/deqp/modules/gles3/accuracy/
Des3aVaryingInterpolationTests.cpp137 tcu::Float32 fp32(val); in isValidFloat()
299 float minF32 = tcu::Float32((0u<<31) | (0xfcu<<23) | 0x0u).asFloat(); in init()
300 float maxF32 = tcu::Float32((1u<<31) | (0xfcu<<23) | 0x0u).asFloat(); in init()
/external/deqp/modules/gles2/accuracy/
Des2aVaryingInterpolationTests.cpp134 tcu::Float32 fp32(val); in isValidFloat()
292 float minF32 = tcu::Float32((0u<<31) | (0xfcu<<23) | 0x0u).asFloat(); in init()
293 float maxF32 = tcu::Float32((1u<<31) | (0xfcu<<23) | 0x0u).asFloat(); in init()
/external/clang/include/clang/Basic/
DTargetBuiltins.h117 Float32, enumerator
/external/chromium_org/third_party/webrtc/base/
Dmacconversion.cc77 Float32 float32; in p_convertCFNumberToInt()
/external/chromium_org/v8/src/
Dtypedarray.js391 FUNCTION(Float32)
/external/chromium_org/v8/test/webkit/
Djit-float32-array-nan-expected.txt24 Tests what happens in the Baseline JIT if we load from a Float32 array that contains a weirdly form…
Ddfg-float32-array-nan-expected.txt24 Tests what happens in the DFG JIT if we load from a Float32 array that contains a weirdly formatted…
/external/deqp/modules/glshared/
DglsRasterizationTestUtil.cpp214 …return tcu::Float32::construct(+1, valueExponent, (1u<<23) + (ulp << (23 - 10))).asFloat() - tcu:: in getExponentEpsilonFromULP()
221 const int exponent = tcu::Float32(value).exponent(); in getValueEpsilonFromULP()
245 if (value > 0.0f && value < tcu::Float32::construct(+1, -14, 1u<<23).asFloat()) in getMinFlushToZero()
254 if (value < 0.0f && value > tcu::Float32::construct(-1, -14, 1u<<23).asFloat()) in getMaxFlushToZero()
/external/clang/lib/CodeGen/
DCGBuiltin.cpp1727 case NeonTypeFlags::Float32: in GetNeonType()
2609 Ty = GetNeonType(this, NeonTypeFlags(NeonTypeFlags::Float32, false, Quad)); in EmitCommonNeonBuiltinExpr()
2620 : NeonTypeFlags::Float32, in EmitCommonNeonBuiltinExpr()
2639 : NeonTypeFlags::Float32, in EmitCommonNeonBuiltinExpr()
2657 : NeonTypeFlags::Float32, in EmitCommonNeonBuiltinExpr()
2700 : NeonTypeFlags::Float32, false, Quad)); in EmitCommonNeonBuiltinExpr()
4740 NeonTypeFlags SrcFlag = NeonTypeFlags(NeonTypeFlags::Float32, false, false); in EmitAArch64BuiltinExpr()
4746 assert(Type.getEltType() == NeonTypeFlags::Float32 && in EmitAArch64BuiltinExpr()
4766 : NeonTypeFlags::Float32, false, quad)); in EmitAArch64BuiltinExpr()
4786 : NeonTypeFlags::Float32, false, quad)); in EmitAArch64BuiltinExpr()
[all …]
/external/deqp/framework/referencerenderer/
DrrRenderer.cpp978 const int maxExponent = tcu::Float32(maxZValue).exponent(); in getFloatingPointMinimumResolvableDifference()
979 return tcu::Float32::construct(+1, maxExponent - 23, 1 << 23).asFloat(); in getFloatingPointMinimumResolvableDifference()
989 return tcu::Float32::construct(+1, -numBits, 1 << 23).asFloat(); in getFixedPointMinimumResolvableDifference()
/external/pdfium/core/src/fpdfapi/fpdf_edit/
Dfpdf_edit_doc.cpp648 Float32 weight = 0; in AddMacFont()

12