Home
last modified time | relevance | path

Searched refs:n_samples (Results 1 – 25 of 42) 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()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/
Dgstaudiostreamalign.c350 gboolean discont, GstClockTime timestamp, guint n_samples, in gst_audio_stream_align_process() argument
363 end_offset = start_offset + n_samples; in gst_audio_stream_align_process()
429 align->next_offset += n_samples; in gst_audio_stream_align_process()
437 if (align->next_offset > n_samples) in gst_audio_stream_align_process()
438 align->next_offset -= n_samples; in gst_audio_stream_align_process()
453 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
353 const int n_samples = s->sofa.n_samples; in sofalizer_convolute() local
402 temp_ir += n_samples; in sofalizer_convolute()
414 int len = FFMIN(n_samples - (read % ir_samples), buffer_length - read); in sofalizer_convolute()
417 memmove(temp_src + len, bptr, (n_samples - len) * sizeof(*temp_src)); in sofalizer_convolute()
422 temp_ir += n_samples; in sofalizer_convolute()
731 int n_samples; in load_data() local
753 s->sofa.n_samples = 1 << (32 - ff_clz(s->sofa.ir_samples)); in load_data()
755 n_samples = s->sofa.n_samples; in load_data()
759 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.c286 interaudiosrc->n_samples = 0; in gst_inter_audio_src_start()
357 gst_util_uint64_scale (interaudiosrc->n_samples, GST_SECOND, in gst_inter_audio_src_create()
359 interaudiosrc->n_samples = 0; in gst_inter_audio_src_create()
415 GST_BUFFER_OFFSET (buffer) = interaudiosrc->n_samples; in gst_inter_audio_src_create()
416 GST_BUFFER_OFFSET_END (buffer) = interaudiosrc->n_samples + n; in gst_inter_audio_src_create()
419 gst_util_uint64_scale (interaudiosrc->n_samples, GST_SECOND, in gst_inter_audio_src_create()
424 gst_util_uint64_scale (interaudiosrc->n_samples + n, GST_SECOND, in gst_inter_audio_src_create()
427 if (interaudiosrc->n_samples == 0) { in gst_inter_audio_src_create()
430 interaudiosrc->n_samples += n; in gst_inter_audio_src_create()
Dgstinteraudiosrc.h45 guint64 n_samples; member
/third_party/gstreamer/gstplugins_bad/gst/adpcmdec/
Dadpcmdec.c181 adpcmdec_decode_ms_block (ADPCMDec * dec, int n_samples, const guint8 * data, in adpcmdec_decode_ms_block() argument
219 for (; i < n_samples; i++) { in adpcmdec_decode_ms_block()
274 adpcmdec_decode_ima_block (ADPCMDec * dec, int n_samples, const guint8 * data, in adpcmdec_decode_ima_block() argument
283 if ((n_samples - dec->channels) % 8 != 0) { in adpcmdec_decode_ima_block()
301 while (i < n_samples) { in adpcmdec_decode_ima_block()
/third_party/gstreamer/gstplugins_bad/gst/audiomixmatrix/
Dgstaudiomixmatrix.c441 guint n_samples = outmap.size / (sizeof (gfloat) * outchannels); in gst_audio_mix_matrix_transform() local
446 for (sample = 0; sample < n_samples; sample++) { in gst_audio_mix_matrix_transform()
463 guint n_samples = outmap.size / (sizeof (gdouble) * outchannels); in gst_audio_mix_matrix_transform() local
468 for (sample = 0; sample < n_samples; sample++) { in gst_audio_mix_matrix_transform()
485 guint n_samples = outmap.size / (sizeof (gint16) * outchannels); in gst_audio_mix_matrix_transform() local
492 for (sample = 0; sample < n_samples; sample++) { in gst_audio_mix_matrix_transform()
508 guint n_samples = outmap.size / (sizeof (gint32) * outchannels); in gst_audio_mix_matrix_transform() local
515 for (sample = 0; sample < n_samples; sample++) { in gst_audio_mix_matrix_transform()
/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.c158 int n_samples = AUDIO_PKT_SIZE / 2; in read_packet_gme() local
167 if (gme_play(gme->music_emu, n_samples, (short *)pkt->data)) in read_packet_gme()
/third_party/gstreamer/gstplugins_good/gst/rtp/
Dgstrtpsbcdepay.c283 guint64 n_samples; in gst_rtp_sbc_depay_process() local
287 n_samples = in gst_rtp_sbc_depay_process()
297 initial_timestamp + gst_util_uint64_scale (n_samples, GST_SECOND, in gst_rtp_sbc_depay_process()
/third_party/gstreamer/gstplugins_good/gst/isomp4/
Dqtdemux.c902 if (result == NULL || str->n_samples == 0) in gst_qtdemux_find_index_for_given_media_offset_linear()
909 while (index < str->n_samples - 1) { in gst_qtdemux_find_index_for_given_media_offset_linear()
957 while (index < str->n_samples - 1) { in gst_qtdemux_find_index_linear()
999 if (index >= str->n_samples) { in gst_qtdemux_find_keyframe()
1000 new_index = str->n_samples; in gst_qtdemux_find_keyframe()
1011 while (new_index < str->n_samples) { in gst_qtdemux_find_keyframe()
1027 if (new_index == str->n_samples) { in gst_qtdemux_find_keyframe()
1099 str->n_samples); in gst_qtdemux_move_stream()
1630 if (!qtdemux_parse_samples (qtdemux, stream, stream->n_samples - 1)) { in qtdemux_ensure_index()
1781 i = str->n_samples - 1; in gst_qtdemux_find_sample()
[all …]
/third_party/vk-gl-cts/external/openglcts/modules/gles31/
Des31cTextureStorageMultisampleTexStorage3DMultisampleTests.cpp1257 for (glw::GLint n_samples = 1; n_samples <= max_supported_samples_value; n_samples++) in iterate() local
1265 GL_TEXTURE_2D_MULTISAMPLE_ARRAY_OES, n_samples, /* Iteration-specific sample value. */ in iterate()
Des31cTextureStorageMultisampleTexStorage2DMultisampleTests.cpp1286 for (int n_samples = 1; n_samples <= max_samples; ++n_samples) in iterate() local
1288 gl.texStorage2DMultisample(GL_TEXTURE_2D_MULTISAMPLE, n_samples, internalformat, 1, /* width */ in iterate()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cTextureViewTests.hpp522 unsigned int n_samples; member
546 n_samples = in_n_samples; in _reference_color_storage()
583 unsigned int n_samples);
Dgl4cTextureViewTests.cpp4784 DE_ASSERT(n_sample < m_reference_color_storage->n_samples); in getReferenceColor()
4791 m_reference_color_storage->n_samples) + in getReferenceColor()
4792 n_face * (m_reference_color_storage->n_mipmaps * m_reference_color_storage->n_samples) + in getReferenceColor()
4793 n_mipmap * (m_reference_color_storage->n_samples) + n_sample; in getReferenceColor()
5678 const unsigned int n_samples = in initParentTextureContents() local
5681 for (unsigned int n_sample = 0; n_sample < n_samples; ++n_sample) in initParentTextureContents()
5694 gl.uniform4fv(m_per_sample_filler_po_reference_colors_location, n_samples, reference_colors); in initParentTextureContents()
6390 unsigned int n_mipmaps, unsigned int n_samples) in resetReferenceColorStorage() argument
6396 DE_ASSERT(n_samples >= 1); in resetReferenceColorStorage()
6402 m_reference_color_storage = new _reference_color_storage(n_faces, n_layers, n_mipmaps, n_samples); in resetReferenceColorStorage()
[all …]
/third_party/gstreamer/gstplugins_bad/gst/audiobuffersplit/
Dgstaudiobuffersplit.c589 guint n_samples = MIN (silence_samples, rate); in gst_audio_buffer_split_handle_discont() local
593 silence = gst_buffer_new_and_alloc (n_samples * bpf); in gst_audio_buffer_split_handle_discont()
606 silence_samples -= n_samples; in gst_audio_buffer_split_handle_discont()

12