/external/lz4/programs/ |
bench.c | 230 double ratio = 0.; local 273 ratio = (double)srcSize / (double)cSize; 276 marks[markNb], displayName, (U32)srcSize, (U32)cSize, ratio, 312 marks[markNb], displayName, (U32)srcSize, (U32)cSize, ratio, 347 DISPLAY("-%-3i%11i (%5.3f) %6.2f MB/s %6.1f MB/s %s (param=%d)\n", cLevel, (int)cSize, ratio, cSpeed, dSpeed, displayName, g_additionalParam); 349 DISPLAY("-%-3i%11i (%5.3f) %6.2f MB/s %6.1f MB/s %s\n", cLevel, (int)cSize, ratio, cSpeed, dSpeed, displayName);
|
/external/webrtc/talk/app/webrtc/ |
videosource.cc | 166 // The aspect ratio in |constraint.value| has been converted to a string and 171 // ratio but small enough to avoid matching wrong aspect ratios. 172 double ratio = static_cast<double>(format_in.width) / format_in.height; local 173 return (value <= ratio + kRoundingTruncation); 176 double ratio = static_cast<double>(format_in.width) / format_in.height; local 179 return (value >= ratio - kRoundingTruncation);
|
videosource_unittest.cc | 286 // Test that the capture output have aspect ratio 4:3 if a mandatory constraint 288 // that don't have this aspect ratio. 308 // Test that the source state transition to kEnded if the mandatory aspect ratio 318 // Test that the source ignores an optional aspect ratio that is higher than 347 // Test that the source can start the video and get the requested aspect ratio 348 // if the camera doesn't support capability enumeration and the aspect ratio is
|
/frameworks/base/media/java/android/media/tv/ |
TvTrackInfo.java | 199 * Returns the pixel aspect ratio (the ratio of a pixel's width to its height) of the video. 438 * Sets the pixel aspect ratio (the ratio of a pixel's width to its height) of the video. 444 * pixel aspect ratio for most video formats. 446 * @param videoPixelAspectRatio The pixel aspect ratio of the video.
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
IconNormalizer.java | 47 // Ratio of icon visible area to full icon size for a square shaped icon 49 // Ratio of icon visible area to full icon size for a circular shaped icon 65 // Ratio of the diameter of an normalized circular icon to the actual icon size. 185 * resembles a circle and a square, by comparing the ratio of the areas. Note that this is not an 188 * This closeness is used to determine the ratio of hull area to the full icon size. 314 // Use sqrt of the final ratio as the images is scaled across both width and height.
|
/packages/apps/TV/src/com/android/tv/dvr/ui/playback/ |
DvrPlayer.java | 81 * Called when the Video's aspect ratio is changed. 83 * @param videoAspectRatio The aspect ratio of video. 0 stands for unknown ratios. Listeners 90 /** Called when the Video's aspect ratio is changed. */ 257 /** Sets the listener to aspect ratio changing. */ 500 // Aspect ratio is unknown. Pass the message to 504 if (DEBUG) Log.d(TAG, "Aspect Ratio: " + videoAspectRatio);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/renderers/ |
GLArrowSensorTestRenderer.java | 107 float ratio = (float) w / h; local 110 gl.glFrustumf(-ratio, ratio, -1, 1, 3, 7);
|
/cts/tests/openglperf2/test/ |
MatrixTest.cpp | 168 float ratio = (float) 800 / 600; local 169 float left = -ratio; 170 float right = ratio;
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
GLES20TriangleRenderer.java | 88 float ratio = (float) width / height; local 89 Matrix.frustumM(mProjMatrix, 0, -ratio, ratio, -1, 1, 3, 7);
|
StaticTriangleRenderer.java | 176 float ratio = (float) w / h; local 179 glFrustumf(-ratio, ratio, -1, 1, 3, 7);
|
TriangleRenderer.java | 163 float ratio = (float) w / h; local 166 gl.glFrustumf(-ratio, ratio, -1, 1, 3, 7);
|
/development/samples/BasicGLSurfaceView/src/com/example/android/basicglsurfaceview/ |
GLES20TriangleRenderer.java | 86 float ratio = (float) width / height; local 87 Matrix.frustumM(mProjMatrix, 0, -ratio, ratio, -1, 1, 3, 7);
|
/development/samples/Compass/src/com/example/android/compass/ |
CompassActivity.java | 135 float ratio = (float) width / height; local 138 gl.glFrustumf(-ratio, ratio, -1, 1, 1, 10);
|
/device/google/contexthub/firmware/os/algos/common/math/ |
levenberg_marquardt.c | 116 // Compute ratio of expected to actual cost function gain for this step. 123 // If gain ratio is positive, the step size is good, otherwise adjust 138 // Update damping factor based on gain ratio.
|
/device/linaro/bootloader/edk2/UefiCpuPkg/Include/Register/Msr/ |
Core2Msr.h | 58 /// [Bits 12:8] Maximum Qualified Ratio (R) The maximum allowed bus ratio.
164 /// [Bit 18] N/2 Non-Integer Bus Ratio (R/O) 0 = Integer ratio; 1 =
165 /// Non-integer ratio.
174 /// [Bits 26:22] Integer Bus Frequency Ratio (R/O).
557 /// [Bits 44:40] Maximum Bus Ratio (R/O) Indicates maximum bus ratio
563 /// [Bit 46] Non-Integer Bus Ratio (R/O) Indicates non-integer bus ratio
[all...] |
/external/libopus/silk/ |
resampler.c | 113 /* Find resampler with the right sampling ratio */ 162 /* Ratio of input/output samples */ 164 /* Make sure the ratio is rounded up */
|
/external/libopus/silk/x86/ |
VAD_sse.c | 180 /* Signal-plus-noise to noise ratio estimation */ 265 /* compute smoothed energy-to-noise ratio per band */ 269 /* signal to noise ratio in dB per band */
|
/external/pdfium/xfa/fxfa/ |
cxfa_ffbarcode.cpp | 214 Optional<int8_t> ratio = node->GetBarcodeAttribute_WideNarrowRatio(); local 215 if (ratio) 216 pBarCodeWidget->SetWideNarrowRatio(*ratio);
|
/external/skia/bench/ |
check_bench_regressions.py | 147 # respectively. Each dictionary maps off_ratio (ratio of actual to expected) 178 for ratio in ratios: 179 li.extend(exceptions[i][ratio])
|
/external/skqp/bench/ |
check_bench_regressions.py | 147 # respectively. Each dictionary maps off_ratio (ratio of actual to expected) 178 for ratio in ratios: 179 li.extend(exceptions[i][ratio])
|
/external/tensorflow/tensorflow/contrib/bayesflow/python/kernel_tests/ |
metropolis_hastings_test.py | 146 # Returns the new point and also the log of the Hastings ratio (the 147 # ratio of the probability of going from the proposal to origin and the 148 # probability of the reverse transition). When this ratio is 1, the value
|
/external/tensorflow/tensorflow/contrib/learn/python/learn/datasets/ |
base.py | 73 def shrink_csv(filename, ratio): 74 """Create a smaller dataset of only 1/ratio of original data.""" 82 if i % ratio == 0:
|
/external/tensorflow/tensorflow/core/lib/jpeg/ |
jpeg_mem.h | 36 // ratio can be 1, 2, 4, or 8 and represent the denominator for the scaling 37 // factor (eg ratio = 4 means that the resulting image will be at 1/4 original 39 int ratio = 1; member in struct:tensorflow::jpeg::UncompressFlags
|
/external/tensorflow/tensorflow/core/lib/random/ |
weighted_picker_test.cc | 216 const float ratio = float(count[i + 1]) / float(count[i]); local 217 EXPECT_GE(ratio, 1.6f); 218 EXPECT_LE(ratio, 2.4f);
|
/external/trappy/tests/ |
test_thermal.py | 153 <...>-3979 [007] 217.975314: sched_task_runnable_ratio: comm=Thread-103 pid=3979 ratio=1023 154 <...>-3979 [007] 217.975332: sched_rq_runnable_ratio: cpu=7 ratio=1023 161 <...>-3979 [007] 217.975559: sched_rq_runnable_ratio: cpu=7 ratio=1023
|