Home
last modified time | relevance | path

Searched refs:convert (Results 1 – 25 of 1590) sorted by relevance

12345678910>>...64

/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/
Daudio-converter.c74 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 …]
Daudio-converter.h135 void gst_audio_converter_free (GstAudioConverter * convert);
138 void gst_audio_converter_reset (GstAudioConverter * convert);
141 gboolean gst_audio_converter_update_config (GstAudioConverter * convert,
146 const GstStructure * gst_audio_converter_get_config (GstAudioConverter * convert,
150 gsize gst_audio_converter_get_out_frames (GstAudioConverter *convert,
154 gsize gst_audio_converter_get_in_frames (GstAudioConverter *convert,
158 gsize gst_audio_converter_get_max_latency (GstAudioConverter *convert);
161 gboolean gst_audio_converter_samples (GstAudioConverter * convert,
167 gboolean gst_audio_converter_supports_inplace (GstAudioConverter *convert);
170 gboolean gst_audio_converter_is_passthrough (GstAudioConverter *convert);
[all …]
/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/
Dvideo-converter.c338 typedef void (*FastConvertFunc) (GstVideoConverter * convert,
380 void (*convert) (GstVideoConverter * convert, const GstVideoFrame * src, member
424 void (*alpha_func) (GstVideoConverter * convert, gpointer pixels, gint width);
633 static void video_converter_generic (GstVideoConverter * convert,
635 static gboolean video_converter_lookup_fastpath (GstVideoConverter * convert);
636 static void video_converter_compute_matrix (GstVideoConverter * convert);
637 static void video_converter_compute_resample (GstVideoConverter * convert,
692 setup_border_alloc (GstVideoConverter * convert, ConverterAlloc * alloc) in setup_border_alloc() argument
696 if (convert->borderline) { in setup_border_alloc()
698 memcpy (&alloc->data[i * alloc->stride], convert->borderline, in setup_border_alloc()
[all …]
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/
Dgstglcolorconvert.c57 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);
581 static void gst_gl_color_convert_reset (GstGLColorConvert * convert);
593 gst_gl_color_convert_init (GstGLColorConvert * convert) in gst_gl_color_convert_init() argument
595 convert->priv = gst_gl_color_convert_get_instance_private (convert); in gst_gl_color_convert_init()
597 gst_gl_color_convert_reset (convert); in gst_gl_color_convert_init()
611 GstGLColorConvert *convert; in gst_gl_color_convert_new() local
[all …]
/third_party/gstreamer/gstplugins_bad/sys/nvcodec/
Dcuda-converter.c58 static gboolean cuda_converter_lookup_path (GstCudaConverter * convert);
748 gboolean (*convert) (GstCudaConverter * convert, const GstCudaMemory * src, member
786 GstCudaConverter *convert; in gst_cuda_converter_new() local
799 convert = g_new0 (GstCudaConverter, 1); in gst_cuda_converter_new()
801 convert->in_info = *in_info; in gst_cuda_converter_new()
802 convert->out_info = *out_info; in gst_cuda_converter_new()
810 if (!cuda_converter_lookup_path (convert)) in gst_cuda_converter_new()
813 convert->ptx = gst_cuda_nvrtc_compile (convert->kernel_source); in gst_cuda_converter_new()
814 if (!convert->ptx) { in gst_cuda_converter_new()
819 GST_TRACE ("compiled convert ptx \n%s", convert->ptx); in gst_cuda_converter_new()
[all …]
/third_party/gstreamer/gstplugins_base/ext/gl/
Dgstglcolorconvertelement.c79 GstGLColorConvertElement *convert = GST_GL_COLOR_CONVERT_ELEMENT (filter); in gst_gl_color_convert_element_gl_stop() local
81 if (convert->convert) { in gst_gl_color_convert_element_gl_stop()
82 gst_object_unref (convert->convert); in gst_gl_color_convert_element_gl_stop()
83 convert->convert = NULL; in gst_gl_color_convert_element_gl_stop()
124 gst_gl_color_convert_element_init (GstGLColorConvertElement * convert) in gst_gl_color_convert_element_init() argument
126 gst_base_transform_set_prefer_passthrough (GST_BASE_TRANSFORM (convert), in gst_gl_color_convert_element_init()
134 GstGLColorConvertElement *convert = in gst_gl_color_convert_element_gl_set_caps() local
137 if (!convert->convert && base_filter->context) in gst_gl_color_convert_element_gl_set_caps()
138 convert->convert = gst_gl_color_convert_new (base_filter->context); in gst_gl_color_convert_element_gl_set_caps()
140 if (!gst_gl_color_convert_set_caps (convert->convert, in_caps, out_caps)) in gst_gl_color_convert_element_gl_set_caps()
[all …]
Dgstglviewconvert.c165 gst_gl_view_convert_element_init (GstGLViewConvertElement * convert) in gst_gl_view_convert_element_init() argument
167 convert->viewconvert = gst_gl_view_convert_new (); in gst_gl_view_convert_element_init()
173 GstGLViewConvertElement *convert = GST_GL_VIEW_CONVERT_ELEMENT (object); in gst_gl_view_convert_dispose() local
175 if (convert->viewconvert) { in gst_gl_view_convert_dispose()
176 gst_object_unref (convert->viewconvert); in gst_gl_view_convert_dispose()
177 convert->viewconvert = NULL; in gst_gl_view_convert_dispose()
271 GstGLViewConvertElement *convert = GST_GL_VIEW_CONVERT_ELEMENT (object); in gst_gl_view_convert_element_set_property() local
276 g_object_set_property (G_OBJECT (convert->viewconvert), pspec->name, in gst_gl_view_convert_element_set_property()
278 gst_base_transform_reconfigure_src (GST_BASE_TRANSFORM (convert)); in gst_gl_view_convert_element_set_property()
282 g_object_set_property (G_OBJECT (convert->viewconvert), pspec->name, in gst_gl_view_convert_element_set_property()
[all …]
/third_party/glslang/Test/
Dhlsl.type.type.conversion.all.frag88 …x2(zeros4);// Compilation failed because: error X3017: cannot implicitly convert from 'const float…
89 …x3(zeros6);// Compilation failed because: error X3017: cannot implicitly convert from 'const float…
90 …x4(zeros8);// Compilation failed because: error X3017: cannot implicitly convert from 'const float…
91 …x2(zeros6);// Compilation failed because: error X3017: cannot implicitly convert from 'const float…
92 …x3(zeros9);// Compilation failed because: error X3017: cannot implicitly convert from 'const float…
93 …4(zeros12);// Compilation failed because: error X3017: cannot implicitly convert from 'const float…
94 …x2(zeros8);// Compilation failed because: error X3017: cannot implicitly convert from 'const float…
95 …3(zeros12);// Compilation failed because: error X3017: cannot implicitly convert from 'const float…
96 …4(zeros16);// Compilation failed because: error X3017: cannot implicitly convert from 'const float…
97 …t2(zeros2);// Compilation failed because: error X3017: cannot implicitly convert from 'const float…
[all …]
/third_party/node/deps/npm/node_modules/color-convert/
Dconversions.js14 const convert = { variable
32 module.exports = convert;
35 for (const model of Object.keys(convert)) {
36 if (!('channels' in convert[model])) {
40 if (!('labels' in convert[model])) {
44 if (convert[model].labels.length !== convert[model].channels) {
48 const {channels, labels} = convert[model];
49 delete convert[model].channels;
50 delete convert[model].labels;
51 Object.defineProperty(convert[model], 'channels', {value: channels});
[all …]
Dindex.js4 const convert = {}; constant
65 convert[fromModel] = {};
67 Object.defineProperty(convert[fromModel], 'channels', {value: conversions[fromModel].channels});
68 Object.defineProperty(convert[fromModel], 'labels', {value: conversions[fromModel].labels});
76 convert[fromModel][toModel] = wrapRounded(fn);
77 convert[fromModel][toModel].raw = wrapRaw(fn);
81 module.exports = convert;
/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_lookup_test.cc757 convert(civil_second(1970, 1, 1, 0, 0, 0), tz)); // UTC in TEST()
763 convert(civil_second(1970, 1, 1, 0, 0, 0), tz)); // UTC in TEST()
769 convert(civil_second(1970, 1, 1, 0, 0, 0), tz)); // UTC in TEST()
853 EXPECT_EQ(weekday::thursday, get_weekday(convert(tp, tz))); in TEST()
861 EXPECT_EQ(weekday::wednesday, get_weekday(convert(tp, tz))); in TEST()
869 EXPECT_EQ(weekday::wednesday, get_weekday(convert(tp, tz))); in TEST()
879 EXPECT_EQ(weekday::wednesday, get_weekday(convert(tp, tz))); in TEST()
886 EXPECT_EQ(weekday::wednesday, get_weekday(convert(tp, tz))); in TEST()
893 EXPECT_EQ(weekday::thursday, get_weekday(convert(tp, tz))); in TEST()
900 EXPECT_EQ(weekday::thursday, get_weekday(convert(tp, tz))); in TEST()
[all …]
Dtime_zone_format_test.cc598 auto tp = convert(civil_second(-999, 11, 27, 0, 0, 0), utc); in TEST()
600 tp = convert(civil_second(-99, 11, 27, 0, 0, 0), utc); in TEST()
602 tp = convert(civil_second(-9, 11, 27, 0, 0, 0), utc); in TEST()
604 tp = convert(civil_second(-1, 11, 27, 0, 0, 0), utc); in TEST()
606 tp = convert(civil_second(0, 11, 27, 0, 0, 0), utc); in TEST()
608 tp = convert(civil_second(1, 11, 27, 0, 0, 0), utc); in TEST()
610 tp = convert(civil_second(9, 11, 27, 0, 0, 0), utc); in TEST()
612 tp = convert(civil_second(99, 11, 27, 0, 0, 0), utc); in TEST()
614 tp = convert(civil_second(999, 11, 27, 0, 0, 0), utc); in TEST()
616 tp = convert(civil_second(9999, 11, 27, 0, 0, 0), utc); in TEST()
[all …]
/third_party/protobuf/js/compatibility_tests/v3.0.0/binary/
Dutils_test.js163 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 …]
/third_party/protobuf/js/compatibility_tests/v3.1.0/binary/
Dutils_test.js163 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 …]
/third_party/typescript/tests/baselines/reference/
DtsxInferenceShouldNotYieldAnyOnUnions.types15 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 …]
DtsxInferenceShouldNotYieldAnyOnUnions.js13 convert: (t: T) => string;
22 ShouldInferFromData({ data: "1", convert: n => "" + n });
23 ShouldInferFromData({ data: 2, convert: n => "" + n });
27 const f2 = <ShouldInferFromData data={"1"} convert={n => "" + n} />;
28 const f3 = <ShouldInferFromData data={2} convert={n => "" + n} />;
36 ShouldInferFromData({ data: "1", convert: function (n) { return "" + n; } }); method
37 ShouldInferFromData({ data: 2, convert: function (n) { return "" + n; } }); method
39 var f2 = <ShouldInferFromData data={"1"} convert={function (n) { return "" + n; }}/>;
40 var f3 = <ShouldInferFromData data={2} convert={function (n) { return "" + n; }}/>;
DtsxInferenceShouldNotYieldAnyOnUnions.symbols31 convert: (t: T) => string;
32 >convert : Symbol(PropsWithConvert.convert, Decl(index.tsx, 10, 52))
54 ShouldInferFromData({ data: "1", convert: n => "" + n });
57 >convert : Symbol(convert, Decl(index.tsx, 20, 32))
61 ShouldInferFromData({ data: 2, convert: n => "" + n });
64 >convert : Symbol(convert, Decl(index.tsx, 21, 30))
74 const f2 = <ShouldInferFromData data={"1"} convert={n => "" + n} />;
78 >convert : Symbol(convert, Decl(index.tsx, 25, 42))
82 const f3 = <ShouldInferFromData data={2} convert={n => "" + n} />;
86 >convert : Symbol(convert, Decl(index.tsx, 26, 40))
DpromiseTypeInference.types20 declare function convert(s: string): IPromise<number>;
21 >convert : (s: string) => IPromise<number>
24 var $$x = load("something").then(s => convert(s));
26 >load("something").then(s => convert(s)) : CPromise<number>
32 >s => convert(s) : (s: string) => IPromise<number>
34 >convert(s) : IPromise<number>
35 >convert : (s: string) => IPromise<number>
/third_party/toybox/toys/other/
Dfree.c29 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/protobuf/js/binary/
Dutils_test.js163 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 …]
/third_party/glslang/Test/baseResults/
Dhlsl.type.type.conversion.all.frag.out2 ERROR: 0:88: '=' : cannot convert from ' const 2X2 matrix of float' to ' temp 2-component vector o…
3 ERROR: 0:89: '=' : cannot convert from ' const 2X3 matrix of float' to ' temp 2-component vector o…
4 ERROR: 0:90: '=' : cannot convert from ' const 2X4 matrix of float' to ' temp 2-component vector o…
5 ERROR: 0:91: '=' : cannot convert from ' const 3X2 matrix of float' to ' temp 2-component vector o…
6 ERROR: 0:92: '=' : cannot convert from ' const 3X3 matrix of float' to ' temp 2-component vector o…
7 ERROR: 0:93: '=' : cannot convert from ' const 3X4 matrix of float' to ' temp 2-component vector o…
8 ERROR: 0:94: '=' : cannot convert from ' const 4X2 matrix of float' to ' temp 2-component vector o…
9 ERROR: 0:95: '=' : cannot convert from ' const 4X3 matrix of float' to ' temp 2-component vector o…
10 ERROR: 0:96: '=' : cannot convert from ' const 4X4 matrix of float' to ' temp 2-component vector o…
11 ERROR: 0:97: '=' : cannot convert from ' const 2-component vector of float' to ' temp 3-component …
[all …]
Dspv.RayCallable_Errors.rcall.out6 ERROR: 0:9: '=' : cannot convert from ' temp float' to ' temp highp int'
8 ERROR: 0:10: '=' : cannot convert from ' temp float' to ' temp highp int'
10 ERROR: 0:11: '=' : cannot convert from ' temp float' to ' temp highp int'
12 ERROR: 0:12: '=' : cannot convert from ' temp float' to ' temp highp 3-component vector of float'
14 ERROR: 0:13: '=' : cannot convert from ' temp float' to ' temp highp 3-component vector of float'
16 ERROR: 0:14: '=' : cannot convert from ' temp float' to ' temp highp 3-component vector of float'
18 ERROR: 0:15: '=' : cannot convert from ' temp float' to ' temp highp 3-component vector of float'
22 ERROR: 0:18: '=' : cannot convert from ' temp float' to ' temp highp 4X3 matrix of float'
24 ERROR: 0:19: '=' : cannot convert from ' temp float' to ' temp highp 4X3 matrix of float'
28 ERROR: 0:22: '=' : cannot convert from ' temp float' to ' temp highp uint'
Dspv.ext.RayCallable_Errors.rcall.out6 ERROR: 0:9: '=' : cannot convert from ' temp float' to ' temp highp int'
8 ERROR: 0:10: '=' : cannot convert from ' temp float' to ' temp highp int'
10 ERROR: 0:11: '=' : cannot convert from ' temp float' to ' temp highp int'
12 ERROR: 0:12: '=' : cannot convert from ' temp float' to ' temp highp 3-component vector of float'
14 ERROR: 0:13: '=' : cannot convert from ' temp float' to ' temp highp 3-component vector of float'
16 ERROR: 0:14: '=' : cannot convert from ' temp float' to ' temp highp 3-component vector of float'
18 ERROR: 0:15: '=' : cannot convert from ' temp float' to ' temp highp 3-component vector of float'
22 ERROR: 0:18: '=' : cannot convert from ' temp float' to ' temp highp 4X3 matrix of float'
24 ERROR: 0:19: '=' : cannot convert from ' temp float' to ' temp highp 4X3 matrix of float'
28 ERROR: 0:22: '=' : cannot convert from ' temp float' to ' temp highp uint'
Dspv.ext.RayGenShader_Errors.rgen.out8 ERROR: 0:23: '=' : cannot convert from ' const int' to ' temp accelerationStructureNV'
10 ERROR: 0:24: '=' : cannot convert from ' temp float' to ' temp highp int'
12 ERROR: 0:25: '=' : cannot convert from ' temp float' to ' temp highp int'
14 ERROR: 0:26: '=' : cannot convert from ' temp float' to ' temp highp int'
16 ERROR: 0:27: '=' : cannot convert from ' temp float' to ' temp highp 3-component vector of float'
18 ERROR: 0:28: '=' : cannot convert from ' temp float' to ' temp highp 3-component vector of float'
20 ERROR: 0:29: '=' : cannot convert from ' temp float' to ' temp highp 3-component vector of float'
22 ERROR: 0:30: '=' : cannot convert from ' temp float' to ' temp highp 3-component vector of float'
26 ERROR: 0:33: '=' : cannot convert from ' temp float' to ' temp highp 4X3 matrix of float'
28 ERROR: 0:34: '=' : cannot convert from ' temp float' to ' temp highp 4X3 matrix of float'
Dspv.RayGenShader_Errors.rgen.out8 ERROR: 0:23: '=' : cannot convert from ' const int' to ' temp accelerationStructureNV'
10 ERROR: 0:24: '=' : cannot convert from ' temp float' to ' temp highp int'
12 ERROR: 0:25: '=' : cannot convert from ' temp float' to ' temp highp int'
14 ERROR: 0:26: '=' : cannot convert from ' temp float' to ' temp highp int'
16 ERROR: 0:27: '=' : cannot convert from ' temp float' to ' temp highp 3-component vector of float'
18 ERROR: 0:28: '=' : cannot convert from ' temp float' to ' temp highp 3-component vector of float'
20 ERROR: 0:29: '=' : cannot convert from ' temp float' to ' temp highp 3-component vector of float'
22 ERROR: 0:30: '=' : cannot convert from ' temp float' to ' temp highp 3-component vector of float'
26 ERROR: 0:33: '=' : cannot convert from ' temp float' to ' temp highp 4X3 matrix of float'
28 ERROR: 0:34: '=' : cannot convert from ' temp float' to ' temp highp 4X3 matrix of float'

12345678910>>...64