Home
last modified time | relevance | path

Searched refs:n_samples (Results 1 – 25 of 36) sorted by relevance

12

/third_party/gstreamer/gstplugins_good/gst/replaygain/
Drganalysis.c288 const gfloat * input_r, guint n_samples) in apply_filters() argument
297 for (i = 0; i < n_samples; i++, pos++) { in apply_filters()
517 guint n_samples = size / sizeof (gfloat); in rg_analysis_analyze_mono_float() local
523 while (n_samples) { in rg_analysis_analyze_mono_float()
524 gint n = MIN (n_samples, G_N_ELEMENTS (conv_samples)); in rg_analysis_analyze_mono_float()
526 n_samples -= n; in rg_analysis_analyze_mono_float()
577 guint n_samples = size / sizeof (gint16); in rg_analysis_analyze_mono_int16() local
584 while (n_samples) { in rg_analysis_analyze_mono_int16()
585 gint n = MIN (n_samples, G_N_ELEMENTS (conv_samples)); in rg_analysis_analyze_mono_int16()
587 n_samples -= n; in rg_analysis_analyze_mono_int16()
[all …]
Drganalysis.h46 const gfloat * samples_r, guint n_samples);
/third_party/boost/libs/math/test/
Dtest_autodiff_6.cpp21 for (auto i : boost::irange(test_constants::n_samples)) { in BOOST_AUTO_TEST_CASE_TEMPLATE()
41 for (auto i : boost::irange(test_constants::n_samples)) { in BOOST_AUTO_TEST_CASE_TEMPLATE()
70 for (auto i : boost::irange(test_constants::n_samples)) { in BOOST_AUTO_TEST_CASE_TEMPLATE()
91 for (auto i : boost::irange(test_constants::n_samples)) { in BOOST_AUTO_TEST_CASE_TEMPLATE()
119 for (auto i : boost::irange(test_constants::n_samples)) { in BOOST_AUTO_TEST_CASE_TEMPLATE()
147 for (auto i : boost::irange(test_constants::n_samples)) { in BOOST_AUTO_TEST_CASE_TEMPLATE()
183 for (auto i : boost::irange(test_constants::n_samples)) { in BOOST_AUTO_TEST_CASE_TEMPLATE()
210 for (auto i : boost::irange(test_constants::n_samples)) { in BOOST_AUTO_TEST_CASE_TEMPLATE()
234 for (auto i : boost::irange(test_constants::n_samples)) { in BOOST_AUTO_TEST_CASE_TEMPLATE()
251 for (auto i : boost::irange(test_constants::n_samples)) { in BOOST_AUTO_TEST_CASE_TEMPLATE()
[all …]
Dtest_autodiff_5.cpp21 for (auto i : boost::irange(test_constants::n_samples)) { in BOOST_AUTO_TEST_CASE_TEMPLATE()
41 for (auto i : boost::irange(test_constants::n_samples)) { in BOOST_AUTO_TEST_CASE_TEMPLATE()
55 for (auto i : boost::irange(test_constants::n_samples)) { in BOOST_AUTO_TEST_CASE_TEMPLATE()
95 for (auto i : boost::irange(test_constants::n_samples)) { in BOOST_AUTO_TEST_CASE_TEMPLATE()
111 for (auto i : boost::irange(test_constants::n_samples)) { in BOOST_AUTO_TEST_CASE_TEMPLATE()
Dtest_autodiff_8.cpp29 for (auto i : boost::irange(test_constants::n_samples)) { in BOOST_AUTO_TEST_CASE_TEMPLATE()
45 for (auto i : boost::irange(test_constants::n_samples)) { in BOOST_AUTO_TEST_CASE_TEMPLATE()
61 for (auto i : boost::irange(test_constants::n_samples)) { in BOOST_AUTO_TEST_CASE_TEMPLATE()
122 for (auto i : boost::irange(test_constants::n_samples)) { in BOOST_AUTO_TEST_CASE_TEMPLATE()
143 for (auto i : boost::irange(test_constants::n_samples)) { in BOOST_AUTO_TEST_CASE_TEMPLATE()
178 for (auto i : boost::irange(test_constants::n_samples)) { in BOOST_AUTO_TEST_CASE_TEMPLATE()
221 for (auto i : boost::irange(test_constants::n_samples)) { in BOOST_AUTO_TEST_CASE_TEMPLATE()
239 for (auto i : boost::irange(test_constants::n_samples)) { in BOOST_AUTO_TEST_CASE_TEMPLATE()
305 for (auto i : boost::irange(test_constants::n_samples)) { in BOOST_AUTO_TEST_CASE_TEMPLATE()
358 for (auto i : boost::irange(test_constants::n_samples)) { in BOOST_AUTO_TEST_CASE_TEMPLATE()
[all …]
Dtest_autodiff_4.cpp92 for (auto i : boost::irange(test_constants::n_samples)) { in BOOST_AUTO_TEST_CASE_TEMPLATE()
108 for (auto i : boost::irange(test_constants::n_samples)) { in BOOST_AUTO_TEST_CASE_TEMPLATE()
128 for (auto i : boost::irange(test_constants::n_samples)) { in BOOST_AUTO_TEST_CASE_TEMPLATE()
156 for (auto i : boost::irange(test_constants::n_samples)) { in BOOST_AUTO_TEST_CASE_TEMPLATE()
177 for (auto i : boost::irange(test_constants::n_samples)) { in BOOST_AUTO_TEST_CASE_TEMPLATE()
Dtest_autodiff_7.cpp17 for (auto i : boost::irange(test_constants::n_samples)) { in BOOST_AUTO_TEST_CASE_TEMPLATE()
41 for (auto i : boost::irange(test_constants::n_samples)) { in BOOST_AUTO_TEST_CASE_TEMPLATE()
Dtest_autodiff.hpp75 …static constexpr auto n_samples = if_t<mp11::mp_or<bmp::is_number<T>, bmp::is_number_expression<T>… member
/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/
Dgstaudiostreamalign.c343 gboolean discont, GstClockTime timestamp, guint n_samples, in gst_audio_stream_align_process() argument
356 end_offset = start_offset + n_samples; in gst_audio_stream_align_process()
422 align->next_offset += n_samples; in gst_audio_stream_align_process()
430 if (align->next_offset > n_samples) in gst_audio_stream_align_process()
431 align->next_offset -= n_samples; in gst_audio_stream_align_process()
446 align->samples_since_discont += n_samples; in gst_audio_stream_align_process()
Daudio-buffer.c125 buffer->n_samples = meta->samples; in gst_audio_buffer_map()
127 buffer->n_samples = in gst_audio_buffer_map()
157 if (buffer->n_samples == 0) { in gst_audio_buffer_map()
Daudio-buffer.h53 gsize n_samples; member
87 #define GST_AUDIO_BUFFER_N_SAMPLES(b) ((b)->n_samples)
Dgstaudiostreamalign.h85 guint n_samples,
/third_party/ffmpeg/libavfilter/
Daf_sofalizer.c50 int n_samples; /* ir_samples to next power of 2 */ member
344 const int n_samples = s->sofa.n_samples; in sofalizer_convolute() local
393 temp_ir += n_samples; in sofalizer_convolute()
405 int len = FFMIN(n_samples - (read % ir_samples), buffer_length - read); in sofalizer_convolute()
408 memmove(temp_src + len, bptr, (n_samples - len) * sizeof(*temp_src)); in sofalizer_convolute()
413 temp_ir += n_samples; in sofalizer_convolute()
722 int n_samples; in load_data() local
744 s->sofa.n_samples = 1 << (32 - ff_clz(s->sofa.ir_samples)); in load_data()
746 n_samples = s->sofa.n_samples; in load_data()
750 s->data_ir[0] = av_calloc(n_samples, sizeof(float) * s->n_conv); in load_data()
[all …]
/third_party/gstreamer/gstplugins_bad/gst/inter/
Dgstinteraudiosrc.c284 interaudiosrc->n_samples = 0; in gst_inter_audio_src_start()
355 gst_util_uint64_scale (interaudiosrc->n_samples, GST_SECOND, in gst_inter_audio_src_create()
357 interaudiosrc->n_samples = 0; in gst_inter_audio_src_create()
413 GST_BUFFER_OFFSET (buffer) = interaudiosrc->n_samples; in gst_inter_audio_src_create()
414 GST_BUFFER_OFFSET_END (buffer) = interaudiosrc->n_samples + n; in gst_inter_audio_src_create()
417 gst_util_uint64_scale (interaudiosrc->n_samples, GST_SECOND, in gst_inter_audio_src_create()
422 gst_util_uint64_scale (interaudiosrc->n_samples + n, GST_SECOND, in gst_inter_audio_src_create()
425 if (interaudiosrc->n_samples == 0) { in gst_inter_audio_src_create()
428 interaudiosrc->n_samples += n; in gst_inter_audio_src_create()
Dgstinteraudiosrc.h45 guint64 n_samples; member
/third_party/gstreamer/gstplugins_bad/gst/adpcmdec/
Dadpcmdec.c176 adpcmdec_decode_ms_block (ADPCMDec * dec, int n_samples, const guint8 * data, in adpcmdec_decode_ms_block() argument
214 for (; i < n_samples; i++) { in adpcmdec_decode_ms_block()
269 adpcmdec_decode_ima_block (ADPCMDec * dec, int n_samples, const guint8 * data, in adpcmdec_decode_ima_block() argument
278 if ((n_samples - dec->channels) % 8 != 0) { in adpcmdec_decode_ima_block()
296 while (i < n_samples) { in adpcmdec_decode_ima_block()
/third_party/ffmpeg/libavformat/
Dlibopenmpt.c172 int n_samples = AUDIO_PKT_SIZE / (openmpt->channels ? openmpt->channels*4 : 4); in read_packet_openmpt() local
181 n_samples, (float *)pkt->data); in read_packet_openmpt()
185 n_samples, (float *)pkt->data); in read_packet_openmpt()
189 n_samples, (float *)pkt->data); in read_packet_openmpt()
Dlibgme.c140 int n_samples = AUDIO_PKT_SIZE / 2; in read_packet_gme() local
149 if (gme_play(gme->music_emu, n_samples, (short *)pkt->data)) in read_packet_gme()
/third_party/gstreamer/gstplugins_bad/gst/audiomixmatrix/
Dgstaudiomixmatrix.c437 guint n_samples = outmap.size / (sizeof (gfloat) * outchannels); in gst_audio_mix_matrix_transform() local
442 for (sample = 0; sample < n_samples; sample++) { in gst_audio_mix_matrix_transform()
459 guint n_samples = outmap.size / (sizeof (gdouble) * outchannels); in gst_audio_mix_matrix_transform() local
464 for (sample = 0; sample < n_samples; sample++) { in gst_audio_mix_matrix_transform()
481 guint n_samples = outmap.size / (sizeof (gint16) * outchannels); in gst_audio_mix_matrix_transform() local
488 for (sample = 0; sample < n_samples; sample++) { in gst_audio_mix_matrix_transform()
504 guint n_samples = outmap.size / (sizeof (gint32) * outchannels); in gst_audio_mix_matrix_transform() local
511 for (sample = 0; sample < n_samples; sample++) { in gst_audio_mix_matrix_transform()
/third_party/gstreamer/gstplugins_good/gst/rtp/
Dgstrtpsbcdepay.c280 guint64 n_samples; in gst_rtp_sbc_depay_process() local
284 n_samples = in gst_rtp_sbc_depay_process()
294 initial_timestamp + gst_util_uint64_scale (n_samples, GST_SECOND, in gst_rtp_sbc_depay_process()
/third_party/gstreamer/gstplugins_good/gst/isomp4/
Dqtdemux.c313 guint32 n_samples; member
1115 if (result == NULL || str->n_samples == 0) in gst_qtdemux_find_index_for_given_media_offset_linear()
1122 while (index < str->n_samples - 1) { in gst_qtdemux_find_index_for_given_media_offset_linear()
1170 while (index < str->n_samples - 1) { in gst_qtdemux_find_index_linear()
1212 if (index >= str->n_samples) { in gst_qtdemux_find_keyframe()
1213 new_index = str->n_samples; in gst_qtdemux_find_keyframe()
1224 while (new_index < str->n_samples) { in gst_qtdemux_find_keyframe()
1240 if (new_index == str->n_samples) { in gst_qtdemux_find_keyframe()
1312 str->n_samples); in gst_qtdemux_move_stream()
1758 if (!qtdemux_parse_samples (qtdemux, stream, stream->n_samples - 1)) { in qtdemux_ensure_index()
[all …]
/third_party/gstreamer/gstplugins_bad/gst/audiobuffersplit/
Dgstaudiobuffersplit.c529 guint n_samples = MIN (silence_samples, rate); in gst_audio_buffer_split_handle_discont() local
533 silence = gst_buffer_new_and_alloc (n_samples * bpf); in gst_audio_buffer_split_handle_discont()
546 silence_samples -= n_samples; in gst_audio_buffer_split_handle_discont()
/third_party/pulseaudio/src/pulsecore/
Dresampler.c1436 unsigned n_samples, n_frames; in convert_from_work_format() local
1448 n_samples = (unsigned) (input->length / r->w_sz); in convert_from_work_format()
1449 n_frames = n_samples / r->o_ss.channels; in convert_from_work_format()
1454 r->from_work_format_func(n_samples, src, dst); in convert_from_work_format()
/third_party/gstreamer/gstplugins_base/gst/audioconvert/
Dgstaudioconvert.c842 dstabuf.n_samples, dstabuf.planes, dstabuf.n_samples)) in gst_audio_convert_transform()
/third_party/gstreamer/gstplugins_bad/sys/androidmedia/
Dgstamcaudiodec.c528 gint i, n_samples, c, n_channels; in gst_amc_audio_dec_loop() local
534 n_samples = buffer_info.size / self->info.bpf; in gst_amc_audio_dec_loop()
537 for (i = 0; i < n_samples; i++) { in gst_amc_audio_dec_loop()

12