Home
last modified time | relevance | path

Searched refs:sine (Results 1 - 13 of 13) sorted by relevance

/third_party/ffmpeg/libavfilter/
H A Dasrc_sine.c42 uint32_t phi; ///< current phase of the sine (2pi = 1<<32)
71 OPT_DBL("frequency", frequency, 440, 0, DBL_MAX, "set the sine frequency",),
72 OPT_DBL("f", frequency, 440, 0, DBL_MAX, "set the sine frequency",),
83 AVFILTER_DEFINE_CLASS(sine); variable
148 SineContext *sine = ctx->priv; in init() local
150 if (!(sine->sin = av_malloc(sizeof(*sine->sin) << LOG_PERIOD))) in init()
152 sine->dphi = ldexp(sine->frequency, 32) / sine in init()
173 SineContext *sine = ctx->priv; uninit() local
182 SineContext *sine = ctx->priv; query_formats() local
200 SineContext *sine = outlink->src->priv; config_props() local
208 SineContext *sine = ctx->priv; activate() local
[all...]
/third_party/alsa-utils/speaker-test/
H A Dspeaker-test.c30 * Also switched to stable harmonic oscillator for sine
33 * 0.0.9 Added support for ST-2095 band-limited pink noise output, switched to harmonic oscillator for sine
112 static int test_type = TEST_PINK_NOISE; /* Test type. 1 = noise, 2 = sine wave */
113 static float generator_scale = 0.8; /* Scale to use for sine volume */
389 static void init_sine(sine_t *sine) in init_sine() argument
392 sine->a = 2.0*M_PI * freq / rate; in init_sine()
393 sine->c = 1.0; in init_sine()
394 sine->s = 0.0; in init_sine()
399 sine_t *sine = arg; in generate_sine() local
402 res.f = sine in generate_sine()
881 static sine_t sine; global() variable
[all...]
/third_party/pulseaudio/src/pulsecore/ffmpeg/
H A Dresample2.c143 double sine[LEN + tap_count]; in av_build_filter()
149 sine[j]= cos(i*j*M_PI/LEN); in av_build_filter()
154 sum += filter[ph * tap_count + k] * sine[k+j]; in av_build_filter()
156 ss+= sine[j + center] * sine[j + center]; in av_build_filter()
158 sf+= sine[j + center] * filtered[j]; in av_build_filter()
/third_party/ffmpeg/tests/fate/
H A Dffmpeg.mak100 fate-shortest: CMD = framecrc -auto_conversion_filters -f lavfi -i "sine=3000:d=10" -f lavfi -i "sine=1000:d=1" -sws_flags +accurate_rnd+bitexact -fflags +bitexact -flags +bitexact -idct simple -f rawvideo -s 352x288 -pix_fmt yuv420p -i $(TARGET_PATH)/tests/data/vsynth_lena.yuv -filter_complex "[0:a:0][1:a:0]amix=inputs=2[audio]" -map 2:v:0 -map "[audio]" -sws_flags +accurate_rnd+bitexact -fflags +bitexact -flags +bitexact -idct simple -dct fastint -qscale 10 -threads 1 -c:v mpeg4 -c:a ac3_fixed -shortest
155 -f lavfi -i "sine=1000:d=1" \
166 fate-copy-shortest1: CMD = framemd5 -auto_conversion_filters -fflags +bitexact -flags +bitexact -f lavfi -i "sine=3000:d=10" -f lavfi -i "sine=1000:d=1" -i $(TARGET_PATH)/tests/data/audio_shorter_than_video.nut -filter_complex "[0:a:0][1:a:0]amix=inputs=2[audio]" -map 2:v:0 -map "[audio]" -fflags +bitexact -flags +bitexact -c:v copy -c:a ac3_fixed -shortest
167 fate-copy-shortest2: CMD = framemd5 -auto_conversion_filters -fflags +bitexact -flags +bitexact -f lavfi -i "sine=3000:d=10" -i $(TARGET_PATH)/tests/data/audio_shorter_than_video.nut -filter_complex "[0:a:0][1:a:0]amix=inputs=2[audio]" -map 1:v:0 -map "[audio]" -fflags +bitexact -flags +bitexact -c:v copy -c:a ac3_fixed -shortest
H A Dfilter-video.mak681 fate-filter-metadata-avf-aphase-meter-mono: CMD = run $(FILTER_METADATA_COMMAND) sine="frequency=1000:sample_rate=48000:duration=1,aphasemeter=video=0"
/third_party/ffmpeg/libswresample/
H A Dresample.c240 double sine[LEN + tap_count]; in build_filter()
246 sine[j]= cos(i*j*M_PI/LEN); in build_filter()
251 sum += filter[ph * tap_count + k] * sine[k+j]; in build_filter()
253 ss+= sine[j + center] * sine[j + center]; in build_filter()
255 sf+= sine[j + center] * filtered[j]; in build_filter()
/third_party/skia/modules/canvaskit/
H A Dmatrix.js496 CanvasKit.ColorMatrix.rotated = function(axis, sine, cosine) {
500 m[indices[1]] = sine;
501 m[indices[2]] = -sine;
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
H A DShaderCore.cpp254 // Parabola approximating sine in sine_pi()
277 Float4 sine(RValue<Float4> x, bool pp) in sine() function
303 // Parabola approximating sine in sine()
319 return sine(y, pp); in cosine()
324 return sine(x, pp) / cosine(x, pp); in tangent()
H A DShaderCore.hpp196 Float4 sine(RValue<Float4> x, bool pp = false);
/third_party/skia/third_party/externals/swiftshader/src/Shader/
H A DShaderCore.cpp256 // Parabola approximating sine in sine_pi()
285 Float4 sine(RValue<Float4> x, bool pp) in sine() function
311 // Parabola approximating sine in sine()
330 auto cos = sine(y, pp); in cosine()
340 return sine(x, pp) / cosine(x, pp); in tangent()
1616 dst.x = sine(src.x, pp); in sin()
1617 dst.y = sine(src.y, pp); in sin()
1618 dst.z = sine(src.z, pp); in sin()
1619 dst.w = sine(src.w, pp); in sin()
H A DShaderCore.hpp69 Float4 sine(RValue<Float4> x, bool pp = false);
/third_party/decimal.js/test/modules/
H A Dimmutability.js394 x = a.sine();
/third_party/decimal.js/
H A Ddecimal.js174 * sine sin
594 * Return a new Decimal whose value is the hyperbolic sine of the value in radians of this
802 * Return a new Decimal whose value is the inverse of the hyperbolic sine in radians of the value
890 * Return a new Decimal whose value is the arcsine (inverse sine) in radians of the value of this
1678 * Return a new Decimal whose value is the sine of the value in radians of this Decimal.
1692 P.sine = P.sin = function () {
1705 x = sine(Ctor, toLessThanHalfPi(Ctor, x));
3679 function sine(Ctor, x) { function
4044 * Return a new Decimal whose value is the inverse of the hyperbolic sine of `x`, rounded to
4787 * Return a new Decimal whose value is the sine o
[all...]

Completed in 19 milliseconds