Home
last modified time | relevance | path

Searched refs:mix (Results 1 – 25 of 658) sorted by relevance

12345678910>>...27

/third_party/gstreamer/gstplugins_good/gst/videomixer/
Dvideomixer2.c97 #define GST_VIDEO_MIXER2_GET_LOCK(mix) \ argument
98 (&GST_VIDEO_MIXER2(mix)->lock)
99 #define GST_VIDEO_MIXER2_LOCK(mix) \ argument
100 (g_mutex_lock(GST_VIDEO_MIXER2_GET_LOCK (mix)))
101 #define GST_VIDEO_MIXER2_UNLOCK(mix) \ argument
102 (g_mutex_unlock(GST_VIDEO_MIXER2_GET_LOCK (mix)))
103 #define GST_VIDEO_MIXER2_GET_SETCAPS_LOCK(mix) \ argument
104 (&GST_VIDEO_MIXER2(mix)->setcaps_lock)
105 #define GST_VIDEO_MIXER2_SETCAPS_LOCK(mix) \ argument
106 (g_mutex_lock(GST_VIDEO_MIXER2_GET_SETCAPS_LOCK (mix)))
[all …]
/third_party/gstreamer/gstplugins_base/ext/gl/
Dgstglbasemixer.c96 _find_local_gl_context (GstGLBaseMixer * mix) in _find_local_gl_context() argument
98 if (gst_gl_query_local_gl_context (GST_ELEMENT (mix), GST_PAD_SRC, in _find_local_gl_context()
99 &mix->context)) in _find_local_gl_context()
101 if (gst_gl_query_local_gl_context (GST_ELEMENT (mix), GST_PAD_SINK, in _find_local_gl_context()
102 &mix->context)) in _find_local_gl_context()
108 _get_gl_context (GstGLBaseMixer * mix) in _get_gl_context() argument
110 GstGLBaseMixerClass *mix_class = GST_GL_BASE_MIXER_GET_CLASS (mix); in _get_gl_context()
113 if (!gst_gl_ensure_element_data (mix, &mix->display, in _get_gl_context()
114 &mix->priv->other_context)) in _get_gl_context()
117 gst_gl_display_filter_gl_api (mix->display, mix_class->supported_gl_api); in _get_gl_context()
[all …]
Dgstglmixer.c108 GstGLMixer *mix = GST_GL_MIXER (vagg); in gst_gl_mixer_pad_prepare_frame() local
120 gst_gl_sync_meta_wait (sync_meta, GST_GL_BASE_MIXER (mix)->context); in gst_gl_mixer_pad_prepare_frame()
149 GstGLMixer *mix = GST_GL_MIXER (agg); in _negotiated_caps() local
152 mix->priv->negotiated = TRUE; in _negotiated_caps()
154 gst_caps_replace (&mix->out_caps, caps); in _negotiated_caps()
185 GstGLMixer *mix = GST_GL_MIXER (agg); in gst_gl_mixer_propose_allocation() local
213 GST_DEBUG_OBJECT (mix, "create new pool"); in gst_gl_mixer_propose_allocation()
238 GST_DEBUG_OBJECT (mix, "no caps specified"); in gst_gl_mixer_propose_allocation()
243 GST_DEBUG_OBJECT (mix, "invalid caps specified"); in gst_gl_mixer_propose_allocation()
248 GST_DEBUG_OBJECT (mix, "failed setting config"); in gst_gl_mixer_propose_allocation()
[all …]
Dgstglstereomix.c91 static gboolean gst_gl_stereo_mix_make_output (GstGLStereoMix * mix);
216 gst_gl_stereo_mix_init (GstGLStereoMix * mix) in gst_gl_stereo_mix_init() argument
269 GstGLStereoMix *mix = GST_GL_STEREO_MIX (videoaggregator); in gst_gl_stereo_mix_create_output_buffer() local
274 if (!mix->priv->pool_active) { in gst_gl_stereo_mix_create_output_buffer()
275 if (!gst_buffer_pool_set_active (mix->priv->pool, TRUE)) { in gst_gl_stereo_mix_create_output_buffer()
276 GST_ELEMENT_ERROR (mix, RESOURCE, SETTINGS, in gst_gl_stereo_mix_create_output_buffer()
280 mix->priv->pool_active = TRUE; in gst_gl_stereo_mix_create_output_buffer()
283 return gst_buffer_pool_acquire_buffer (mix->priv->pool, outbuf, NULL); in gst_gl_stereo_mix_create_output_buffer()
286 if (!gst_gl_stereo_mix_make_output (mix)) { in gst_gl_stereo_mix_create_output_buffer()
287 gst_buffer_replace (&mix->primary_out, NULL); in gst_gl_stereo_mix_create_output_buffer()
[all …]
/third_party/skia/resources/sksl/intrinsics/
DMixBool.sksl11 return (mix(intGreen.x, intRed.x, false) == intGreen.x &&
12 mix(intGreen.xy, intRed.xy, bool2(false)) == intGreen.xy &&
13 mix(intGreen.xyz, intRed.xyz, bool3(false)) == intGreen.xyz &&
14 mix(intGreen.xyzw, intRed.xyzw, bool4(false)) == intGreen.xyzw &&
15 mix(intGreen.x, intRed.x, true) == intRed.x &&
16 mix(intGreen.xy, intRed.xy, bool2(true)) == intRed.xy &&
17 mix(intGreen.xyz, intRed.xyz, bool3(true)) == intRed.xyz &&
18 mix(intGreen.xyzw, intRed.xyzw, bool4(true)) == intRed.xyzw &&
19 mix(constIGreen.x, constIRed.x, false) == intGreen.x &&
20 mix(constIGreen.xy, constIRed.xy, bool2(false)) == intGreen.xy &&
[all …]
DMixFloat.sksl10 return (mix(colorGreen, colorRed, 0) == half4(0, 1, 0, 1) &&
11 mix(colorGreen, colorRed, 0.25) == half4(0.25, 0.75, 0, 1) &&
12 mix(colorGreen, colorRed, 0.75) == half4(0.75, 0.25, 0, 1) &&
13 mix(colorGreen, colorRed, 1) == half4(1, 0, 0, 1) &&
14 mix(colorBlack.x, colorWhite.x, 0.5) == expectedBW.x &&
15 mix(colorBlack.xy, colorWhite.xy, 0.5) == expectedBW.xy &&
16 mix(colorBlack.xyz, colorWhite.xyz, 0.5) == expectedBW.xyz &&
17 mix(colorBlack.xyzw, colorWhite.xyzw, 0.5) == expectedBW.xyzw &&
18 mix(constBlack.x, constWhite.x, 0.5) == expectedBW.x &&
19 mix(constBlack.xy, constWhite.xy, 0.5) == expectedBW.xy &&
[all …]
/third_party/skia/third_party/externals/spirv-cross/reference/opt/shaders/asm/comp/
Dnmin-max-clamp.asm.comp23 _4.a2 = mix(mix(min(_4.b2, _4.c2), _4.c2, isnan(_4.b2)), _4.b2, isnan(_4.c2));
24 _4.a3 = mix(mix(min(_4.b3, _4.c3), _4.c3, isnan(_4.b3)), _4.b3, isnan(_4.c3));
25 _4.a4 = mix(mix(min(_4.b4, _4.c4), _4.c4, isnan(_4.b4)), _4.b4, isnan(_4.c4));
27 _4.a2 = mix(mix(max(_4.b2, _4.c2), _4.c2, isnan(_4.b2)), _4.b2, isnan(_4.c2));
28 _4.a3 = mix(mix(max(_4.b3, _4.c3), _4.c3, isnan(_4.b3)), _4.b3, isnan(_4.c3));
29 _4.a4 = mix(mix(max(_4.b4, _4.c4), _4.c4, isnan(_4.b4)), _4.b4, isnan(_4.c4));
32 vec2 _191 = mix(mix(max(_4.a2, _4.b2), _4.b2, isnan(_4.a2)), _4.a2, isnan(_4.b2));
33 _4.a2 = mix(mix(min(_191, _4.c2), _4.c2, isnan(_191)), _191, isnan(_4.c2));
34 vec3 _202 = mix(mix(max(_4.a3, _4.b3), _4.b3, isnan(_4.a3)), _4.a3, isnan(_4.b3));
35 _4.a3 = mix(mix(min(_202, _4.c3), _4.c3, isnan(_202)), _202, isnan(_4.c3));
[all …]
/third_party/skia/third_party/externals/spirv-cross/reference/shaders/asm/comp/
Dnmin-max-clamp.asm.comp23 _4.a2 = mix(mix(min(_4.b2, _4.c2), _4.c2, isnan(_4.b2)), _4.b2, isnan(_4.c2));
24 _4.a3 = mix(mix(min(_4.b3, _4.c3), _4.c3, isnan(_4.b3)), _4.b3, isnan(_4.c3));
25 _4.a4 = mix(mix(min(_4.b4, _4.c4), _4.c4, isnan(_4.b4)), _4.b4, isnan(_4.c4));
27 _4.a2 = mix(mix(max(_4.b2, _4.c2), _4.c2, isnan(_4.b2)), _4.b2, isnan(_4.c2));
28 _4.a3 = mix(mix(max(_4.b3, _4.c3), _4.c3, isnan(_4.b3)), _4.b3, isnan(_4.c3));
29 _4.a4 = mix(mix(max(_4.b4, _4.c4), _4.c4, isnan(_4.b4)), _4.b4, isnan(_4.c4));
32 vec2 _190 = mix(mix(max(_4.a2, _4.b2), _4.b2, isnan(_4.a2)), _4.a2, isnan(_4.b2));
33 _4.a2 = mix(mix(min(_190, _4.c2), _4.c2, isnan(_190)), _190, isnan(_4.c2));
34 vec3 _201 = mix(mix(max(_4.a3, _4.b3), _4.b3, isnan(_4.a3)), _4.a3, isnan(_4.b3));
35 _4.a3 = mix(mix(min(_201, _4.c3), _4.c3, isnan(_201)), _201, isnan(_4.c3));
[all …]
/third_party/skia/tests/sksl/intrinsics/
DMixBool.glsl11mix(intGreen.x, intRed.x, false) == intGreen.x && mix(intGreen.xy, intRed.xy, bvec2(false)) == int…
DMixFloat.glsl11mix(colorGreen, colorRed, 0.0) == vec4(0.0, 1.0, 0.0, 1.0) && mix(colorGreen, colorRed, 0.25) == v…
DMixFloat.metal21mix(_uniforms.colorGreen, _uniforms.colorRed, 0.0h) == half4(0.0h, 1.0h, 0.0h, 1.0h)) && all(mix(_…
/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/
Daudio-channel-mixer.c57 typedef void (*MixerFunc) (GstAudioChannelMixer * mix, const gpointer src[],
83 gst_audio_channel_mixer_free (GstAudioChannelMixer * mix) in gst_audio_channel_mixer_free() argument
88 for (i = 0; i < mix->in_channels; i++) in gst_audio_channel_mixer_free()
89 g_free (mix->matrix[i]); in gst_audio_channel_mixer_free()
90 g_free (mix->matrix); in gst_audio_channel_mixer_free()
91 mix->matrix = NULL; in gst_audio_channel_mixer_free()
93 for (i = 0; i < mix->in_channels; i++) in gst_audio_channel_mixer_free()
94 g_free (mix->matrix_int[i]); in gst_audio_channel_mixer_free()
95 g_free (mix->matrix_int); in gst_audio_channel_mixer_free()
96 mix->matrix_int = NULL; in gst_audio_channel_mixer_free()
[all …]
/third_party/typescript/tests/baselines/reference/
DdeclarationEmitMixinPrivateProtected.types2 declare function mix<TMix>(mixin: TMix): TMix;
3 >mix : <TMix>(mixin: TMix) => TMix
25 export default mix(DisposableMixin);
26 >mix(DisposableMixin) : typeof DisposableMixin
27 >mix : <TMix>(mixin: TMix) => TMix
30 export class Monitor extends mix(DisposableMixin) {
32 >mix(DisposableMixin) : DisposableMixin
33 >mix : <TMix>(mixin: TMix) => TMix
42 declare function mix<TMix>(mixin: TMix): TMix;
43 >mix : <TMix>(mixin: TMix) => TMix
[all …]
DdeclarationEmitMixinPrivateProtected.symbols2 declare function mix<TMix>(mixin: TMix): TMix;
3 >mix : Symbol(mix, Decl(first.ts, 0, 0))
26 export default mix(DisposableMixin);
27 >mix : Symbol(mix, Decl(first.ts, 0, 0))
30 export class Monitor extends mix(DisposableMixin) {
32 >mix : Symbol(mix, Decl(first.ts, 0, 0))
41 declare function mix<TMix>(mixin: TMix): TMix;
42 >mix : Symbol(mix, Decl(another.ts, 0, 0))
64 export default class extends mix(DisposableMixin) {
65 >mix : Symbol(mix, Decl(another.ts, 0, 0))
DdeclarationEmitMixinPrivateProtected.js4 declare function mix<TMix>(mixin: TMix): TMix;
15 export default mix(DisposableMixin);
16 export class Monitor extends mix(DisposableMixin) {
22 declare function mix<TMix>(mixin: TMix): TMix;
32 export default class extends mix(DisposableMixin) {
67 exports["default"] = mix(DisposableMixin);
76 }(mix(DisposableMixin)));
114 }(mix(DisposableMixin)));
/third_party/skia/modules/skparagraph/src/
DParagraphCache.cpp64 uint32_t ParagraphCache::KeyHash::mix(uint32_t hash, uint32_t data) const { in mix() function in skia::textlayout::ParagraphCache::KeyHash
77 hash = mix(hash, SkGoodHash()(ph.fRange.start)); in operator ()()
78 hash = mix(hash, SkGoodHash()(ph.fRange.end)); in operator ()()
79 hash = mix(hash, SkGoodHash()(relax(ph.fStyle.fHeight))); in operator ()()
80 hash = mix(hash, SkGoodHash()(relax(ph.fStyle.fWidth))); in operator ()()
81 hash = mix(hash, SkGoodHash()(ph.fStyle.fAlignment)); in operator ()()
82 hash = mix(hash, SkGoodHash()(ph.fStyle.fBaseline)); in operator ()()
84 hash = mix(hash, SkGoodHash()(relax(ph.fStyle.fBaselineOffset))); in operator ()()
92 hash = mix(hash, SkGoodHash()(relax(ts.fStyle.getLetterSpacing()))); in operator ()()
93 hash = mix(hash, SkGoodHash()(relax(ts.fStyle.getWordSpacing()))); in operator ()()
[all …]
/third_party/skia/src/gpu/tessellate/
DPatchWriter.cpp35 float4 ab = mix(p0.xyxy(), p1.xyxy(), T); in chopAndWriteQuads()
36 float4 bc = mix(p1.xyxy(), p2.xyxy(), T); in chopAndWriteQuads()
37 float4 abc = mix(ab, bc, T); in chopAndWriteQuads()
39 float4 middle = mix(ab, bc, mix(T, T.zwxy(), 2/3.f)); in chopAndWriteQuads()
83 float4 ab = mix(h0, h1, T); in chopAndWriteConics()
84 float4 bc = mix(h1, h2, T); in chopAndWriteConics()
85 float4 abc = mix(ab, bc, T); in chopAndWriteConics()
117 float4 ab = mix(p0.xyxy(), p1.xyxy(), T); in chopAndWriteCubics()
118 float4 bc = mix(p1.xyxy(), p2.xyxy(), T); in chopAndWriteCubics()
119 float4 cd = mix(p2.xyxy(), p3.xyxy(), T); in chopAndWriteCubics()
[all …]
/third_party/ffmpeg/tests/fate/
Dlibavresample.mak10 FATE_LAVR_MIX += fate-lavr-mix-$(3)-$(1)-$(2)
11 fate-lavr-mix-$(3)-$(1)-$(2): tests/data/asynth-44100-$(1).wav
12 fate-lavr-mix-$(3)-$(1)-$(2): CMD = ffmpeg -i $(TARGET_PATH)/tests/data/asynth-44100-$(1).wav -ac $…
13 fate-lavr-mix-$(3)-$(1)-$(2): CMP = oneoff
14 fate-lavr-mix-$(3)-$(1)-$(2): REF = $(SAMPLES)/lavr/lavr-mix-$(3)-$(1)-$(2)
22 …LTERDEMDECENCMUX, CHANNELMAP RESAMPLE, WAV, PCM_S16LE, PCM_S16LE, WAV) += fate-lavr-mix-output-zero
23 fate-lavr-mix-output-zero: tests/data/filtergraphs/lavr_mix_output_zero tests/data/asynth-44100-4.w…
24 fate-lavr-mix-output-zero: CMP = oneoff
25 fate-lavr-mix-output-zero: CMD = ffmpeg -i $(TARGET_PATH)/tests/data/asynth-44100-4.wav -filter_scr…
26 fate-lavr-mix-output-zero: REF = $(SAMPLES)/lavr/lavr-mix-output-zero
[all …]
/third_party/typescript/tests/cases/compiler/
DdeclarationEmitMixinPrivateProtected.ts3 declare function mix<TMix>(mixin: TMix): TMix; function
14 export default mix(DisposableMixin);
15 export class Monitor extends mix(DisposableMixin) {
21 declare function mix<TMix>(mixin: TMix): TMix; function
31 export default class extends mix(DisposableMixin) {
/third_party/gstreamer/gstplugins_base/tests/examples/audio/
Daudiomix.c128 make_mixer_channel (GstElement * pipeline, GstElement * mix, gchar * file_name) in make_mixer_channel() argument
142 gst_element_link_many (volume, convert, format, mix, NULL); in make_mixer_channel()
165 GstElement *mix, *convert, *sink; in main() local
178 mix = gst_element_factory_make ("adder", NULL); in main()
181 gst_bin_add_many (GST_BIN (pipeline), mix, convert, sink, NULL); in main()
182 gst_element_link_many (mix, convert, sink, NULL); in main()
185 make_mixer_channel (pipeline, mix, argv[1]); in main()
186 make_mixer_channel (pipeline, mix, argv[2]); in main()
/third_party/flutter/skia/src/sksl/
Dsksl_interp.inc38 float mix(float x, float y, float t) { return x * (1 - t) + y * t; }
39 float2 mix(float2 x, float2 y, float t) { return x * (1 - t) + y * t; }
40 float3 mix(float3 x, float3 y, float t) { return x * (1 - t) + y * t; }
41 float4 mix(float4 x, float4 y, float t) { return x * (1 - t) + y * t; }
43 float2 mix(float2 x, float2 y, float2 t) { return x * (1 - t) + y * t; }
44 float3 mix(float3 x, float3 y, float3 t) { return x * (1 - t) + y * t; }
45 float4 mix(float4 x, float4 y, float4 t) { return x * (1 - t) + y * t; }
/third_party/flutter/skia/modules/skparagraph/src/
DParagraphCache.cpp41 uint32_t ParagraphCache::KeyHash::mix(uint32_t hash, uint32_t data) const { in mix() function in skia::textlayout::ParagraphCache::KeyHash
50 hash = mix(hash, SkGoodHash()(fd.fStart)); in operator ()()
51 hash = mix(hash, SkGoodHash()(fd.fFont.getSize())); in operator ()()
56 hash = mix(hash, SkGoodHash()(name)); in operator ()()
57 hash = mix(hash, SkGoodHash()(fd.fFont.getTypeface()->fontStyle())); in operator ()()
61 hash = mix(hash, SkGoodHash()(ts.fStyle.getLetterSpacing())); in operator ()()
62 hash = mix(hash, SkGoodHash()(ts.fStyle.getWordSpacing())); in operator ()()
63 hash = mix(hash, SkGoodHash()(ts.fRange)); in operator ()()
65 hash = mix(hash, SkGoodHash()(key.fText)); in operator ()()
/third_party/skia/site/docs/user/modules/
Dparticles.md157 " p.scale = mix(0.6, 1, rand(p.seed));",
165 " p.vel = float2(cos(a), sin(a)) * mix(250, 550, rand(p.seed)) * invAge * invAge;",
247 " pos = mix(pos, normalize(pos), s);",
283 " float w = mix(15, 3, p.age);",
284 " p.pos.x = sin(radians(p.age * 320)) * mix(25, 10, p.age) + mix(-w, w, rand(p.seed));",
287 " p.color.g = (mix(75, 220, p.age) + mix(-30, 30, rand(p.seed))) / 255;",
305 " float a = radians(mix(-20, 20, rand(effect.seed)) - 90);",
306 " float s = mix(200, 220, rand(effect.seed));",
331 " float s = explode ? mix(90, 100, rand(p.seed)) : mix(5, 10, rand(p.seed));",
359 " p.lifetime = mix(1, 3, rand(p.seed));",
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/EXT/
DEXT_shader_integer_mix.txt42 GLSL 1.30 (and GLSL ES 3.00) expanded the mix() built-in function to
44 selects. This extension extends mix() to select between int, uint,
63 genIType mix(genIType x, Selects which vector each returned component comes
66 genUType mix(genUType x, component of a that is true, the corresponding
69 genBType mix(genBType x,
119 2) Should we allow mix() to select between boolean components?
137 2 08/26/2013 mattst88 Change vendor prefix to MESA. Add mix() that
/third_party/openGLES/extensions/EXT/
DEXT_shader_integer_mix.txt42 GLSL 1.30 (and GLSL ES 3.00) expanded the mix() built-in function to
44 selects. This extension extends mix() to select between int, uint,
63 genIType mix(genIType x, Selects which vector each returned component comes
66 genUType mix(genUType x, component of a that is true, the corresponding
69 genBType mix(genBType x,
119 2) Should we allow mix() to select between boolean components?
137 2 08/26/2013 mattst88 Change vendor prefix to MESA. Add mix() that

12345678910>>...27