/external/libvpx/libvpx/vp9/encoder/ |
vp9_picklpf.c | 80 int filt_mid = clamp(lf->last_filt_level, min_filter_level, max_filter_level); 190 lf->filter_level = clamp(filt_guess, min_filter_level, max_filter_level);
|
/external/pdfium/core/fxcrt/ |
cfx_seekablestreamproxy.cpp | 197 pdfium::clamp(m_iPosition, static_cast<FX_FILESIZE>(0), GetLength()); 285 pdfium::clamp(m_iPosition, static_cast<FX_FILESIZE>(0), GetLength());
|
/external/swiftshader/src/Common/ |
Math.hpp | 186 inline T clamp(T x, T a, T b) function in namespace:sw 196 return clamp(x, 0.0f, 1.0f);
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
dfs_hlo_visitor_with_default.h | 67 Status HandleClamp(HloInstructionPtr clamp) override { 68 return DefaultAction(clamp);
|
/external/vulkan-validation-layers/libs/glm/detail/ |
func_common.hpp | 205 /// @see <a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/clamp.xml">GLSL clamp man page</a> 208 GLM_FUNC_DECL genType clamp( 214 GLM_FUNC_DECL genType clamp( 303 /// t = clamp ((x - edge0) / (edge1 - edge0), 0, 1);
|
/external/vulkan-validation-layers/libs/glm/gtx/ |
simd_vec4.hpp | 280 detail::fvec4SIMD clamp( 285 detail::fvec4SIMD clamp( 338 //! t = clamp ((x - edge0) / (edge1 - edge0), 0, 1);
|
/frameworks/base/libs/hwui/tests/unit/ |
GlopBuilderTests.cpp | 45 EXPECT_EQ(expectedFill.texture.clamp, builtFill.texture.clamp);
|
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/ |
convolve5x5.rs | 69 return convert_uchar4(clamp(sum, 0.f, 255.f));
|
grain.rs | 87 ip = clamp(ip, 0.f, 255.f);
|
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/ |
convolve5x5.rs | 69 return convert_uchar4(clamp(sum, 0.f, 255.f));
|
grain.rs | 87 ip = clamp(ip, 0.f, 255.f);
|
threshold.rs | 94 out.xyz = convert_uchar3(clamp(blurredPixel, 0.f, 255.f));
|
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/ |
convolve5x5.rs | 69 return convert_uchar4(clamp(sum, 0.f, 255.f));
|
grain.rs | 87 ip = clamp(ip, 0.f, 255.f);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
CropMath.java | 92 * @param imageBound the rectangle to clamp edge points to. 93 * @param array an array of points to clamp to the rectangle, gets set to 100 array[x] = GeometryMathUtils.clamp(array[x], imageBound.left, imageBound.right); 101 array[x + 1] = GeometryMathUtils.clamp(array[x + 1], imageBound.top, imageBound.bottom);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
vignette.rs | 74 uchar4 out = rsPackColorTo8888(clamp(wsum, 0.f, 1.0f));
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/gdiplus/ |
gdiplusimageattributes.h | 212 BOOL clamp = FALSE) 216 color.GetValue(), clamp));
|
/prebuilts/ndk/r16/sources/third_party/vulkan/src/libs/glm/detail/ |
func_common.hpp | 205 /// @see <a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/clamp.xml">GLSL clamp man page</a> 208 GLM_FUNC_DECL genType clamp( 214 GLM_FUNC_DECL genType clamp( 303 /// t = clamp ((x - edge0) / (edge1 - edge0), 0, 1);
|
/prebuilts/ndk/r16/sources/third_party/vulkan/src/libs/glm/gtx/ |
simd_vec4.hpp | 280 detail::fvec4SIMD clamp( 285 detail::fvec4SIMD clamp( 338 //! t = clamp ((x - edge0) / (edge1 - edge0), 0, 1);
|
/frameworks/native/libs/ui/ |
ColorSpace.cpp | 257 std::bind(clamp<float>, _1, -0.799f, 2.399f) 267 std::bind(clamp<float>, _1, -0.5f, 7.499f) 340 std::bind(clamp<float>, _1, -65504.0f, 65504.0f) 350 std::bind(clamp<float>, _1, -65504.0f, 65504.0f) 357 size = clamp(size, 2u, 256u);
|
/frameworks/support/media/src/main/java/androidx/media/subtitle/ |
Cea608CCParser.java | 639 private static int clamp(int x, int min, int max) { method in class:Cea608CCParser.CCMemory 644 mRow = clamp(row, 1, MAX_ROWS); 645 mCol = clamp(col, 1, MAX_COLS); 649 mRow = clamp(row, 1, MAX_ROWS); 653 mCol = clamp(mCol + col, 1, MAX_COLS);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
AppWidgetResizeFrame.java | 207 mDeltaX = mDeltaXRange.clamp(deltaX); 208 mDeltaY = mDeltaYRange.clamp(deltaY); 211 mDeltaX = mDeltaXRange.clamp(deltaX); 216 mDeltaY = mDeltaYRange.clamp(deltaY); 542 public int clamp(int value) { method in class:AppWidgetResizeFrame.IntRange
|
/frameworks/base/graphics/java/android/graphics/ |
ColorSpace.java | 1821 private static float clamp(float x) { method in class:ColorSpace.Xyz 1897 private static float clamp(float x, float min, float max) { method in class:ColorSpace.Lab 2615 DoubleUnaryOperator clamp = this::clamp; local 3019 private double clamp(double x) { method in class:ColorSpace.Rgb [all...] |
/external/deqp/framework/referencerenderer/ |
rrRasterizer.cpp | 522 // Clamp to viewport 528 m_bboxMin.x() = de::clamp(m_bboxMin.x(), wX0, wX1); 529 m_bboxMin.y() = de::clamp(m_bboxMin.y(), wY0, wY1); 530 m_bboxMax.x() = de::clamp(m_bboxMax.x(), wX0, wX1); 531 m_bboxMax.y() = de::clamp(m_bboxMax.y(), wY0, wY1); [all...] |
/external/libvpx/libvpx/vp8/common/ |
postproc.c | 369 ppstate->clamp = 377 oci->postproc_state.clamp, oci->postproc_state.clamp,
|