Home
last modified time | relevance | path

Searched refs:spectrum (Results 1 – 25 of 42) sorted by relevance

12

/third_party/gstreamer/gstplugins_good/gst/spectrum/
Dgstspectrum.c101 GST_ELEMENT_REGISTER_DEFINE (spectrum, "spectrum", GST_RANK_NONE,
193 gst_spectrum_init (GstSpectrum * spectrum) in gst_spectrum_init() argument
195 spectrum->post_messages = DEFAULT_POST_MESSAGES; in gst_spectrum_init()
196 spectrum->message_magnitude = DEFAULT_MESSAGE_MAGNITUDE; in gst_spectrum_init()
197 spectrum->message_phase = DEFAULT_MESSAGE_PHASE; in gst_spectrum_init()
198 spectrum->interval = DEFAULT_INTERVAL; in gst_spectrum_init()
199 spectrum->bands = DEFAULT_BANDS; in gst_spectrum_init()
200 spectrum->threshold = DEFAULT_THRESHOLD; in gst_spectrum_init()
202 g_mutex_init (&spectrum->lock); in gst_spectrum_init()
206 gst_spectrum_alloc_channel_data (GstSpectrum * spectrum) in gst_spectrum_alloc_channel_data() argument
[all …]
Dgstspectrum.h93 GST_ELEMENT_REGISTER_DECLARE (spectrum);
/third_party/gstreamer/gstplugins_good/tests/check/elements/
Dspectrum.c89 GstElement *spectrum; in setup_spectrum() local
93 spectrum = gst_check_setup_element ("spectrum"); in setup_spectrum()
94 mysrcpad = gst_check_setup_src_pad (spectrum, &srctemplate); in setup_spectrum()
95 mysinkpad = gst_check_setup_sink_pad (spectrum, &sinktemplate); in setup_spectrum()
100 gst_check_setup_events (mysrcpad, spectrum, caps, GST_FORMAT_TIME); in setup_spectrum()
103 return spectrum; in setup_spectrum()
107 cleanup_spectrum (GstElement * spectrum) in cleanup_spectrum() argument
113 gst_check_teardown_src_pad (spectrum); in cleanup_spectrum()
114 gst_check_teardown_sink_pad (spectrum); in cleanup_spectrum()
115 gst_check_teardown_element (spectrum); in cleanup_spectrum()
[all …]
/third_party/gstreamer/gstplugins_good/tests/examples/spectrum/
Ddemo-osssrc.c56 GstElement *spectrum = GST_ELEMENT (user_data); in on_configure_event() local
63 g_object_set (G_OBJECT (spectrum), "bands", spect_bands, NULL); in on_configure_event()
123 GstElement *spectrum = GST_ELEMENT (GST_MESSAGE_SRC (message)); in message_handler() local
136 GstClockTime basetime = gst_element_get_base_time (spectrum); in message_handler()
163 GstElement *src, *spectrum, *sink; in main() local
174 spectrum = gst_element_factory_make ("spectrum", "spectrum"); in main()
175 g_object_set (G_OBJECT (spectrum), "bands", spect_bands, "threshold", -80, in main()
180 gst_bin_add_many (GST_BIN (bin), src, spectrum, sink, NULL); in main()
181 if (!gst_element_link_many (src, spectrum, sink, NULL)) { in main()
199 G_CALLBACK (on_configure_event), (gpointer) spectrum); in main()
Ddemo-audiotest.c80 update_spectrum_bands (GstElement * spectrum) in update_spectrum_bands() argument
91 g_object_set (G_OBJECT (spectrum), "bands", bands, NULL); in update_spectrum_bands()
170 GstElement *spectrum = GST_ELEMENT (GST_MESSAGE_SRC (message)); in message_handler() local
183 GstClockTime basetime = gst_element_get_base_time (spectrum); in message_handler()
210 GstElement *src, *spectrum, *audioconvert, *sink; in main() local
222 spectrum = gst_element_factory_make ("spectrum", "spectrum"); in main()
223 g_object_set (G_OBJECT (spectrum), "bands", spect_bands, "threshold", -80, in main()
230 gst_bin_add_many (GST_BIN (bin), src, spectrum, audioconvert, sink, NULL); in main()
231 if (!gst_element_link_many (src, spectrum, audioconvert, sink, NULL)) { in main()
250 G_CALLBACK (on_fast_slow_mode_changed), (gpointer) spectrum); in main()
[all …]
Dspectrum-example.c75 GstElement *src, *audioconvert, *spectrum, *sink; in main() local
89 spectrum = gst_element_factory_make ("spectrum", "spectrum"); in main()
90 g_object_set (G_OBJECT (spectrum), "bands", spect_bands, "threshold", -80, in main()
96 gst_bin_add_many (GST_BIN (bin), src, audioconvert, spectrum, sink, NULL); in main()
102 !gst_element_link_filtered (audioconvert, spectrum, caps) || in main()
103 !gst_element_link (spectrum, sink)) { in main()
Dmeson.build13 executable('spectrum-example', 'spectrum-example.c',
/third_party/libsnd/tests/
Ddft_cmp.c34 static void dft_magnitude (const double *data, double *spectrum) ;
101 dft_magnitude (const double *data, double *spectrum) in dft_magnitude() argument
125 spectrum [k] = sqrt (real_part * real_part + imag_part * imag_part) ; in dft_magnitude()
128 spectrum [DFT_SPEC_LENGTH - 1] = 0.0 ; in dft_magnitude()
130 spectrum [0] = spectrum [1] = spectrum [2] = 0.0 ; in dft_magnitude()
/third_party/ffmpeg/libavcodec/
Datrac1.c65 float* spectrum[2]; member
141 prev_buf = &su->spectrum[1][ref_pos + band_samples - 16]; in at1_imdct_block()
143 at1_imdct(q, &q->spec[pos], &su->spectrum[0][ref_pos + start_pos], nbits, band_num); in at1_imdct_block()
147 &su->spectrum[0][ref_pos + start_pos], ff_sine_32, 16); in at1_imdct_block()
149 prev_buf = &su->spectrum[0][ref_pos+start_pos + 16]; in at1_imdct_block()
155 memcpy(q->bands[band_num] + 32, &su->spectrum[0][ref_pos + 16], 240 * sizeof(float)); in at1_imdct_block()
161 FFSWAP(float*, su->spectrum[0], su->spectrum[1]); in at1_imdct_block()
376 q->SUs[0].spectrum[0] = q->SUs[0].spec1; in atrac1_decode_init()
377 q->SUs[0].spectrum[1] = q->SUs[0].spec2; in atrac1_decode_init()
378 q->SUs[1].spectrum[0] = q->SUs[1].spec1; in atrac1_decode_init()
[all …]
Daacsbr_template.c264 SpectrumParameters *spectrum) argument
307 sbr->k[0] = start_min + sbr_offset_ptr[spectrum->bs_start_freq];
309 if (spectrum->bs_stop_freq < 14) {
313 for (k = 0; k < spectrum->bs_stop_freq; k++)
315 } else if (spectrum->bs_stop_freq == 14) {
317 } else if (spectrum->bs_stop_freq == 15) {
321 "Invalid bs_stop_freq: %d\n", spectrum->bs_stop_freq);
342 if (!spectrum->bs_freq_scale) {
345 dk = spectrum->bs_alter_scale + 1;
366 int half_bands = 7 - spectrum->bs_freq_scale; // bs_freq_scale = {1,2,3}
[all …]
Datrac3.c84 DECLARE_ALIGNED(32, float, spectrum)[SAMPLES_PER_FRAME]; member
449 static int add_tonal_components(float *spectrum, int num_components, in add_tonal_components() argument
458 output = &spectrum[components[i].pos]; in add_tonal_components()
608 num_subbands = decode_spectrum(gb, snd->spectrum); in decode_channel_sound_unit()
611 last_tonal = add_tonal_components(snd->spectrum, snd->num_components, in decode_channel_sound_unit()
626 imlt(q, &snd->spectrum[band * 256], snd->imdct_buf, band & 1); in decode_channel_sound_unit()
Datrac3plus.h100 int16_t spectrum[2048]; ///< decoded IMDCT spectrum member
Dtwinvq.c388 tctx->spectrum + i * mtab->size, in imdct_output()
506 read_and_decode_spectrum(tctx, tctx->spectrum, in ff_twinvq_decode_frame()
551 !FF_ALLOC_TYPED_ARRAY(tctx->spectrum, table_size) || in init_mdct_win()
752 av_freep(&tctx->spectrum); in ff_twinvq_decode_close()
Dtwinvq.h158 float *spectrum; member
Datrac3plus.c770 memset(chan->spectrum, 0, sizeof(chan->spectrum)); in decode_spectrum()
789 &chan->spectrum[ff_atrac3p_qu_to_spec_pos[qu]], in decode_spectrum()
793 memcpy(&chan->spectrum[ff_atrac3p_qu_to_spec_pos[qu]], in decode_spectrum()
794 &ctx->channels[0].spectrum[ff_atrac3p_qu_to_spec_pos[qu]], in decode_spectrum()
796 sizeof(chan->spectrum[ff_atrac3p_qu_to_spec_pos[qu]])); in decode_spectrum()
Datrac3plusdec.c237 src = &ch_unit->channels[ch].spectrum[ff_atrac3p_qu_to_spec_pos[qu]]; in decode_residual_spectrum()
/third_party/gstreamer/gstplugins_good/tests/examples/equalizer/
Ddemo.c47 GstElement *spectrum = GST_ELEMENT (user_data); in on_configure_event() local
54 g_object_set (G_OBJECT (spectrum), "bands", spect_bands, NULL); in on_configure_event()
165 GstElement *capsfilter, *equalizer, *spectrum, *sinkconvert, *sink; in main() local
218 spectrum = gst_element_factory_make ("spectrum", "spectrum"); in main()
219 g_object_set (G_OBJECT (spectrum), "bands", spect_bands, "threshold", -80, in main()
227 spectrum, sinkconvert, sink, NULL); in main()
228 if (!gst_element_link_many (decconvert, capsfilter, equalizer, spectrum, in main()
252 G_CALLBACK (on_configure_event), (gpointer) spectrum); in main()
/third_party/skia/gm/
Dall_bitmap_configs.cpp62 uint8_t spectrum[256]; in make_bitmap() local
64 spectrum[y] = y; in make_bitmap()
68 memcpy(bm.getAddr8(0, y), &spectrum[y], 128); in make_bitmap()
/third_party/gstreamer/gstplugins_good/tests/examples/
Dmeson.build20 subdir('spectrum') subdir
/third_party/gstreamer/gstplugins_good/gst/
Dmeson.build7 'rtpmanager', 'rtsp', 'shapewipe', 'smpte', 'spectrum',
/third_party/skia/third_party/externals/opengl-registry/extensions/SGIX/
DSGIX_complex_polar.txt25 source. Computing the spectrum (magnitude) and the phase of a
/third_party/openGLES/extensions/SGIX/
DSGIX_complex_polar.txt25 source. Computing the spectrum (magnitude) and the phase of a
/third_party/icu/icu4j/perf-tests/data/conversion/
Denglish.txt18 …ucts and standards. The membership of the consortium represents a broad spectrum of corporations a…
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/docs/
DLOWERING.rst40 Note: There is a spectrum of *implementation complexity* versus *translation
42 spectrum representing very low complexity ("splat-isel"), pretty good code
/third_party/gstreamer/gstplugins_bad/gst/audiovisualizers/
DREADME59 - sources: audio, spectrum, audio-low, audio-mid, audio-hi

12