Home
last modified time | relevance | path

Searched refs:curves (Results 1 - 25 of 34) sorted by relevance

12

/third_party/ffmpeg/libavfilter/
H A Dvf_curves.c87 { "preset", "select a color curves preset", OFFSET(preset), AV_OPT_TYPE_INT, {.i64=PRESET_NONE}, PRESET_NONE, NB_PRESETS-1, FLAGS, "preset_name" },
108 { "psfile", "set Photoshop curves file name", OFFSET(psfile), AV_OPT_TYPE_STRING, {.str=NULL}, .flags = FLAGS },
109 { "plot", "save Gnuplot script of the curves in specified file", OFFSET(plot_filename), AV_OPT_TYPE_STRING, {.str=NULL}, .flags = FLAGS },
113 AVFILTER_DEFINE_CLASS(curves); variable
213 * Finding curves using Cubic Splines notes by Steven Rauch and John Stockie.
357 CurvesContext *curves = ctx->priv; in parse_psfile() local
393 char **pts = &curves->comp_points_str[comp_ids[i]]; in parse_psfile()
396 av_log(ctx, AV_LOG_DEBUG, "curves %d (intid=%d) [%d points]: [%s]\n", in parse_psfile()
475 CurvesContext *curves = ctx->priv; in curves_init() local
476 char **pts = curves in curves_init()
519 const CurvesContext *curves = ctx->priv; filter_slice_packed() local
567 const CurvesContext *curves = ctx->priv; filter_slice_planar() local
634 CurvesContext *curves = ctx->priv; config_input() local
703 CurvesContext *curves = ctx->priv; filter_frame() local
733 CurvesContext *curves = ctx->priv; process_command() local
769 CurvesContext *curves = ctx->priv; curves_uninit() local
[all...]
H A Dfflcms2.c45 for (int i = 0; i < FF_ARRAY_ELEMS(s->curves); i++) in ff_icc_context_uninit()
46 cmsFreeToneCurve(s->curves[i]); in ff_icc_context_uninit()
57 if (s->curves[trc]) in get_curve()
62 s->curves[trc] = cmsBuildGamma(s->ctx, 1.0); in get_curve()
65 s->curves[trc] = cmsBuildGamma(s->ctx, 2.2); in get_curve()
68 s->curves[trc] = cmsBuildGamma(s->ctx, 2.8); in get_curve()
74 s->curves[trc] = cmsBuildParametricToneCurve(s->ctx, 4, (double[5]) { in get_curve()
83 s->curves[trc] = cmsBuildParametricToneCurve(s->ctx, 4, (double[5]) { in get_curve()
92 s->curves[trc] = cmsBuildParametricToneCurve(s->ctx, 8, (double[5]) { in get_curve()
101 s->curves[tr in get_curve()
[all...]
H A Dvf_pseudocolor.c110 const Curve *curves; member
138 static const Curve curves[] = variable
181 [PRESET_MAGMA] = { 1, &full_range, &curves[MAGMA], NULL },
182 [PRESET_INFERNO] = { 1, &full_range, &curves[INFERNO], NULL },
183 [PRESET_PLASMA] = { 1, &full_range, &curves[PLASMA], NULL },
184 [PRESET_VIRIDIS] = { 1, &full_range, &curves[VIRIDIS], NULL },
185 [PRESET_TURBO] = { 1, &full_range, &curves[TURBO], NULL },
186 [PRESET_CIVIDIS] = { 1, &full_range, &curves[CIVIDIS], NULL },
194 [PRESET_SOLAR] = { 1, &full_range, &curves[SOLAR], NULL },
656 if (!presets[s->preset].curves) { in config_input()
[all...]
H A Dfflcms2.h37 cmsToneCurve *curves[AVCOL_TRC_NB]; /* tone curve cache */ member
/third_party/skia/samplecode/
H A DSampleHairCurves.cpp29 SkPath curves; variable
39 curves.moveTo(pts[0], pts[1]);
40 curves.cubicTo(pts[2], pts[3],
60 curves.moveTo(pts[0], pts[1]);
61 curves.quadTo(pts[2], pts[3],
80 curves.moveTo(pts[0], pts[1]);
81 curves.conicTo(pts[2], pts[3],
98 curves.moveTo(pts[0], pts[1]);
99 curves.lineTo(pts[2], pts[3]);
106 canvas->drawPath(curves, pain
[all...]
/third_party/node/deps/openssl/openssl/apps/
H A Decparam.c71 EC_builtin_curve *curves = NULL; in list_builtin_curves() local
74 curves = app_malloc((int)sizeof(*curves) * crv_len, "list curves"); in list_builtin_curves()
75 if (!EC_get_builtin_curves(curves, crv_len)) in list_builtin_curves()
79 const char *comment = curves[n].comment; in list_builtin_curves()
80 const char *sname = OBJ_nid2sn(curves[n].nid); in list_builtin_curves()
92 OPENSSL_free(curves); in list_builtin_curves()
313 * for named curves. This can be achieved using: in ecparam_main()
/third_party/openssl/apps/
H A Decparam.c71 EC_builtin_curve *curves = NULL; in list_builtin_curves() local
74 curves = app_malloc((int)sizeof(*curves) * crv_len, "list curves"); in list_builtin_curves()
75 if (!EC_get_builtin_curves(curves, crv_len)) in list_builtin_curves()
79 const char *comment = curves[n].comment; in list_builtin_curves()
80 const char *sname = OBJ_nid2sn(curves[n].nid); in list_builtin_curves()
92 OPENSSL_free(curves); in list_builtin_curves()
313 * for named curves. This can be achieved using: in ecparam_main()
/third_party/node/test/fixtures/crypto/
H A Decdsa.js94 const curves = ['P-384', 'P-521'];
98 curves.forEach((namedCurve) => {
/third_party/curl/lib/vquic/
H A Dvquic-tls.c124 const char *curves = conn_config->curves ? in curl_ossl_init_ctx() local
125 conn_config->curves : QUIC_GROUPS; in curl_ossl_init_ctx()
126 if(!SSL_CTX_set1_curves_list(ctx->ssl_ctx, curves)) { in curl_ossl_init_ctx()
127 failf(data, "failed setting curves list for QUIC: '%s'", curves); in curl_ossl_init_ctx()
382 if(wolfSSL_CTX_set1_groups_list(ctx->ssl_ctx, conn_config->curves ? in curl_wssl_init_ctx()
383 conn_config->curves : in curl_wssl_init_ctx()
385 failf(data, "wolfSSL failed to set curves"); in curl_wssl_init_ctx()
/third_party/openssl/test/
H A Decdsatest.c32 static EC_builtin_curve *curves = NULL; variable
101 return TEST_skip("skip non approved curves"); in x9_62_tests()
199 nid = curves[n].nid; in test_builtin()
201 /* skip built-in curves where ord(G) is not prime */ in test_builtin()
208 * skip SM2 curve if 'as' is equal to EVP_PKEY_EC or, skip all curves in test_builtin()
394 TEST_note("Elliptic curves are disabled."); in setup_tests()
400 /* get a list of all internal curves */ in setup_tests()
402 if (!TEST_ptr(curves = OPENSSL_malloc(sizeof(*curves) * crv_len)) in setup_tests()
403 || !TEST_true(EC_get_builtin_curves(curves, crv_le in setup_tests()
[all...]
H A Dec_internal_test.c22 static EC_builtin_curve *curves = NULL; variable
222 int nid = curves[n].nid; in field_tests_default()
450 int nid = curves[n].nid; in ecpkparams_i2d2i_test()
489 if (!TEST_ptr(curves = OPENSSL_malloc(sizeof(*curves) * crv_len)) in setup_tests()
490 || !TEST_true(EC_get_builtin_curves(curves, crv_len))) in setup_tests()
512 OPENSSL_free(curves); in cleanup_tests()
H A Dectest.c36 static EC_builtin_curve *curves = NULL; variable
1140 int nid = curves[n].nid; in internal_curve_test()
1158 int r, nid = curves[n].nid; in internal_curve_test_method()
1209 * several NIST curves with characteristic > 3.
1514 nid = curves[id].nid; in check_named_curve_test()
1562 /* Only NIST curves pass */ in check_named_curve_test()
1702 nid = curves[id].nid; in check_named_curve_lookup_test()
1814 * EC_GROUP for built-in curves.
1841 nid = curves[id].nid; in check_named_curve_from_ecparameters()
1942 * match with the built-in curves in check_named_curve_from_ecparameters()
[all...]
/third_party/curl/lib/vtls/
H A Dwolfssl.c358 char *ciphers, *curves; in wolfssl_connect_step1() local
496 curves = conn_config->curves; in wolfssl_connect_step1()
497 if(curves) { in wolfssl_connect_step1()
501 if(strncmp(curves, gnm[idx].name, strlen(gnm[idx].name)) == 0) { in wolfssl_connect_step1()
510 if(!SSL_CTX_set1_curves_list(backend->ctx, curves)) { in wolfssl_connect_step1()
511 failf(data, "failed setting curves list: '%s'", curves); in wolfssl_connect_step1()
H A Dvtls.c200 strcasecompare(c1->curves, c2->curves) && in match_ssl_primary_config()
244 CLONE_STRING(curves); in clone_ssl_primary_config()
266 Curl_safefree(sslc->curves); in Curl_free_primary_ssl_config()
289 data->set.ssl.primary.curves = data->set.str[STRING_SSL_EC_CURVES]; in Curl_ssl_easy_config_complete()
H A Dopenssl.c3689 char *curves = conn_config->curves; in ossl_connect_step1() local
3690 if(curves) { in ossl_connect_step1()
3691 if(!SSL_CTX_set1_curves_list(backend->ctx, curves)) { in ossl_connect_step1()
3692 failf(data, "failed setting curves list: '%s'", curves); in ossl_connect_step1()
/third_party/skia/experimental/docs/
H A DanimationCommon.js116 var curves = display.draw[i];
117 var curve = Object.keys(curves)[0];
119 copy[i][curve] = curves[curve].slice(0); // clone the array of curves
/third_party/node/test/fixtures/wpt/WebCryptoAPI/util/
H A Dhelpers.js176 // EC key generation is a lot faster. Check all curves in the spec
177 var curves = ["P-256", "P-384", "P-521"];
202 curves.forEach(function(curveName) {
/third_party/libwebsockets/include/libwebsockets/
H A Dlws-x509.h135 * \param curves: NULL to disallow EC, else a comma-separated list of valid
136 * curves using the JWA naming, eg, "P-256,P-384,P-521".
145 const char *curves, int rsabits);
/third_party/node/test/fixtures/wpt/WebCryptoAPI/import_export/
H A Dec_importKey.https.any.js10 var curves = ['P-256', 'P-384', 'P-521']; variable
69 curves.forEach(function(curve) {
/third_party/libwebsockets/lib/tls/openssl/
H A Dopenssl-x509.c474 const char *curves, int rsa_min_bits) in lws_x509_public_to_jwk()
522 if (!curves) { in lws_x509_public_to_jwk()
523 lwsl_err("%s: ec curves not allowed\n", __func__); in lws_x509_public_to_jwk()
549 if (lws_genec_confirm_curve_allowed_by_tls_id(curves, in lws_x509_public_to_jwk()
473 lws_x509_public_to_jwk(struct lws_jwk *jwk, struct lws_x509_cert *x509, const char *curves, int rsa_min_bits) lws_x509_public_to_jwk() argument
/third_party/ffmpeg/libavutil/
H A Ddovi_meta.h143 AVDOVIReshapingCurve curves[3]; /* per component */ member
/third_party/ffmpeg/libavcodec/
H A Ddovi_rpu.c305 AVDOVIReshapingCurve *curve = &vdr->mapping.curves[c]; in ff_dovi_rpu_parse()
333 AVDOVIReshapingCurve *curve = &vdr->mapping.curves[c]; in ff_dovi_rpu_parse()
/third_party/libwebsockets/lib/tls/mbedtls/
H A Dmbedtls-x509.c380 const char *curves, int rsa_min_bits) in lws_x509_public_to_jwk()
417 if (lws_genec_confirm_curve_allowed_by_tls_id(curves, in lws_x509_public_to_jwk()
379 lws_x509_public_to_jwk(struct lws_jwk *jwk, struct lws_x509_cert *x509, const char *curves, int rsa_min_bits) lws_x509_public_to_jwk() argument
/third_party/node/test/parallel/
H A Dtest-webcrypto-export-import-ec.js13 const curves = ['P-256', 'P-384', 'P-521'];
367 curves.forEach((namedCurve) => {
/third_party/node/src/crypto/
H A Dcrypto_ec.cc112 std::vector<EC_builtin_curve> curves(num_curves); in GetCurves()
113 CHECK_EQ(EC_get_builtin_curves(curves.data(), num_curves), num_curves); in GetCurves()
116 std::transform(curves.begin(), curves.end(), arr.begin(), [env](auto& curve) { in GetCurves()
141 // TODO(indutny): Support raw curves? in New()

Completed in 29 milliseconds

12