Searched refs:curve (Results 1 - 25 of 140) sorted by path

123456

/external/ImageMagick/www/api/
H A Ddrawing-wand.php277 <p>DrawBezier() draws a bezier curve through a set of points on the image.</p>
1491 <p>DrawPathCurveToAbsolute() draws a cubic Bezier curve from the current point to (x,y) using (x1,y1) as the control point at the beginning of the curve and (x2,y2) as the control point at the end of the curve using absolute coordinates. At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.</p>
1513 <dd>x ordinate of control point for curve beginning </dd>
1517 <dd>y ordinate of control point for curve beginning </dd>
1521 <dd>x ordinate of control point for curve ending </dd>
1525 <dd>y ordinate of control point for curve ending </dd>
1529 <dd>x ordinate of the end of the curve </dd>
1533 <dd>y ordinate of the end of the curve </d
[all...]
H A Dmorphology.php136 <dd> Gaussian:{radius},{sigma} Generate a two-dimensional gaussian kernel, as used by -gaussian. The sigma for the curve is required. The resulting kernel is normalized, </dd>
154 <dd> Comet:{width},{sigma},{angle} Blur in one direction only, much like how a bright object leaves a comet like trail. The Kernel is actually half a gaussian curve, Adding two such blurs in opposite directions produces a Blur Kernel. Angle can be rotated in multiples of 90 degrees. </dd>
/external/adhd/cras/src/server/
H A Dcras_alsa_io.c70 * volume_curve - Volume curve for this node.
124 * default_volume_curve - Default volume curve that converts from an index
627 * Gets the curve for the active output node. If the node doesn't have volume
628 * curve specified, return the default volume curve of the parent iodev.
640 * Gets the curve for the active output.
654 const struct cras_volume_curve *curve; local
660 curve = get_curve_for_active_output(aio);
662 curve->get_dBFS(curve,
691 const struct cras_volume_curve *curve; local
1348 struct cras_volume_curve *curve; local
1602 const struct cras_volume_curve *curve; local
[all...]
H A Dcras_volume_curve.c13 /* Simple curve with configurable max volume and volume step. */
15 struct cras_volume_curve curve; member in struct:stepped_curve
20 static long get_dBFS_step(const struct cras_volume_curve *curve, size_t volume) argument
22 const struct stepped_curve *c = (const struct stepped_curve *)curve;
28 struct cras_volume_curve curve; member in struct:explicit_curve
32 static long get_dBFS_explicit(const struct cras_volume_curve *curve, argument
35 const struct explicit_curve *c = (const struct explicit_curve *)curve;
56 struct stepped_curve *curve; local
57 curve = (struct stepped_curve *)calloc(1, sizeof(*curve));
69 struct explicit_curve *curve; local
78 cras_volume_curve_destroy(struct cras_volume_curve *curve) argument
[all...]
H A Dcras_volume_curve.h16 * curve - A curve from cras_volume_curve_create_* functions.
22 long (*get_dBFS)(const struct cras_volume_curve *curve, size_t volume);
25 /* Creates a system-default volume curve. The default curve maps one volume step
27 * Returns null on error, or the new volume curve on success.
31 /* Creates a volume curve with a specified max volume and step.
40 /* Creates a volume curve with each step's dB value called out.
45 * A volume curve pointer that should be passed to
52 /* Destroys a curve create
[all...]
H A Dsoftvol_curve.c117 float *softvol_build_from_curve(const struct cras_volume_curve *curve) argument
122 if (!curve)
129 /* When software volume is used, it is assumed all volume curve values
131 * value is specified in curve config, it will be treated as invalid
136 curve->get_dBFS(curve, volume));
H A Dsoftvol_curve.h17 /* Returns the volume scaler in the soft volume curve for the given index. */
29 /* Builds software volume scalers from volume curve. */
30 float *softvol_build_from_curve(const struct cras_volume_curve *curve);
/external/adhd/cras/src/tests/
H A Dalsa_io_unittest.cc238 static long fake_get_dBFS(const struct cras_volume_curve *curve, size_t volume) argument
240 fake_get_dBFS_volume_curve_val = curve;
282 /* Get volume curve twice for iodev, and default node. */
332 /* No more call to get volume curve for input device. */
942 /* Two mixer controls calls get volume curve. */
1112 /* New nodes creation calls get volume curve once, NULL jack doesn't make
1811 // Headphone jack plugged and has its own volume curve.
2407 void cras_volume_curve_destroy(struct cras_volume_curve *curve) argument
H A Dalsa_mixer_unittest.cc1703 static long get_dBFS_default(const struct cras_volume_curve *curve, argument
1711 struct cras_volume_curve *curve; local
1712 curve = (struct cras_volume_curve *)calloc(1, sizeof(*curve));
1713 if (curve)
1714 curve->get_dBFS = get_dBFS_default;
1715 return curve;
1718 void cras_volume_curve_destroy(struct cras_volume_curve *curve) argument
1721 free(curve);
1729 struct cras_volume_curve *curve; local
[all...]
H A Dcard_config_unittest.cc66 // Test an empty config file, should return a null volume curve.
71 struct cras_volume_curve* curve; local
78 curve = cras_card_config_get_volume_curve_for_control(config, "asdf");
80 EXPECT_EQ(static_cast<struct cras_volume_curve*>(NULL), curve); local
85 // Getting a curve from a null config should always return null volume curve.
87 struct cras_volume_curve* curve; local
89 curve = cras_card_config_get_volume_curve_for_control(NULL, "asdf");
91 EXPECT_EQ(static_cast<struct cras_volume_curve*>(NULL), curve); local
94 // Test getting a curve fro
103 struct cras_volume_curve* curve; local
113 EXPECT_EQ(static_cast<struct cras_volume_curve*>(NULL), curve); local
234 struct cras_volume_curve* curve; local
[all...]
H A Dvolume_curve_unittest.cc15 struct cras_volume_curve *curve; local
16 curve = cras_volume_curve_create_default();
17 ASSERT_NE(static_cast<struct cras_volume_curve *>(NULL), curve); local
18 EXPECT_EQ(0 - 50 * 50, curve->get_dBFS(curve, 50));
19 EXPECT_EQ(0, curve->get_dBFS(curve, 100));
20 EXPECT_EQ(0 - 100 * 50, curve->get_dBFS(curve, 0));
21 EXPECT_EQ(0 - 25 * 50, curve
26 struct cras_volume_curve *curve; local
28 ASSERT_NE(static_cast<struct cras_volume_curve *>(NULL), curve); local
37 struct cras_volume_curve *curve; local
43 ASSERT_NE(static_cast<struct cras_volume_curve *>(NULL), curve); local
[all...]
/external/adhd/scripts/mic_testing/frontend/
H A Danalysis.js54 * Audio curve class
97 * Adds curve on the canvas
98 * @param {AudioCurve} audio curve object
107 * Removes curve from the canvas
108 * @param {int} curve index
174 * @param {int} curve index
239 * Draws a channel of a curve
241 * @param {string} curve color
314 var curve = curveBuffer[j];
315 for (var k = 0; k < curve
[all...]
/external/boringssl/src/crypto/ec_extra/
H A Dec_asn1.c268 CBS params, field_id, field_type, curve, base; local
280 !CBS_get_asn1(&params, &curve, CBS_ASN1_SEQUENCE) ||
281 !CBS_get_asn1(&curve, out_a, CBS_ASN1_OCTETSTRING) ||
282 !CBS_get_asn1(&curve, out_b, CBS_ASN1_OCTETSTRING) ||
283 // |curve| has an optional BIT STRING seed which we ignore.
292 // in |curve|, a group already has arbitrarily many encodings. Parse enough to
293 // uniquely determine the curve.
335 // Look for a matching curve.
338 const struct built_in_curve *curve = &curves->curves[i]; local
339 if (CBS_len(&named_curve) == curve
359 const struct built_in_curve *curve = &curves->curves[i]; local
390 const struct built_in_curve *curve = &curves->curves[i]; local
[all...]
/external/boringssl/src/crypto/ecdh/
H A Decdh_test.cc54 t->PrintLine("Unknown curve '%s'", curve_name.c_str());
184 for (const auto &curve : curves) {
185 groups.emplace_back(EC_GROUP_new_by_curve_name(curve.nid));
/external/boringssl/src/crypto/fipsmodule/ec/
H A Dec.c64 * The elliptic curve binary polynomial software is originally written by
367 // Note any curve which did not satisfy this must have been invalid or use a
401 static EC_GROUP *ec_group_new_from_data(const struct built_in_curve *curve) { argument
413 const unsigned param_len = curve->param_len;
414 const uint8_t *params = curve->params;
423 group = ec_group_new(curve->method);
487 const struct built_in_curve *curve = NULL; local
490 curve = &curves->curves[i];
496 if (curve == NULL) {
508 ret = ec_group_new_from_data(curve);
[all...]
/external/boringssl/src/crypto/fipsmodule/ecdsa/
H A Decdsa_test.cc156 for (const auto &curve : kCurves) {
157 SCOPED_TRACE(curve.name);
159 int nid = curve.nid;
282 ADD_FAILURE() << "Unknown curve: " << curve_name;
/external/boringssl/src/ssl/
H A Dssl_privkey.cc102 int curve; member in struct:bssl::__anon1018
156 // EC keys have a curve requirement.
158 (alg->curve == NID_undef ||
160 EC_KEY_get0_group(EVP_PKEY_get0_EC_KEY(pkey))) != alg->curve)) {
/external/boringssl/src/tool/
H A Dtransport_common.cc244 uint16_t curve = SSL_get_curve_id(ssl); local
245 if (curve != 0) {
246 BIO_printf(bio, " ECDHE curve: %s\n", SSL_get_curve_name(curve));
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/sec/
H A DSECNamedCurves.java20 private static ECCurve configureCurve(ECCurve curve) argument
22 return curve;
51 ECCurve curve = configureCurve(new ECCurve.Fp(p, a, b, n, h));
52 //ECPoint G = curve.decodePoint(Hex.decode("02"
54 X9ECPoint G = new X9ECPoint(curve, Hex.decode("04"
58 return new X9ECParameters(curve, G, n, h, S);
77 ECCurve curve = configureCurve(new ECCurve.Fp(p, a, b, n, h));
78 //ECPoint G = curve.decodePoint(Hex.decode("03"
80 X9ECPoint G = new X9ECPoint(curve, Hex.decode("04"
84 return new X9ECParameters(curve,
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x9/
H A DX9Curve.java25 private ECCurve curve; field in class:X9Curve
30 ECCurve curve)
32 this.curve = curve;
38 ECCurve curve,
41 this.curve = curve;
58 curve = new ECCurve.Fp(p, x9A.getValue().toBigInteger(), x9B.getValue().toBigInteger());
92 curve = new ECCurve.F2m(m, k1, k2, k3, x9A.getValue().toBigInteger(), x9B.getValue().toBigInteger());
107 if (ECAlgorithms.isFpCurve(curve))
29 X9Curve( ECCurve curve) argument
37 X9Curve( ECCurve curve, byte[] seed) argument
[all...]
H A DX9ECParameters.java28 private ECCurve curve; field in class:X9ECParameters
47 this.curve = x9c.getCurve();
56 this.g = new X9ECPoint(curve, (ASN1OctetString)p);
84 ECCurve curve,
88 this(curve, g, n, null, null);
92 ECCurve curve,
97 this(curve, g, n, h, null);
101 ECCurve curve,
106 this(curve, g, n, h, null);
110 ECCurve curve,
83 X9ECParameters( ECCurve curve, ECPoint g, BigInteger n) argument
91 X9ECParameters( ECCurve curve, X9ECPoint g, BigInteger n, BigInteger h) argument
100 X9ECParameters( ECCurve curve, ECPoint g, BigInteger n, BigInteger h) argument
109 X9ECParameters( ECCurve curve, ECPoint g, BigInteger n, BigInteger h, byte[] seed) argument
119 X9ECParameters( ECCurve curve, X9ECPoint g, BigInteger n, BigInteger h, byte[] seed) argument
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/ec/
H A DCustomNamedCurves.java57 private static ECCurve configureCurve(ECCurve curve) argument
59 return curve;
77 ECCurve curve = configureCurve(new Curve25519());
88 X9ECPoint G = new X9ECPoint(curve, Hex.decode("04"
92 return new X9ECParameters(curve, G, curve.getOrder(), curve.getCofactor(), S);
104 ECCurve curve = configureCurve(new SecP128R1Curve());
105 X9ECPoint G = new X9ECPoint(curve, Hex.decode("04"
108 return new X9ECParameters(curve,
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
H A DECDomainParameters.java13 private ECCurve curve; field in class:ECDomainParameters
20 ECCurve curve,
24 this(curve, G, n, ONE, null);
28 ECCurve curve,
33 this(curve, G, n, h, null);
37 ECCurve curve,
43 this.curve = curve;
52 return curve;
87 return this.curve
19 ECDomainParameters( ECCurve curve, ECPoint G, BigInteger n) argument
27 ECDomainParameters( ECCurve curve, ECPoint G, BigInteger n, BigInteger h) argument
36 ECDomainParameters( ECCurve curve, ECPoint G, BigInteger n, BigInteger h, byte[] seed) argument
[all...]
H A DECNamedDomainParameters.java14 public ECNamedDomainParameters(ASN1ObjectIdentifier name, ECCurve curve, ECPoint G, BigInteger n) argument
16 this(name, curve, G, n, null, null);
19 public ECNamedDomainParameters(ASN1ObjectIdentifier name, ECCurve curve, ECPoint G, BigInteger n, BigInteger h) argument
21 this(name, curve, G, n, h, null);
24 public ECNamedDomainParameters(ASN1ObjectIdentifier name, ECCurve curve, ECPoint G, BigInteger n, BigInteger h, byte[] seed) argument
26 super(curve, G, n, h, seed);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/signers/
H A DECDSASigner.java173 * If possible, avoid normalizing the point (to save a modular inversion in the curve field).
175 * There are ~cofactor elements of the curve field that reduce (modulo the group order) to 'r'.
185 ECCurve curve = point.getCurve();
186 if (curve != null)
188 BigInteger cofactor = curve.getCofactor();
191 ECFieldElement D = getDenominator(curve.getCoordinateSystem(), point);
195 while (curve.isValidFieldElement(r))
197 ECFieldElement R = curve.fromBigInteger(r).multiply(D);

Completed in 577 milliseconds

123456