/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/ |
D | audio-converter.c | 74 typedef gboolean (*AudioConvertSamplesFunc) (GstAudioConverter * convert, 148 AudioConvertSamplesFunc convert; member 152 gst_audio_converter_copy (GstAudioConverter * convert) in gst_audio_converter_copy() argument 155 gst_audio_converter_new (convert->flags, &convert->in, &convert->out, in gst_audio_converter_copy() 156 convert->config); in gst_audio_converter_copy() 196 audio_chain_new (AudioChain * prev, GstAudioConverter * convert) in audio_chain_new() argument 203 if (convert->current_layout == GST_AUDIO_LAYOUT_NON_INTERLEAVED) { in audio_chain_new() 205 chain->blocks = convert->current_channels; in audio_chain_new() 207 chain->inc = convert->current_channels; in audio_chain_new() 210 chain->finfo = gst_audio_format_get_info (convert->current_format); in audio_chain_new() [all …]
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/ |
D | gstglcolorconvert.c | 57 static void _do_convert (GstGLContext * context, GstGLColorConvert * convert); 58 static gboolean _init_convert (GstGLColorConvert * convert); 59 static gboolean _init_convert_fbo (GstGLColorConvert * convert); 61 convert, GstBuffer * inbuf); 64 GstGLColorConvert * convert); 493 static void gst_gl_color_convert_reset (GstGLColorConvert * convert); 505 gst_gl_color_convert_init (GstGLColorConvert * convert) in gst_gl_color_convert_init() argument 507 convert->priv = gst_gl_color_convert_get_instance_private (convert); in gst_gl_color_convert_init() 509 gst_gl_color_convert_reset (convert); in gst_gl_color_convert_init() 523 GstGLColorConvert *convert; in gst_gl_color_convert_new() local [all …]
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/ |
D | video-converter.c | 361 typedef void (*FastConvertFunc) (GstVideoConverter * convert, 403 void (*convert) (GstVideoConverter * convert, const GstVideoFrame * src, member 447 void (*alpha_func) (GstVideoConverter * convert, gpointer pixels, gint width); 648 static void video_converter_generic (GstVideoConverter * convert, 650 static gboolean video_converter_lookup_fastpath (GstVideoConverter * convert); 651 static void video_converter_compute_matrix (GstVideoConverter * convert); 652 static void video_converter_compute_resample (GstVideoConverter * convert, 707 setup_border_alloc (GstVideoConverter * convert, ConverterAlloc * alloc) in setup_border_alloc() argument 711 if (convert->borderline) { in setup_border_alloc() 713 memcpy (&alloc->data[i * alloc->stride], convert->borderline, in setup_border_alloc() [all …]
|
/third_party/boost/libs/convert/test/ |
D | strtol_converter.cpp | 28 using boost::convert; 47 BOOST_TEST( 0 == convert<unsigned int>(bad_str).value_or(0)); in test_str_to_uint() 48 BOOST_TEST( 0 == convert<unsigned int>(neg_str).value_or(0)); in test_str_to_uint() 49 BOOST_TEST( 0 == convert<unsigned long int>(neg_str).value_or(0)); in test_str_to_uint() 50 BOOST_TEST( 0 == convert<unsigned long int>(neg_str).value_or(0)); in test_str_to_uint() 51 BOOST_TEST(11 == convert<unsigned int>(std_str).value()); in test_str_to_uint() 52 BOOST_TEST(12 == convert<unsigned int>( c_str).value()); in test_str_to_uint() 53 BOOST_TEST( 1 == convert<unsigned int>( v_str).value_or(0)); in test_str_to_uint() 54 BOOST_TEST(11 == convert<unsigned long int>(std_str).value()); in test_str_to_uint() 55 BOOST_TEST(12 == convert<unsigned long int>( c_str).value()); in test_str_to_uint() [all …]
|
D | spirit_converter.cpp | 19 using boost::convert; 42 BOOST_TEST( 12345 == convert< int>( c_stri).value()); in main() 43 BOOST_TEST( 12345 == convert< int>( c_wstri).value()); in main() 44 BOOST_TEST( 12345 == convert< int>( std_stri).value()); in main() 45 BOOST_TEST( 12345 == convert< int>(std_wstri).value()); in main() 46 BOOST_TEST( 12345 == convert< int>( my_stri).value()); in main() 47 BOOST_TEST( 12345 == convert<unsigned int>(c_stri).value()); in main() 48 BOOST_TEST( 12345 == convert<long int>( c_stri).value()); in main() 49 BOOST_TEST( 12345 == convert<long int>( c_wstri).value()); in main() 50 BOOST_TEST( 12345 == convert<long int>( std_stri).value()); in main() [all …]
|
D | stream_converter.cpp | 22 using boost::convert; 37 BOOST_TEST(convert<string>( 99.999, cnv(arg::precision = 2)).value_or("bad") == "100.00"); in test_dbl_to_str() 38 BOOST_TEST(convert<string>( 99.949, cnv(arg::precision = 2)).value_or("bad") == "99.95"); in test_dbl_to_str() 39 BOOST_TEST(convert<string>(-99.949, cnv(arg::precision = 2)).value_or("bad") == "-99.95"); in test_dbl_to_str() 40 BOOST_TEST(convert<string>( 99.949, cnv(arg::precision = 1)).value_or("bad") == "99.9"); in test_dbl_to_str() 41 BOOST_TEST(convert<string>( 0.999, cnv(arg::precision = 2)).value_or("bad") == "1.00"); in test_dbl_to_str() 42 BOOST_TEST(convert<string>( -0.999, cnv(arg::precision = 2)).value_or("bad") == "-1.00"); in test_dbl_to_str() 43 BOOST_TEST(convert<string>( 0.949, cnv(arg::precision = 2)).value_or("bad") == "0.95"); in test_dbl_to_str() 44 BOOST_TEST(convert<string>( -0.949, cnv(arg::precision = 2)).value_or("bad") == "-0.95"); in test_dbl_to_str() 45 BOOST_TEST(convert<string>( 1.949, cnv(arg::precision = 1)).value_or("bad") == "1.9"); in test_dbl_to_str() [all …]
|
D | str_to_int.cpp | 36 string s01 = boost::convert< string>(-1, cnv).value_or(std_str); in int_to_str() 37 string s02 = boost::convert< string>(-2, cnv).value_or(c_str); in int_to_str() 38 string s05 = boost::convert< string>(-5, cnv).value_or(array_str); in int_to_str() 39 boost::optional< string> rs01 = boost::convert< string>(-1, cnv); in int_to_str() 40 boost::optional< string> rs02 = boost::convert< string>(-2, cnv); in int_to_str() 41 boost::optional< string> rs05 = boost::convert< string>(-5, cnv); in int_to_str() 47 string s11 = boost::convert< string>(-1, cnv).value(); in int_to_str() 48 boost::optional< string> rs11 = boost::convert< string>(-1, cnv); in int_to_str() 70 int const a00 = boost::convert<int>(not_int_str, cnv).value_or(-1); in str_to_int() 71 int const a01 = boost::convert<int>(std_str, cnv).value_or(-1); in str_to_int() [all …]
|
D | callable.cpp | 19 using boost::convert; 82 int v01 = convert<int>(str, plain_old_func).value_or(-1); in main() 85 int v02 = convert<int>(str, boost_func(plain_old_func)).value_or(-1); in main() 88 int v03 = convert<int>(str, in main() 96 convert<int>(str, convert_all<string, int>); in main() 97 convert<string>(11, convert_all<int, string>); in main() 98 convert< int>(str, converter1()); in main() 99 convert<string>(11, converter1()); in main() 100 convert<string>(11.23, take_double()); in main() 101 convert<string>(11, take_int()); in main() [all …]
|
/third_party/boost/boost/spirit/home/classic/phoenix/ |
D | functions.hpp | 310 as_actor<A>::convert(a) in operator ()() 326 as_actor<A>::convert(a), in operator ()() 327 as_actor<B>::convert(b) in operator ()() 343 as_actor<A>::convert(a), in operator ()() 344 as_actor<B>::convert(b), in operator ()() 345 as_actor<C>::convert(c) in operator ()() 368 as_actor<A>::convert(a), in operator ()() 369 as_actor<B>::convert(b), in operator ()() 370 as_actor<C>::convert(c), in operator ()() 371 as_actor<D>::convert(d) in operator ()() [all …]
|
D | new.hpp | 891 as_actor<A>::convert(a) in new_() 905 as_actor<A>::convert(a), in new_() 906 as_actor<B>::convert(b) in new_() 920 as_actor<A>::convert(a), in new_() 921 as_actor<B>::convert(b), in new_() 922 as_actor<C>::convert(c) in new_() 942 as_actor<A>::convert(a), in new_() 943 as_actor<B>::convert(b), in new_() 944 as_actor<C>::convert(c), in new_() 945 as_actor<D>::convert(d) in new_() [all …]
|
D | casts.hpp | 1046 as_actor<A>::convert(a) in construct_() 1060 as_actor<A>::convert(a), in construct_() 1061 as_actor<B>::convert(b) in construct_() 1075 as_actor<A>::convert(a), in construct_() 1076 as_actor<B>::convert(b), in construct_() 1077 as_actor<C>::convert(c) in construct_() 1097 as_actor<A>::convert(a), in construct_() 1098 as_actor<B>::convert(b), in construct_() 1099 as_actor<C>::convert(c), in construct_() 1100 as_actor<D>::convert(d) in construct_() [all …]
|
/third_party/boost/libs/convert/ |
D | makefile | 6 target_1 = convert-test-callable test/callable.cpp 7 target_2 = convert-test-is-converter test/is_converter.cpp 8 target_3 = convert-test-fallbacks test/fallbacks.cpp 9 target_4 = convert-test-spirit-converter test/spirit_converter.cpp 10 target_5 = convert-test-stream-converter test/stream_converter.cpp 11 target_6 = convert-test-lcast-converter test/lcast_converter.cpp 12 target_7 = convert-test-printf-converter test/printf_converter.cpp 13 target_8 = convert-test-strtol-converter test/strtol_converter.cpp 14 target_9 = convert-test-encryption test/encryption.cpp 15 target_10 = convert-test-user-type test/user_type.cpp [all …]
|
/third_party/gstreamer/gstplugins_base/ext/gl/ |
D | gstglcolorconvertelement.c | 76 GstGLColorConvertElement *convert = GST_GL_COLOR_CONVERT_ELEMENT (bt); in gst_gl_color_convert_element_stop() local 78 if (convert->convert) { in gst_gl_color_convert_element_stop() 79 gst_object_unref (convert->convert); in gst_gl_color_convert_element_stop() 80 convert->convert = NULL; in gst_gl_color_convert_element_stop() 119 gst_gl_color_convert_element_init (GstGLColorConvertElement * convert) in gst_gl_color_convert_element_init() argument 121 gst_base_transform_set_prefer_passthrough (GST_BASE_TRANSFORM (convert), in gst_gl_color_convert_element_init() 129 GstGLColorConvertElement *convert = GST_GL_COLOR_CONVERT_ELEMENT (bt); in gst_gl_color_convert_element_set_caps() local 131 if (!gst_gl_color_convert_set_caps (convert->convert, in_caps, out_caps)) in gst_gl_color_convert_element_set_caps() 141 GstGLColorConvertElement *convert = GST_GL_COLOR_CONVERT_ELEMENT (bt); in gst_gl_color_convert_element_transform_caps() local 150 if (!convert->convert && context) in gst_gl_color_convert_element_transform_caps() [all …]
|
/third_party/boost/libs/convert/example/ |
D | getting_serious.cpp | 15 using boost::convert; 39 int i2 = convert<int>("not an int", cnv).value_or(-1); // after the call i2==-1 in example1() 49 int i2 = convert<int>(str, cnv).value(); // Throws if the conversion fails. in example1() 59 optional<int> r1 = convert<int>(str1, cnv); // Does not throw on conversion failure. in example1() 60 optional<int> r2 = convert<int>(str2, cnv); // Does not throw on conversion failure. in example1() 75 int i3 = convert<int>(str3, cnv).value_or(fallback_value); in example1() 76 int i4 = convert<int>(str3, cnv).value_or_eval(fallback_function); in example1() 96 boost::optional<int> res = boost::convert<int>(str, cnv); in example4() 106 int i2 = convert<int>(str, cnv).value_or_eval(fallback_func()); in example4() 107 int i3 = convert<int>(str, cnv, fallback_func()); // Same as above. Alternative API. in example4() [all …]
|
D | getting_started.cpp | 39 using boost::convert; 56 int i2 = convert<int>("123").value(); // boost::convert with the default converter in getting_started_example1() 57 int i3 = convert<int>("123", cnv).value(); // boost::convert with an explicit converter in getting_started_example1() 59 string s2 = convert<string>(123).value(); // boost::convert with the default converter in getting_started_example1() 60 string s3 = convert<string>(123, cnv).value(); // boost::convert with an explicit converter in getting_started_example1() 85 int i = convert<int>("uhm", boost::cnv::lexical_cast()).value_or(-1); in getting_started_example2() 105 int i1 = convert<int>("123", cnv1).value(); in getting_started_example3() 106 int i2 = convert<int>("123", cnv2).value(); // Two times faster than lexical_cast. in getting_started_example3() 107 int i3 = convert<int>("123", cnv3).value(); // Four times faster than lexical_cast. in getting_started_example3() 129 int i2 = convert<int>(" 123", cnv(std::skipws)).value(); // Success in getting_started_example4() [all …]
|
D | stream.cpp | 14 using boost::convert; 30 int i2 = convert<int>("123").value(); // Throws when fails. in example1() 31 int i3 = convert<int>("uhm").value_or(-1); // Returns -1 when fails. in example1() 32 string s2 = convert<string>(123).value(); in example1() 48 int v01 = convert<int>(" FF", ccnv(std::hex)(std::skipws)).value_or(0); in example2() 49 int v02 = convert<int>(L" F", wcnv(std::hex)(std::skipws)).value_or(0); in example2() 50 int v03 = convert<int>(" FF", ccnv(std::dec)(std::skipws)).value_or(-5); in example2() 51 int v04 = convert<int>(L" F", wcnv(std::dec)(std::skipws)).value_or(-5); in example2() 61 BOOST_TEST(convert<string>(255, ccnv, "bad") == "0XFF"); in example2() 62 BOOST_TEST(convert<string>( 15, ccnv, "bad") == "0XF"); in example2() [all …]
|
/third_party/boost/boost/spirit/home/classic/attribute/ |
D | closure.hpp | 272 ::phoenix::as_actor<A>::convert(a) in operator ()() 294 ::phoenix::as_actor<A>::convert(a), in operator ()() 295 ::phoenix::as_actor<B>::convert(b) in operator ()() 319 ::phoenix::as_actor<A>::convert(a), in operator ()() 320 ::phoenix::as_actor<B>::convert(b), in operator ()() 321 ::phoenix::as_actor<C>::convert(c) in operator ()() 355 ::phoenix::as_actor<A>::convert(a), in operator ()() 356 ::phoenix::as_actor<B>::convert(b), in operator ()() 357 ::phoenix::as_actor<C>::convert(c), in operator ()() 358 ::phoenix::as_actor<D>::convert(d) in operator ()() [all …]
|
/third_party/boost/boost/filesystem/ |
D | path_traits.hpp | 98 void convert(const char* from, 104 void convert(const wchar_t* from, 110 void convert(const char* from, in convert() function 115 convert(from, 0, to, cvt); in convert() 119 void convert(const wchar_t* from, in convert() function 124 convert(from, 0, to, cvt); in convert() 130 void convert(const char* from, 135 void convert(const wchar_t* from, 140 void convert(const char* from, 144 void convert(const wchar_t* from, [all …]
|
/third_party/node/deps/npm/node_modules/color-convert/ |
D | README.md | 1 # color-convert 3 … Status](https://travis-ci.org/Qix-/color-convert.svg?branch=master)](https://travis-ci.org/Qix-/c… 5 Color-convert is a color conversion library for JavaScript and node. 9 var convert = require('color-convert'); 11 convert.rgb.hsl(140, 200, 100); // [96, 48, 59] 12 convert.keyword.rgb('blue'); // [0, 0, 255] 14 var rgbChannels = convert.rgb.channels; // 3 15 var cmykChannels = convert.cmyk.channels; // 4 16 var ansiChannels = convert.ansi16.channels; // 1 22 $ npm install color-convert [all …]
|
D | conversions.js | 15 var convert = module.exports = { variable 34 for (var model in convert) { 35 if (convert.hasOwnProperty(model)) { 36 if (!('channels' in convert[model])) { 40 if (!('labels' in convert[model])) { 44 if (convert[model].labels.length !== convert[model].channels) { 48 var channels = convert[model].channels; 49 var labels = convert[model].labels; 50 delete convert[model].channels; 51 delete convert[model].labels; [all …]
|
/third_party/typescript/tests/baselines/reference/ |
D | tsxInferenceShouldNotYieldAnyOnUnions.types | 15 convert: (t: T) => string; 16 >convert : (t: T) => string 38 ShouldInferFromData({ data: "1", convert: n => "" + n }); 39 >ShouldInferFromData({ data: "1", convert: n => "" + n }) : JSX.Element 41 >{ data: "1", convert: n => "" + n } : { data: string; convert: (n: string) => string; } 44 >convert : (n: string) => string 51 ShouldInferFromData({ data: 2, convert: n => "" + n }); 52 >ShouldInferFromData({ data: 2, convert: n => "" + n }) : JSX.Element 54 >{ data: 2, convert: n => "" + n } : { data: number; convert: (n: number) => string; } 57 >convert : (n: number) => string [all …]
|
/third_party/toybox/toys/other/ |
D | free.c | 29 static char *convert(unsigned long d) 53 "Swap:%16s%12s%12s\n", convert(in.totalram), in free_main() 54 convert(in.totalram-in.freeram), convert(in.freeram), convert(in.sharedram), in free_main() 55 convert(in.bufferram), convert(in.totalram - in.freeram - in.bufferram), in free_main() 56 convert(in.freeram + in.bufferram), convert(in.totalswap), in free_main() 57 convert(in.totalswap - in.freeswap), convert(in.freeswap)); in free_main()
|
/third_party/toybox/porting/liteos_a/toys/other/ |
D | free.c | 29 static char *convert(unsigned long d) 53 "Swap:%16s%12s%12s\n", convert(in.totalram), in free_main() 54 convert(in.totalram-in.freeram), convert(in.freeram), convert(in.sharedram), in free_main() 55 convert(in.bufferram), convert(in.totalram - in.freeram - in.bufferram), in free_main() 56 convert(in.freeram + in.bufferram), convert(in.totalswap), in free_main() 57 convert(in.totalswap - in.freeswap), convert(in.freeswap)); in free_main()
|
/third_party/glib/tests/ |
D | unicode-caseconv.c | 19 char *convert; in main() local 68 convert = g_utf8_strup (test, -1); in main() 70 if (strcmp (convert, expected) != 0) in main() 73 test, convert, expected); in main() 76 g_free (convert); in main() 78 convert = g_utf8_strdown (test, -1); in main() 80 if (strcmp (convert, expected) != 0) in main() 83 test, convert, expected); in main() 86 g_free (convert); in main() 115 convert = g_utf8_casefold (test, -1); in main() [all …]
|
/third_party/protobuf/js/compatibility_tests/v3.1.0/binary/ |
D | utils_test.js | 163 var convert = jspb.utils.hash64ToDecimalString; 165 result = convert(toHashString(0x00000000, 0x00000000), false); 168 result = convert(toHashString(0x00000000, 0x00000000), true); 171 result = convert(toHashString(0xFFFFFFFF, 0xFFFFFFFF), false); 174 result = convert(toHashString(0xFFFFFFFF, 0xFFFFFFFF), true); 177 result = convert(toHashString(0x00000000, 0x80000000), false); 180 result = convert(toHashString(0x00000000, 0x80000000), true); 183 result = convert(toHashString(0xacd05f15, 0x01b69b4b), false); 186 result = convert(toHashString(~0xacd05f15 + 1, ~0x01b69b4b), true); 205 var convert = jspb.utils.decimalStringToHash64; [all …]
|