Searched defs:precision (Results 1 - 25 of 176) sorted by relevance

12345678

/external/vulkan-validation-layers/libs/glm/detail/
H A Dprecision.hpp24 /// @file glm/core/precision.hpp
34 enum precision enum in namespace:glm
/external/flac/libFLAC/
H A Dfloat.c269 FLAC__uint32 FLAC__fixedpoint_log2(FLAC__uint32 x, unsigned fracbits, unsigned precision) argument
280 if(precision > LOG2_LOOKUP_PRECISION)
281 precision = LOG2_LOOKUP_PRECISION;
287 while (x > ONE && k < precision) {
H A Dlpc.c167 int FLAC__lpc_quantize_coefficients(const FLAC__real lp_coeff[], unsigned order, unsigned precision, FLAC__int32 qlp_coeff[], int *shift) argument
173 FLAC__ASSERT(precision > 0);
174 FLAC__ASSERT(precision >= FLAC__MIN_QLP_COEFF_PRECISION);
177 precision--;
178 qmax = 1 << precision;
201 *shift = (int)precision - log2cmax - 1;
218 fprintf(stderr,"FLAC__lpc_quantize_coefficients: quantizer overflow: q>qmax %d>%d shift=%d cmax=%f precision=%u lpc[%u]=%f\n",q,qmax,*shift,cmax,precision+1,i,lp_coeff[i]);
220 fprintf(stderr,"FLAC__lpc_quantize_coefficients: quantizer overflow: q<qmin %d<%d shift=%d cmax=%f precision=%u lpc[%u]=%f\n",q,qmin,*shift,cmax,precision
[all...]
/external/skia/src/gpu/
H A DGrCoordTransform.cpp22 // Always start at kDefault. Then if precisions differ we see if the precision needs to be
37 // Make sure there is at least 2 bits of subpixel precision in the range of
58 GrSLPrecision precision) {
63 fPrecision = precision;
56 reset(GrCoordSet sourceCoords, const SkMatrix& m, GrSLPrecision precision) argument
H A DGrCaps.cpp63 GrSLPrecision precision = static_cast<GrSLPrecision>(p); local
65 precision_to_string(precision),
/external/skia/src/gpu/glsl/
H A DGrGLSLUniformHandler.h30 GrSLPrecision precision,
33 return this->addUniformArray(visibility, type, precision, name, 0, outName);
38 GrSLPrecision precision,
42 return this->internalAddUniformArray(visibility, type, precision, name, true, arrayCount,
61 GrSLPrecision precision,
28 addUniform(uint32_t visibility, GrSLType type, GrSLPrecision precision, const char* name, const char** outName = nullptr) argument
36 addUniformArray(uint32_t visibility, GrSLType type, GrSLPrecision precision, const char* name, int arrayCount, const char** outName = nullptr) argument
H A DGrGLSLGeometryProcessor.cpp52 GrSLPrecision precision = coordTransforms[t]->precision(); local
57 kMat33f_GrSLType, precision,
65 varyingHandler->addVarying(strVaryingName.c_str(), &v, precision);
113 GrSLPrecision precision = coordTransforms[t]->precision(); local
119 varyingHandler->addVarying(strVaryingName.c_str(), &v, precision);
H A DGrGLSLVarying.cpp13 const char* output, GrSLPrecision precision) {
16 this->addVarying(input->fName, &v, precision);
22 GrSLPrecision precision) {
25 this->addFlatVarying(input->fName, &v, precision);
42 GrSLPrecision precision,
49 v.fPrecision = precision;
12 addPassThroughAttribute(const GrGeometryProcessor::Attribute* input, const char* output, GrSLPrecision precision) argument
20 addFlatPassThroughAttribute(const GrGeometryProcessor::Attribute* input, const char* output, GrSLPrecision precision) argument
40 internalAddVarying(const char* name, GrGLSLVarying* varying, GrSLPrecision precision, bool flat) argument
/external/icu/icu4c/source/i18n/
H A Dvalueformatter.cpp18 #include "precision.h"
74 const FixedPrecision &precision) {
76 precision.fMin.getIntDigitCount(),
77 precision.fMax.getIntDigitCount());
199 const FixedPrecision &precision,
204 fFixedPrecision = &precision;
211 const ScientificPrecision &precision,
215 fScientificPrecision = &precision;
71 isNoGrouping( const DigitGrouping &grouping, int32_t value, const FixedPrecision &precision) argument
196 prepareFixedDecimalFormatting( const DigitFormatter &formatter, const DigitGrouping &grouping, const FixedPrecision &precision, const DigitFormatterOptions &options) argument
209 prepareScientificFormatting( const DigitFormatter &formatter, const ScientificPrecision &precision, const SciFormatterOptions &options) argument
/external/deqp/framework/delibs/decpp/
H A DdeStringUtil.cpp110 std::string floatToString (float val, int precision) argument
113 s << std::fixed << std::setprecision(precision) << val;
/external/eigen/Eigen/src/Eigen2Support/
H A DMathFunctions.h30 template<typename T> inline T precision () { return NumTraits<T>::dummy_precision(); } function in namespace:Eigen
36 typename NumTraits<Scalar>::Real precision = NumTraits<Scalar>::dummy_precision())
38 return internal::isMuchSmallerThan(x, y, precision);
43 typename NumTraits<Scalar>::Real precision = NumTraits<Scalar>::dummy_precision())
45 return internal::isApprox(x, y, precision);
50 typename NumTraits<Scalar>::Real precision = NumTraits<Scalar>::dummy_precision())
52 return internal::isApproxOrLessThan(x, y, precision);
/external/skia/src/gpu/gl/
H A DGrGLUniformHandler.cpp20 GrSLPrecision precision,
29 SkASSERT(kDefault_GrSLPrecision == precision || GrSLTypeIsNumeric(type));
47 uni.fVariable.setPrecision(precision);
17 internalAddUniformArray( uint32_t visibility, GrSLType type, GrSLPrecision precision, const char* name, bool mangleName, int arrayCount, const char** outName) argument
/external/skia/src/gpu/vk/
H A DGrVkUniformHandler.cpp63 GrSLPrecision precision,
72 SkASSERT(kDefault_GrSLPrecision == precision || GrSLTypeIsFloatType(type));
91 uni.fVariable.setPrecision(precision);
60 internalAddUniformArray( uint32_t visibility, GrSLType type, GrSLPrecision precision, const char* name, bool mangleName, int arrayCount, const char** outName) argument
/external/deqp/external/vulkancts/modules/vulkan/
H A DvktInfoTests.cpp162 int precision; member in struct:vkt::__anon3937::PrettySize
166 , precision (precision_)
203 tmp << std::fixed << std::setprecision(size.precision)
211 PrettySize<SizeType> prettySize (SizeType value, int precision = 2)
213 return PrettySize<SizeType>(value, precision);
/external/skia/include/gpu/
H A DGrCoordTransform.h21 * The precision of the shader var that interpolates the transformed coordinates can be specified.
48 * Create a transformation that maps [0, 1] to a texture's boundaries. The precision is inferred
61 * Create a transformation from a matrix. The precision is inferred from the texture size and
75 GrSLPrecision precision = kDefault_GrSLPrecision) {
77 this->reset(sourceCoords, m, precision);
89 GrSLPrecision precision = kDefault_GrSLPrecision);
121 GrSLPrecision precision() const { return fPrecision; } function in class:GrCoordTransform
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_printf.cc98 static int AppendString(char **buff, const char *buff_end, int precision, argument
104 if (precision >= 0 && result >= precision)
143 int precision = -1; local
146 precision = va_arg(args, int);
155 // Only %s supports precision for now
156 CHECK(!(precision >= 0 && *cur != 's'));
182 result += AppendString(&buff, buff_end, precision, va_arg(args, char*));
/external/deqp/framework/opengl/
H A DgluShaderUtil.cpp161 const char* getPrecisionName (Precision precision) argument
171 DE_ASSERT(deInBounds32((int)precision, 0, PRECISION_LAST));
172 return s_names[(int)precision];
H A DgluVarType.cpp42 VarType::VarType (DataType basicType, Precision precision) argument
46 m_data.basic.precision = precision;
121 m_data.basic.precision == other.m_data.basic.precision;
/external/deqp/modules/gles2/scripts/
H A Dgen-swizzles.py107 for (inputType, dataType, precision) in combinations.iterate():
109 print inputType, precision, dataType
131 precision mediump float;
151 precision mediump float;
152 precision mediump int;
167 def __init__(self, name, precision, dataType, swizzle, inputs, outputs):
169 self.precision = precision
250 # \todo [petri] Uses fixed precision.
253 precision variable
[all...]
/external/deqp/modules/gles3/scripts/
H A Dgen-swizzles.py107 for (inputType, dataType, precision) in combinations.iterate():
109 print inputType, precision, dataType
133 precision mediump float;
155 precision mediump float;
156 precision mediump int;
171 def __init__(self, name, precision, dataType, swizzle, inputs, outputs):
173 self.precision = precision
254 # \todo [petri] Uses fixed precision.
257 precision variable
[all...]
/external/deqp/modules/gles31/functional/
H A Des31fShaderSharedVarTests.cpp74 SharedBasicVarCase (Context& context, const char* name, DataType basicType, Precision precision, const tcu::UVec3& workGroupSize);
92 static std::string getBasicCaseDescription (DataType basicType, Precision precision, const tcu::UVec3& workGroupSize) argument
95 if (precision != PRECISION_LAST)
96 str << getPrecisionName(precision) << " ";
101 SharedBasicVarCase::SharedBasicVarCase (Context& context, const char* name, DataType basicType, Precision precision, const tcu::UVec3& workGroupSize) argument
102 : TestCase (context, name, getBasicCaseDescription(basicType, precision, workGroupSize).c_str())
104 , m_precision (precision)
377 for (int precision = 0; precision < PRECISION_LAST; precision
[all...]
/external/e2fsprogs/intl/
H A Dvasnprintf.c278 size_t precision; local
302 precision = 6;
312 precision = (arg < 0 ? 0 : arg);
318 precision = 0;
320 precision = xsum (xtimes (precision, 10), *digitp++ - '0');
431 tmp_length = xsum (tmp_length, precision);
438 tmp_length = xsum (tmp_length, precision);
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/utils/
H A DUtil.java398 public static double round(double value, int precision) { argument
399 if (precision < 0) {
400 throw new IllegalArgumentException("Should have a precision at least greater than 0!");
402 if (precision == 0) return (long) Math.floor(value);
405 while (n++ < precision)
/external/eigen/Eigen/src/Core/
H A DIO.h31 * - \b precision number of digits for floating point values, or one of the special constants \c StreamPrecision and \c FullPrecision.
33 * stream's own precision setting, as set for instance using \c cout.precision(3). The other special value
34 * \c FullPrecision means that the number of digits will be computed to match the full precision of each floating-point
58 rowSpacer(""), coeffSeparator(_coeffSeparator), precision(_precision), flags(_flags)
70 int precision; member in struct:Eigen::IOFormat
168 if(fmt.precision == StreamPrecision)
172 else if(fmt.precision == FullPrecision)
185 explicit_precision = fmt.precision;
189 if(explicit_precision) old_precision = s.precision(explicit_precisio
[all...]
/external/eigen/unsupported/Eigen/src/Skyline/
H A DSkylineInplaceLU.h51 * \sa precision() */
56 /** \returns the current precision.
59 RealScalar precision() const { function in class:Eigen::SkylineInplaceLU

Completed in 2474 milliseconds

12345678