Home
last modified time | relevance | path

Searched refs:maxVal (Results 1 – 12 of 12) sorted by relevance

/hardware/google/gfxstream/third-party/glm/include/glm/detail/
Dfunc_common_simd.inl159 … P> call(tvec4<float, P> const & x, tvec4<float, P> const & minVal, tvec4<float, P> const & maxVal)
162 result.data = _mm_min_ps(_mm_max_ps(x.data, minVal.data), maxVal.data);
170 … P> call(tvec4<int32, P> const & x, tvec4<int32, P> const & minVal, tvec4<int32, P> const & maxVal)
173 result.data = _mm_min_epi32(_mm_max_epi32(x.data, minVal.data), maxVal.data);
181 … call(tvec4<uint32, P> const & x, tvec4<uint32, P> const & minVal, tvec4<uint32, P> const & maxVal)
184 result.data = _mm_min_epu32(_mm_max_epu32(x.data, minVal.data), maxVal.data);
Dfunc_common.hpp176 GLM_FUNC_DECL genType clamp(genType x, genType minVal, genType maxVal);
179 GLM_FUNC_DECL vecType<T, P> clamp(vecType<T, P> const & x, T minVal, T maxVal);
182 …e<T, P> clamp(vecType<T, P> const & x, vecType<T, P> const & minVal, vecType<T, P> const & maxVal);
Dfunc_common.inl281 …ype<T, P> call(vecType<T, P> const & x, vecType<T, P> const & minVal, vecType<T, P> const & maxVal)
283 return min(max(x, minVal), maxVal);
543 GLM_FUNC_QUALIFIER genType clamp(genType x, genType minVal, genType maxVal) argument
546 return min(max(x, minVal), maxVal);
550 GLM_FUNC_QUALIFIER vecType<T, P> clamp(vecType<T, P> const & x, T minVal, T maxVal) argument
553 …, P, vecType, detail::is_aligned<P>::value>::call(x, vecType<T, P>(minVal), vecType<T, P>(maxVal));
557 …pe<T, P> clamp(vecType<T, P> const & x, vecType<T, P> const & minVal, vecType<T, P> const & maxVal) argument
560 …detail::compute_clamp_vector<T, P, vecType, detail::is_aligned<P>::value>::call(x, minVal, maxVal);
/hardware/interfaces/automotive/evs/1.1/vts/functional/
DVtsHalEvsV1_1TargetTest.cpp904 int32_t minVal, maxVal, step; in TEST_P() local
907 [&minVal, &maxVal, &step](int32_t val0, int32_t val1, int32_t val2) { in TEST_P()
909 maxVal = val1; in TEST_P()
934 int32_t val0 = minVal + (std::rand() % (maxVal - minVal)); in TEST_P()
1269 int32_t minVal, maxVal, step; in TEST_P() local
1272 [&minVal, &maxVal, &step](int32_t val0, int32_t val1, int32_t val2) { in TEST_P()
1274 maxVal = val1; in TEST_P()
1299 val0 = minVal + (std::rand() % (maxVal - minVal)); in TEST_P()
1479 int32_t minVal, maxVal, step; in TEST_P() local
1482 [&minVal, &maxVal, &step](int32_t val0, int32_t val1, int32_t val2) { in TEST_P()
[all …]
/hardware/google/graphics/common/hwc3/impl/
DTranslateHwcAidl.h177 const auto maxVal = static_cast<uint64_t>(255); in translate() local
178 return std::clamp(intVal, minVal, maxVal); in translate()
/hardware/google/gfxstream/third-party/glm/include/glm/gtx/
Dsimd_vec4.hpp257 detail::fvec4SIMD const & maxVal);
262 float const & maxVal);
Dsimd_vec4.inl424 detail::fvec4SIMD const & maxVal argument
427 return detail::sse_clp_ps(x.Data, minVal.Data, maxVal.Data);
434 float const & maxVal argument
437 return detail::sse_clp_ps(x.Data, _mm_set1_ps(minVal), _mm_set1_ps(maxVal));
/hardware/google/gfxstream/third-party/glm/include/glm/simd/
Dcommon.h184 GLM_FUNC_QUALIFIER glm_vec4 glm_vec4_clamp(glm_vec4 v, glm_vec4 minVal, glm_vec4 maxVal) in glm_vec4_clamp() argument
186 glm_vec4 const min0 = _mm_min_ps(v, maxVal); in glm_vec4_clamp()
/hardware/interfaces/automotive/evs/1.1/default/
DConfigManager.cpp145 const int32_t maxVal = stoi(ctrlElem->FindAttribute("max")->Value()); in readCameraCapabilities() local
155 aCamera->controls.emplace(aParam, make_tuple(minVal, maxVal, stepVal)); in readCameraCapabilities()
/hardware/google/gfxstream/guest/mesa/src/util/format/
Du_format_fxt1.c935 int32_t maxVal; in fxt1_quantize_MIXED0() local
943 maxVal = -1; /* small enough */ in fxt1_quantize_MIXED0()
950 if (maxVal < t) { in fxt1_quantize_MIXED0()
951 maxVal = t; in fxt1_quantize_MIXED0()
956 maxVal = -1; /* small enough */ in fxt1_quantize_MIXED0()
963 if (maxVal < t) { in fxt1_quantize_MIXED0()
964 maxVal = t; in fxt1_quantize_MIXED0()
/hardware/interfaces/automotive/evs/aidl/impl/default/src/
DConfigManager.cpp183 int32_t minVal = INT32_MIN, maxVal = INT32_MAX; in readCameraCapabilities() local
188 if (!android::base::ParseInt(ctrlElem->FindAttribute("max")->Value(), &maxVal)) { in readCameraCapabilities()
203 aParam, std::move(std::make_tuple(minVal, maxVal, stepVal))); in readCameraCapabilities()
/hardware/google/gfxstream/host/apigen-codec-common/X11/extensions/
DXInput.h547 int maxVal; member