/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/ |
D | TestClamp.rscript | 28 return clamp(inValue, inMinValue, inMaxValue); 34 return clamp(inValue, inMinValue, inMaxValue); 40 return clamp(inValue, inMinValue, inMaxValue); 46 return clamp(inValue, inMinValue, inMaxValue); 52 return clamp(inValue, inMinValue, inMaxValue); 58 return clamp(inValue, inMinValue, inMaxValue); 64 return clamp(inValue, inMinValue, inMaxValue); 70 return clamp(inValue, inMinValue, inMaxValue); 76 return clamp(inValue, inMinValue, inMaxValue); 82 return clamp(inValue, inMinValue, inMaxValue); [all …]
|
/cts/tests/videocodec/src/android/videocodec/cts/ |
D | VideoEncoderMinMaxTest.java | 128 int frameRate = rates.clamp((double) TARGET_FRAME_RATE).intValue(); in applyMinMaxRanges() 132 frameRate = rates.clamp((double) TARGET_FRAME_RATE).intValue(); in applyMinMaxRanges() 138 frameRate = rates.clamp((double) TARGET_FRAME_RATE).intValue(); in applyMinMaxRanges() 139 bitrate = caps.getBitrateRange().clamp((int) (maxBitRate / Math.sqrt( in applyMinMaxRanges() 146 frameRate = rates.clamp((double) TARGET_FRAME_RATE).intValue(); in applyMinMaxRanges() 147 bitrate = caps.getBitrateRange().clamp((int) (maxBitRate / Math.sqrt( in applyMinMaxRanges() 154 frameRate = rates.clamp((double) TARGET_FRAME_RATE).intValue(); in applyMinMaxRanges() 155 bitrate = caps.getBitrateRange().clamp((int) (maxBitRate / Math.sqrt( in applyMinMaxRanges() 161 frameRate = rates.clamp((double) TARGET_FRAME_RATE).intValue(); in applyMinMaxRanges() 162 bitrate = caps.getBitrateRange().clamp((int) (maxBitRate / Math.sqrt( in applyMinMaxRanges() [all …]
|
D | VideoEncoderRoiTest.java | 122 private int clamp(int val, int min, int max) { in clamp() method in VideoEncoderRoiTest.VideoEncoderRoiHelper 133 contour.left = clamp(contour.left, 0, mActiveEncCfg.mWidth); in fillOffsetArray() 134 contour.top = clamp(contour.top, 0, mActiveEncCfg.mHeight); in fillOffsetArray() 135 contour.right = clamp(contour.right, 0, mActiveEncCfg.mWidth); in fillOffsetArray() 136 contour.bottom = clamp(contour.bottom, 0, mActiveEncCfg.mHeight); in fillOffsetArray()
|
/cts/tests/camera/src/android/hardware/camera2/cts/rs/ |
D | RawConverter.java | 391 static float clamp(float v, float l, float u) { in clamp() method in RawConverter.ConverterKernel 407 pRGB[0] = clamp(pRGB[0], 0.f, mNeutralPoint[0]); in applyColorspace() 408 pRGB[1] = clamp(pRGB[1], 0.f, mNeutralPoint[1]); in applyColorspace() 409 pRGB[2] = clamp(pRGB[2], 0.f, mNeutralPoint[2]); in applyColorspace() 415 pRGB[0] = clamp(pRGB[0], 0.f, 1.f); in applyColorspace() 416 pRGB[1] = clamp(pRGB[1], 0.f, 1.f); in applyColorspace() 417 pRGB[2] = clamp(pRGB[2], 0.f, 1.f); in applyColorspace() 437 rgb[0] = clamp(rgb[0], 0.f, 1.f); in tonemap() 438 rgb[1] = clamp(rgb[1], 0.f, 1.f); in tonemap() 439 rgb[2] = clamp(rgb[2], 0.f, 1.f); in tonemap() [all …]
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | ImageProcessingTest.java | 358 final int clamp(int c) { in clamp() method in ImageProcessingTest.BlendFunc 368 int ia = clamp((int) (255 * a)); in pack() 369 int ir = clamp((int) (255 * r)); in pack() 370 int ig = clamp((int) (255 * g)); in pack() 371 int ib = clamp((int) (255 * b)); in pack() 381 rgba[0] = (byte) clamp(r); in pack() 382 rgba[1] = (byte) clamp(g); in pack() 383 rgba[2] = (byte) clamp(b); in pack() 384 rgba[3] = (byte) clamp(a); in pack()
|
D | intrinsic_blur.rscript | 77 int validH = clamp((int)y + r, (int)0, (int)(height - 1)); 89 int validX = clamp((int)x + r, (int)0, (int)(width - 1));
|
D | intrinsic_convolve3x3.rscript | 62 p20 = clamp(p20, 0.f, 255.f); 103 p20 = clamp(p20, 0.f, 255.f); 144 p20 = clamp(p20, 0.f, 255.f); 185 p20 = clamp(p20, 0.f, 255.f);
|
D | intrinsic_3dlut.rscript | 57 v = clamp(v, 0.f, 255.f);
|
D | intrinsic_convolve5x5.rscript | 69 p0 = clamp(p0 + p1 + p2 + p3 + p4 + 0.5f, 0.f, 255.f); 116 p0 = clamp(p0 + p1 + p2 + p3 + p4 + 0.5f, 0.f, 255.f); 163 p0 = clamp(p0 + p1 + p2 + p3 + p4 + 0.5f, 0.f, 255.f); 210 return clamp(p0 + p1 + p2 + p3 + p4 + 0.5f, 0.f, 255.f);
|
D | intrinsic_resize.rscript | 91 p = clamp(p + 0.5f, 0.f, 255.f); 141 p = clamp(p + 0.5f, 0.f, 255.f); 191 p = clamp(p + 0.5f, 0.f, 255.f); 241 p = clamp(p + 0.5f, 0.f, 255.f);
|
D | yuv.rscript | 69 color = clamp(color, 0.f, 1.f);
|
D | CoreMathVerifier.java | 413 static private Target.Floaty clamp(double value, double minValue, double maxValue, Target t) { in clamp() method in CoreMathVerifier 1274 args.out = clamp(args.inValueDouble, args.inMinValueDouble, args.inMaxValueDouble, t); in computeClamp()
|
/cts/tests/media/common/src/android/mediav2/common/cts/ |
D | CompareStreams.java | 247 private int clamp(int val, int min, int max) { in clamp() method in CompareStreams 265 cropRect.left = clamp(cropRect.left, 0, imgWidth); in updateErrorStats() 266 cropRect.top = clamp(cropRect.top, 0, imgHeight); in updateErrorStats() 267 cropRect.right = clamp(cropRect.right, 0, imgWidth); in updateErrorStats() 268 cropRect.bottom = clamp(cropRect.bottom, 0, imgHeight); in updateErrorStats()
|
/cts/tests/sensor/src/android/hardware/cts/helpers/sensorverification/ |
D | FrequencyVerification.java | 107 delayUs = SensorCtsHelper.clamp(delayUs, minDelayUs, maxDelayUs); in getDefault()
|
/cts/tests/tests/media/codec/src/android/media/codec/cts/ |
D | MediaCodecCapabilitiesTest.java | 565 int bitrate = vidCaps.getBitrateRange().clamp( in createReasonableVideoFormat() 634 int bitrate = vidCaps.getBitrateRange().clamp( in createVideoFormatForBitrateMode()
|
/cts/tests/sensor/src/android/hardware/cts/helpers/ |
D | SensorCtsHelper.java | 161 public static <TValue extends Number> double clamp(TValue val, TValue min, TValue max) { in clamp() method in SensorCtsHelper
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | BitmapTest.java | 945 private static float clamp(float f) { in clamp() method 946 return clamp(f, 0.0f, 1.0f); in clamp() 949 private static float clamp(float f, float min, float max) { in clamp() method 984 clamp(convertedColor.red()), in testGetColor() 985 clamp(convertedColor.green()), in testGetColor() 986 clamp(convertedColor.blue()), in testGetColor()
|
/cts/tests/tests/media/encoder/src/android/media/encoder/cts/ |
D | VideoEncoderTest.java | 1092 return range.clamp(align * (int)Math.round(value / align)); in alignInRange()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | MediaUtils.java | 889 int bitrate = vidCaps.getBitrateRange().clamp( in setMaxEncoderFrameAndBitrates()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | current.txt | 50214 method public T clamp(T);
|