Home
last modified time | relevance | path

Searched refs:scales (Results 1 – 25 of 115) sorted by relevance

12345

/third_party/gstreamer/gstplugins_bad/ext/opencv/
Dgstretinex.cpp231 filter->scales = DEFAULT_SCALES; in gst_retinex_init()
269 retinex->scales = g_value_get_int (value); in gst_retinex_set_property()
297 g_value_set_int (value, filter->scales); in gst_retinex_get_property()
374 if (retinex->current_scales != retinex->scales || !retinex->sigmas) { in gst_retinex_transform_ip()
377 sizeof (double) * retinex->scales); in gst_retinex_transform_ip()
380 sizeof (double) * retinex->scales); in gst_retinex_transform_ip()
381 for (i = 0; i < retinex->scales; i++) { in gst_retinex_transform_ip()
382 retinex->weights[i] = 1.0 / (double) retinex->scales; in gst_retinex_transform_ip()
383 retinex->sigmas[i] = 10.0 + 4.0 * (double) retinex->scales; in gst_retinex_transform_ip()
385 retinex->current_scales = retinex->scales; in gst_retinex_transform_ip()
[all …]
Dgstretinex.h70 gint scales, current_scales; member
/third_party/skia/third_party/externals/dng_sdk/source/
Ddng_misc_opcodes.cpp1277 uint32 scales = SafeUint32DivideUp (fAreaSpec.Area ().H (), in dng_opcode_ScalePerRow() local
1280 if (scales != stream.Get_uint32 ()) in dng_opcode_ScalePerRow()
1285 if (dataSize != dng_area_spec::kDataSize + 4 + scales * 4) in dng_opcode_ScalePerRow()
1290 fTable.Reset (host.Allocate (SafeUint32Mult (scales, in dng_opcode_ScalePerRow()
1295 for (uint32 j = 0; j < scales; j++) in dng_opcode_ScalePerRow()
1305 printf ("Count: %u\n", (unsigned) scales); in dng_opcode_ScalePerRow()
1307 for (uint32 k = 0; k < scales && k < gDumpLineLimit; k++) in dng_opcode_ScalePerRow()
1312 if (scales > gDumpLineLimit) in dng_opcode_ScalePerRow()
1314 printf (" ... %u scales skipped\n", (unsigned) (scales - gDumpLineLimit)); in dng_opcode_ScalePerRow()
1328 uint32 scales = SafeUint32DivideUp (fAreaSpec.Area ().H (), in PutData() local
[all …]
/third_party/skia/tests/
DMatrixTest.cpp179 SkScalar scales[2]; in test_matrix_min_max_scale() local
186 success = identity.getMinMaxScales(scales); in test_matrix_min_max_scale()
187 REPORTER_ASSERT(reporter, success && 1 == scales[0] && 1 == scales[1]); in test_matrix_min_max_scale()
193 success = scale.getMinMaxScales(scales); in test_matrix_min_max_scale()
194 REPORTER_ASSERT(reporter, success && 2 == scales[0] && 4 == scales[1]); in test_matrix_min_max_scale()
200 success = rot90Scale.getMinMaxScales(scales); in test_matrix_min_max_scale()
201 … REPORTER_ASSERT(reporter, success && SK_Scalar1 / 4 == scales[0] && SK_Scalar1 / 2 == scales[1]); in test_matrix_min_max_scale()
207 success = rotate.getMinMaxScales(scales); in test_matrix_min_max_scale()
209 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(1, scales[0], SK_ScalarNearlyZero)); in test_matrix_min_max_scale()
210 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(1, scales[1], SK_ScalarNearlyZero)); in test_matrix_min_max_scale()
[all …]
DFontTest.cpp69 const float scales[] = {-5, 0, 1, 5}; in DEF_TEST() local
88 for (float scale : scales) { in DEF_TEST()
/third_party/skia/gm/
Dimagefiltersscaled.cpp113 SkVector scales[] = { in onDraw() local
126 for (size_t j = 0; j < SK_ARRAY_COUNT(scales); ++j) { in onDraw()
134 canvas->scale(scales[j].fX, scales[j].fY); in onDraw()
144 canvas->translate(r.width() * scales[j].fX + margin, 0); in onDraw()
147 canvas->translate(0, r.height() * scales[j].fY + margin); in onDraw()
Ddftext.cpp57 SkScalar scales[] = { 2.0f*5.0f, 5.0f, 2.0f, 1.0f }; in onDraw() local
91 canvas->scale(scales[i], scales[i]); in onDraw()
94 y += font.getMetrics(nullptr)*scales[i]; in onDraw()
120 SkScalar scaleFactor = SkScalarInvert(scales[arraySize - i - 1]); in onDraw()
Dconvex_all_line_paths.cpp294 const float scales[] = { 1.0f, 0.75f, 0.5f, 0.25f, 0.1f, 0.01f, 0.001f }; in drawPath() local
302 for (size_t i = 0; i < SK_ARRAY_COUNT(scales); ++i) { in drawPath()
312 canvas->scale(scales[i], scales[i]); in drawPath()
Dblurrect.cpp133 SkScalar scales[] = { SK_Scalar1, 0.6f }; in onDraw() local
135 for (size_t s = 0; s < SK_ARRAY_COUNT(scales); ++s) { in onDraw()
150 canvas->scale(scales[s], scales[s]); in onDraw()
160 canvas->translate(0, SK_ARRAY_COUNT(procs) * r.height() * 4/3 * scales[s]); in onDraw()
163 canvas->translate(4 * r.width() * 4/3 * scales[s], 0); in onDraw()
Dbleed.cpp274 SkScalar scales[2]; in onDraw() local
275 SkAssertResult(matrix.getMinMaxScales(scales)); in onDraw()
276 if (fConstraint != SkCanvas::kStrict_SrcRectConstraint || scales[0] >= 1.f) { in onDraw()
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_format_aos.c229 LLVMValueRef scales[4]; in lp_build_unpack_arith_rgba_aos() local
271 scales[i] = LLVMConstNull(LLVMFloatTypeInContext(gallivm->context)); in lp_build_unpack_arith_rgba_aos()
286 scales[i] = lp_build_const_float(gallivm, 1.0 / mask); in lp_build_unpack_arith_rgba_aos()
290 scales[i] = lp_build_const_float(gallivm, 1.0); in lp_build_unpack_arith_rgba_aos()
322 scales[i] = lp_build_const_float(gallivm, 1.0 / mask); in lp_build_unpack_arith_rgba_aos()
347 scaled = LLVMBuildFMul(builder, casted, LLVMConstVector(scales, 4), ""); in lp_build_unpack_arith_rgba_aos()
374 LLVMValueRef scales[4]; in lp_build_pack_rgba_aos() local
407 scales[i] = LLVMGetUndef(LLVMFloatTypeInContext(gallivm->context)); in lp_build_pack_rgba_aos()
418 scales[i] = lp_build_const_float(gallivm, mask); in lp_build_pack_rgba_aos()
422 scales[i] = lp_build_const_float(gallivm, 1.0); in lp_build_pack_rgba_aos()
[all …]
/third_party/skia/src/gpu/gradients/
DGrGradientShader.cpp385 SkPMColor4f scales[kMaxUnrolledIntervalCount]; in make_unrolled_binary_colorizer() local
389 kMaxUnrolledIntervalCount, scales, biases, thresholds); in make_unrolled_binary_colorizer()
397 return make_unrolled_colorizer(intervalCount, scales, biases, thresholds1_7, thresholds9_13); in make_unrolled_binary_colorizer()
408 SkPMColor4f scales[kMaxLoopingIntervalCount]; in make_looping_binary_colorizer() local
412 kMaxLoopingIntervalCount, scales, biases, thresholds); in make_looping_binary_colorizer()
424 scales[intervalCount] = scales[intervalCount - 1]; in make_looping_binary_colorizer()
428 return make_looping_colorizer(intervalCount, scales, biases, thresholds); in make_looping_binary_colorizer()
/third_party/python/Lib/
Dtimeit.py346 scales = [(scale, unit) for unit, scale in units.items()]
347 scales.sort(reverse=True)
348 for scale, unit in scales:
/third_party/icu/docs/userguide/datetime/
Duniversaltimescale.md36 epoch (origin). We'll refer to these as time scales. For example: (Sorted by
86 ICU provides conversion functions to and from all other major time scales,
226 > than some other time scales, time values that can be represented exactly in the
227 > Universal Time Scale will be rounded when converting to these time scales, and
/third_party/tzdata/
Dleap-seconds.list17 # undergoes a full range of geophysical perturbations at various time scales: lunisolar
19 # Leap seconds are needed to keep the two time scales in agreement, i.e. UT1-UTC smaller
Dleapseconds14 # The rules for leap seconds are specified in Annex 1 (Time scales) of:
/third_party/skia/src/gpu/ops/
DLatticeOp.cpp272 Sk4f scales(1.f / fView.proxy()->width(), 1.f / fView.proxy()->height(), in onPrepareDraws() local
281 coords *= scales; in onPrepareDraws()
282 domain *= scales; in onPrepareDraws()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/winrt/
DCoreWindowNativeWindow_unittest.cpp442 static const scaleValidPair scales[] = {scaleValidPair(1.0f, true), scaleValidPair(0.5f, true),
446 INSTANTIATE_TEST_SUITE_P(NativeWindowTest, CoreWindowScaleTest, testing::ValuesIn(scales));
/third_party/skia/src/gpu/v1/
DDevice.cpp363 SkScalar scales[2]; in drawPoints() local
365 (1 == width && this->localToDevice().getMinMaxScales(scales) && in drawPoints()
366 SkScalarNearlyEqual(scales[0], 1.f) && SkScalarNearlyEqual(scales[1], 1.f)); in drawPoints()
/third_party/pulseaudio/scripts/
Dplot_memory_usage.gp30 # right. The scales are different.
/third_party/skia/third_party/externals/opengl-registry/extensions/ARB/
DARB_polygon_offset_clamp.txt80 <factor> scales the maximum depth slope of the polygon, and <units>
81 scales an implementation-dependent constant that relates to the
/third_party/openGLES/extensions/ARB/
DARB_polygon_offset_clamp.txt95 <factor> scales the maximum depth slope of the polygon, and <units>
96 scales an implementation-dependent constant that relates to the
/third_party/skia/third_party/externals/opengl-registry/extensions/EXT/
DEXT_polygon_offset_clamp.txt83 <factor> scales the maximum depth slope of the polygon, and <units>
84 scales an implementation-dependent constant that relates to the
/third_party/openGLES/extensions/EXT/
DEXT_polygon_offset_clamp.txt83 <factor> scales the maximum depth slope of the polygon, and <units>
84 scales an implementation-dependent constant that relates to the
/third_party/mesa3d/src/panfrost/util/
Dpan_lower_framebuffer.c218 nir_ssa_def *scales = in pan_pack_norm() local
235 nir_ssa_def *f = nir_fmul(b, clamped, scales); in pan_pack_norm()

12345