Home
last modified time | relevance | path

Searched refs:mix (Results 1 - 25 of 91) sorted by relevance

1234

/third_party/alsa-utils/alsaloop/
H A Dcontrol.c243 struct loopback_mixer *mix) in control_init2()
249 snd_ctl_elem_info_copy(mix->dst.info, mix->src.info); in control_init2()
250 snd_ctl_elem_info_set_id(mix->dst.info, mix->dst.id); in control_init2()
251 snd_ctl_elem_value_clear(mix->dst.value); in control_init2()
252 snd_ctl_elem_value_set_id(mix->dst.value, mix->dst.id); in control_init2()
253 type = snd_ctl_elem_info_get_type(mix->dst.info); in control_init2()
254 count = snd_ctl_elem_info_get_count(mix in control_init2()
242 control_init2(struct loopback *loop, struct loopback_mixer *mix) control_init2() argument
316 struct loopback_mixer *mix; control_init() local
345 struct loopback_mixer *mix; control_done() local
366 control_event1(struct loopback *loop, struct loopback_mixer *mix, snd_ctl_event_t *ev, int capture) control_event1() argument
410 struct loopback_mixer *mix; control_event() local
[all...]
/third_party/skia/modules/skparagraph/src/
H A DParagraphCache.cpp63 static uint32_t mix(uint32_t hash, uint32_t data);
125 uint32_t ParagraphCacheKey::mix(uint32_t hash, uint32_t data) { in mix() function in skia::textlayout::ParagraphCacheKey
138 hash = mix(hash, SkGoodHash()(ph.fRange)); in computeHash()
139 hash = mix(hash, SkGoodHash()(relax(ph.fStyle.fHeight))); in computeHash()
140 hash = mix(hash, SkGoodHash()(relax(ph.fStyle.fWidth))); in computeHash()
141 hash = mix(hash, SkGoodHash()(ph.fStyle.fAlignment)); in computeHash()
142 hash = mix(hash, SkGoodHash()(ph.fStyle.fBaseline)); in computeHash()
144 hash = mix(hash, SkGoodHash()(relax(ph.fStyle.fBaselineOffset))); in computeHash()
152 hash = mix(hash, SkGoodHash()(relax(ts.fStyle.getLetterSpacing()))); in computeHash()
153 hash = mix(has in computeHash()
[all...]
/third_party/skia/src/gpu/tessellate/
H A 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(p in chopAndWriteCubics()
[all...]
H A DTessellation.h52 AI vec<N> mix(vec<N> a, vec<N> b, vec<N> T) { in mix() function
58 AI vec<N> mix(vec<N> a, vec<N> b, float T) { in mix() function
59 return mix(a, b, vec<N>(T)); in mix()
/third_party/ffmpeg/tests/fate/
H A 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 $(2) -mix_coeff_type $(3) -internal_sample_fmt $(4) -f s16le -af atrim=end_sample=1024 -
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 FATE_LAVR_MIX-$(call FILTERDEMDECENCMUX, 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.wav
24 fate-lavr-mix-output-zero: CMP = oneoff
25 fate-lavr-mix
[all...]
H A Dfilter-audio.mak314 # hdcd-mix.flac is a mix of three different sources which are interesting for various reasons:
318 FATE_AFILTER_SAMPLES-$(call FILTERDEMDECENCMUX, HDCD, FLAC, FLAC, PCM_S24LE, PCM_S24LE) += fate-filter-hdcd-mix
319 fate-filter-hdcd-mix: SRC = $(TARGET_SAMPLES)/filter/hdcd-mix.flac
320 fate-filter-hdcd-mix: CMD = md5 -i $(SRC) -af hdcd -f s24le
321 fate-filter-hdcd-mix: CMP = oneline
322 fate-filter-hdcd-mix: REF = 77443573e0bd3532de52a8bc0e825da7
325 FATE_AFILTER_SAMPLES-$(call FILTERDEMDECENCMUX, HDCD, FLAC, FLAC, PCM_S24LE, PCM_S24LE) += fate-filter-hdcd-mix-psoff
326 fate-filter-hdcd-mix
[all...]
/third_party/ffmpeg/libavfilter/
H A Dvf_colortemperature.c39 float mix; member
88 nr = lerpf(r, nr, mix); \
89 ng = lerpf(g, ng, mix); \
90 nb = lerpf(b, nb, mix); \
110 const float mix = s->mix; in temperature_slice8() local
153 const float mix = s->mix; in temperature_slice16() local
194 const float mix = s->mix; in temperature_slice8p() local
235 const float mix = s->mix; temperature_slice16p() local
[all...]
H A Dvf_colorize.c32 float mix; member
59 const float mix = s->mix; in colorizey_slice8() local
63 yptr[x] = lerpf(yv, yptr[x], mix); in colorizey_slice8()
82 const float mix = s->mix; in colorizey_slice16() local
86 yptr[x] = lerpf(yv, yptr[x], mix); in colorizey_slice16()
277 { "mix", "set the mix of source lightness", OFFSET(mix), AV_OPT_TYPE_FLOA
[all...]
H A Dvf_xfade.c248 static inline float mix(float a, float b, float mix) in mix() argument
250 return a * mix + b * (1.f - mix); in mix()
283 dst[x] = mix(xf0[x], xf1[x], progress); \
638 dst[x] = mix(mix(xf0[x], xf1[x], dist), xf1[x], progress); \
665 dst[x] = mix(mix(xf0[x], bg, smoothstep(1.f-phase, 1.f, progress)), \
666 mix(b
[all...]
H A Daf_acrusher.c48 double mix; member
77 { "mix", "set mix", OFFSET(mix), AV_OPT_TYPE_DOUBLE, {.dbl=.5}, 0, 1, A },
187 // mix between dry and wet signal in bitreduction()
188 k += (in - k) * s->mix; in bitreduction()
226 const double mix = s->mix; in filter_frame() local
250 sample = mix * samplereduction(s, &s->sr[c], sample) + src[c] * (1. - mix) * level_i in filter_frame()
[all...]
H A Daf_sidechaincompress.c52 double mix; member
94 { "mix", "set mix", OFFSET(mix), AV_OPT_TYPE_DOUBLE, {.dbl=1}, 0, 1, A|F|R },
171 const double mix = s->mix; in compressor() local
212 dst[c] = src[c] * level_in * (gain * makeup * mix + (1. - mix)); in compressor()
H A Daf_aiir.c59 double mix; member
118 const double mix = s->mix; \
148 sample = sample * mix + ic[0] * (1. - mix); \
175 const double mix = s->mix; \
176 const double imix = 1. - mix; \
204 o0 = o0 * mix + imix * i0; \
234 const double mix
[all...]
H A Daf_earwax.c159 static void mix(AVFilterContext *ctx, AVFrame *out, in mix() function
201 mix(ctx, out, 0, 0, 1, 1, 0); in filter_frame()
202 mix(ctx, out, 1, 0, 1, 0, 1); in filter_frame()
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtx/
H A Dcompatibility.hpp38 template <typename T> GLM_FUNC_QUALIFIER T lerp(T x, T y, T a){return mix(x, y, a);} //!< \brief Returns x * (1.0 - a) + y * a, i.e., the linear blend of x and y using the floating-point value a. The value for a is not restricted to the range [0, 1]. (From GLM_GTX_compatibility) in lerp()
39 template <typename T, precision P> GLM_FUNC_QUALIFIER tvec2<T, P> lerp(const tvec2<T, P>& x, const tvec2<T, P>& y, T a){return mix(x, y, a);} //!< \brief Returns x * (1.0 - a) + y * a, i.e., the linear blend of x and y using the floating-point value a. The value for a is not restricted to the range [0, 1]. (From GLM_GTX_compatibility) in lerp()
41 template <typename T, precision P> GLM_FUNC_QUALIFIER tvec3<T, P> lerp(const tvec3<T, P>& x, const tvec3<T, P>& y, T a){return mix(x, y, a);} //!< \brief Returns x * (1.0 - a) + y * a, i.e., the linear blend of x and y using the floating-point value a. The value for a is not restricted to the range [0, 1]. (From GLM_GTX_compatibility) in lerp()
42 template <typename T, precision P> GLM_FUNC_QUALIFIER tvec4<T, P> lerp(const tvec4<T, P>& x, const tvec4<T, P>& y, T a){return mix(x, y, a);} //!< \brief Returns x * (1.0 - a) + y * a, i.e., the linear blend of x and y using the floating-point value a. The value for a is not restricted to the range [0, 1]. (From GLM_GTX_compatibility) in lerp()
43 template <typename T, precision P> GLM_FUNC_QUALIFIER tvec2<T, P> lerp(const tvec2<T, P>& x, const tvec2<T, P>& y, const tvec2<T, P>& a){return mix(x, y, a);} //!< \brief Returns the component-wise result of x * (1.0 - a) + y * a, i.e., the linear blend of x and y using vector a. The value for a is not restricted to the range [0, 1]. (From GLM_GTX_compatibility) in lerp()
44 template <typename T, precision P> GLM_FUNC_QUALIFIER tvec3<T, P> lerp(const tvec3<T, P>& x, const tvec3<T, P>& y, const tvec3<T, P>& a){return mix(x, y, a);} //!< \brief Returns the component-wise result of x * (1.0 - a) + y * a, i.e., the linear blend of x and y using vector a. The value for a is not restricted to the range [0, 1]. (From GLM_GTX_compatibility) in lerp()
45 template <typename T, precision P> GLM_FUNC_QUALIFIER tvec4<T, P> lerp(const tvec4<T, P>& x, const tvec4<T, P>& y, const tvec4<T, P>& a){return mix(x, y, a);} //!< \brief Returns the component-wise result of x * (1.0 - a) + y * a, i.e., the linear blend of x and y using vector a. The value for a is not restricted to the range [0, 1]. (From GLM_GTX_compatibility) in lerp()
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
H A DColorStateTests.cpp265 RGBA8 mix(const RGBA8& col1, const RGBA8& col2, std::array<float, 4> fac) { in mix() function
276 RGBA8 mix(const RGBA8& col1, const RGBA8& col2, const RGBA8& fac) { in mix() function
283 return mix(col1, col2, f); in mix()
388 RGBA8 expected = base + mix(RGBA8(0, 0, 0, 0), color, fac); in TEST_P()
401 RGBA8 expected = base + mix(RGBA8(0, 0, 0, 0), color, fac); in TEST_P()
413 RGBA8 expected = base + mix(RGBA8(0, 0, 0, 0), color, fac); in TEST_P()
425 RGBA8 expected = base + mix(RGBA8(0, 0, 0, 0), color, fac); in TEST_P()
439 RGBA8 expected = base + mix(RGBA8(0, 0, 0, 0), color, fac); in TEST_P()
452 RGBA8 expected = base + mix(RGBA8(0, 0, 0, 0), color, fac); in TEST_P()
464 RGBA8 expected = base + mix(RGBA in TEST_P()
[all...]
/third_party/toybox/porting/liteos_a/toys/posix/
H A Dps.c1323 } plist[2], *plold, *plnew, old, new, mix; in top_common() local
1371 // Collate old and new into "mix", depends on /proc read in pid sort order in top_common()
1374 mix.tb = xmalloc((old.count+new.count)*sizeof(struct procpid)); in top_common()
1375 mix.count = 0; in top_common()
1390 if (!old.count || *otb->slot > *ntb->slot) mix.tb[mix.count] = ntb; in top_common()
1394 mix.tb[mix.count] = otb; in top_common()
1395 mix.count++; in top_common()
1409 qsort(mix in top_common()
[all...]
/third_party/toybox/toys/posix/
H A Dps.c1466 } plist[2], *plold, *plnew, old, new, mix; in top_common() local
1514 // Collate old and new into "mix", depends on /proc read in pid sort order in top_common()
1517 mix.tb = xmalloc((old.count+new.count)*sizeof(struct procpid)); in top_common()
1518 mix.count = 0; in top_common()
1534 if (!old.count || otb->slot[merge_idx] > ntb->slot[merge_idx]) mix.tb[mix.count] = ntb; in top_common()
1538 mix.tb[mix.count] = otb; in top_common()
1539 mix.count++; in top_common()
1553 qsort(mix in top_common()
[all...]
/third_party/elfutils/libdwfl/
H A Ddwfl_segment_report_module.c184 for (size_t mix = 0; mix < count; mix++) in handle_file_note()
192 firstix = lastix = mix; in handle_file_note()
194 lastix = mix; in handle_file_note()
202 for (ssize_t mix = 0; mix <= lastix; mix++) in handle_file_note()
207 if (mix == firstix) in handle_file_note()
209 if (firstix < mix in handle_file_note()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
H A DHashing.h265 /// This effectively performs the initial mix.
271 state.mix(s); in create()
288 /// We mix all 64 bytes even when the chunk length is smaller, but we
290 void mix(const char *s) { in mix() function
426 // a mix of the last 64-bytes. That is how the algorithm works when we in hash_combine_range_impl()
431 state.mix(buffer); in hash_combine_range_impl()
460 state.mix(s_begin); in hash_combine_range_impl()
464 state.mix(s_end - 64); in hash_combine_range_impl()
526 // either initialize the hash state (on the first full buffer) or mix in combine_data()
534 state.mix(buffe in combine_data()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
H A DHashing.h264 /// This effectively performs the initial mix.
270 state.mix(s); in create()
287 /// We mix all 64 bytes even when the chunk length is smaller, but we
289 void mix(const char *s) { in mix() function
424 // a mix of the last 64-bytes. That is how the algorithm works when we in hash_combine_range_impl()
429 state.mix(buffer); in hash_combine_range_impl()
458 state.mix(s_begin); in hash_combine_range_impl()
462 state.mix(s_end - 64); in hash_combine_range_impl()
524 // either initialize the hash state (on the first full buffer) or mix in combine_data()
532 state.mix(buffe in combine_data()
[all...]
/third_party/vk-gl-cts/framework/referencerenderer/
H A DrrRenderer.cpp253 const ClipVec4 clippedV0 = tcu::mix(v0, v1, ComponentPlane<+1, CompNdx>().clipLineSegmentEnd(v0, v1)); in getLineIntersectionPoint()
254 const ClipVec4 clippedV1 = tcu::mix(v0, v1, ComponentPlane<-1, CompNdx>().clipLineSegmentEnd(v0, v1)); in getLineIntersectionPoint()
259 return tcu::mix(clippedV0, clippedV1, clipRatio); in getLineIntersectionPoint()
263 return tcu::mix(clippedV1, clippedV0, complementClipRatio); in getLineIntersectionPoint()
301 const ClipVec4 approximatedClipPoint = tcu::mix(inside.position, outside.position, hitDist); in clipTriangleOneVertex()
305 middle.weight[0] = tcu::mix(inside.weight[0], outside.weight[0], hitDist); in clipTriangleOneVertex()
306 middle.weight[1] = tcu::mix(inside.weight[1], outside.weight[1], hitDist); in clipTriangleOneVertex()
307 middle.weight[2] = tcu::mix(inside.weight[2], outside.weight[2], hitDist); in clipTriangleOneVertex()
325 const ClipVec4 approximatedClipPoint = tcu::mix(inside.position, outside.position, hitDist); in clipTriangleOneVertex()
329 middle.weight[0] = tcu::mix(insid in clipTriangleOneVertex()
[all...]
/third_party/typescript/tests/baselines/reference/
H A DparserUsingConstructorAsIdentifier.js33 function mix(constructor) { function
73 function mix(constructor) {
/third_party/zlib/examples/
H A Dgznorm.c296 // mix is 1 if we are at the end of a deflate block, and if in gzip_normalize()
297 // some of the bits in the last byte follow this block. mix in gzip_normalize()
301 int mix = (strm.data_type & 0x80) && bits; in gzip_normalize() local
309 unsigned char *end = strm.next_in - mix; in gzip_normalize()
327 if (mix) { in gzip_normalize()
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/detail/
H A Dfunc_common.hpp198 /// genType mix(genType x, genType y, genType(a))
201 /// @see <a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/mix.xml">GLSL mix man page</a>
221 /// glm::vec4 r = glm::mix(g, h, a); // Interpolate with a floating-point scalar two vectors.
222 /// glm::vec4 s = glm::mix(g, h, b); // Teturns g or h;
223 /// glm::dvec3 t = glm::mix(e, f, a); // Types of the third parameter is not required to match with the first and the second.
224 /// glm::vec4 u = glm::mix(g, h, r); // Interpolations can be perform per component with a vector for the last parameter.
227 GLM_FUNC_DECL vecType<T, P> mix(vecType<T, P> const & x, vecType<T, P> const & y, vecType<U, P> const & a);
230 GLM_FUNC_DECL vecType<T, P> mix(vecType<T, P> const & x, vecType<T, P> const & y, U a);
233 GLM_FUNC_DECL genTypeT mix(genType
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/
H A Dseed_material.cc235 auto mix = [&](uint32_t x, uint32_t y) { in MixIntoSeedMaterial() local
243 elem = mix(elem, hash(seq_val)); in MixIntoSeedMaterial()

Completed in 23 milliseconds

1234