/third_party/pulseaudio/src/pulsecore/ |
D | mix.c | 68 static void calc_linear_integer_stream_volumes(pa_mix_info streams[], unsigned nstreams, const pa_c… in calc_linear_integer_stream_volumes() argument 78 for (k = 0; k < nstreams; k++) { in calc_linear_integer_stream_volumes() 87 static void calc_linear_float_stream_volumes(pa_mix_info streams[], unsigned nstreams, const pa_cvo… in calc_linear_float_stream_volumes() argument 97 for (k = 0; k < nstreams; k++) { in calc_linear_float_stream_volumes() 106 typedef void (*pa_calc_stream_volumes_func_t) (pa_mix_info streams[], unsigned nstreams, const pa_c… 192 static void pa_mix_ch2_s16ne(pa_mix_info streams[], unsigned nstreams, int16_t *data, unsigned leng… in pa_mix_ch2_s16ne() argument 200 for (i = 0; i < nstreams; i++) { in pa_mix_ch2_s16ne() 217 static void pa_mix_generic_s16ne(pa_mix_info streams[], unsigned nstreams, unsigned channels, int16… in pa_mix_generic_s16ne() argument 226 for (i = 0; i < nstreams; i++) { in pa_mix_generic_s16ne() 243 static void pa_mix_s16ne_c(pa_mix_info streams[], unsigned nstreams, unsigned channels, int16_t *da… in pa_mix_s16ne_c() argument [all …]
|
D | mix_neon.c | 33 static void pa_mix_ch2_s16ne_neon(pa_mix_info streams[], unsigned nstreams, uint8_t *data, unsigned… in pa_mix_ch2_s16ne_neon() argument 49 for (i = 0; i < nstreams; i++) { in pa_mix_ch2_s16ne_neon() 80 fallback(streams, nstreams, 2, data, length & mask); in pa_mix_ch2_s16ne_neon() 205 static void pa_mix_s16ne_neon(pa_mix_info streams[], unsigned nstreams, unsigned nchannels, void *d… in pa_mix_s16ne_neon() argument 206 if (nstreams == 2 && nchannels == 2) in pa_mix_s16ne_neon() 208 else if (nstreams == 2 && nchannels == 4) in pa_mix_s16ne_neon() 210 else if (nstreams == 2 && nchannels == 1) in pa_mix_s16ne_neon() 213 pa_mix_ch2_s16ne_neon(streams, nstreams, data, length); in pa_mix_s16ne_neon() 215 fallback(streams, nstreams, nchannels, data, length); in pa_mix_s16ne_neon()
|
D | mix.h | 52 typedef void (*pa_do_mix_func_t) (pa_mix_info streams[], unsigned nstreams, unsigned channels, void…
|
/third_party/ffmpeg/libavformat/ |
D | oggdec.c | 86 av_malloc(sizeof(*ost) + (ogg->nstreams - 1) * sizeof(*ogg->streams)); in ogg_save() 96 ost->nstreams = ogg->nstreams; in ogg_save() 97 memcpy(ost->streams, ogg->streams, ogg->nstreams * sizeof(*ogg->streams)); in ogg_save() 99 for (i = 0; i < ogg->nstreams; i++) { in ogg_save() 130 for (i = 0; i < ogg->nstreams; i++) { in ogg_restore() 135 if (i >= ost->nstreams || !ost->streams[i].private) { in ogg_restore() 143 ogg->nstreams = ost->nstreams; in ogg_restore() 144 if ((err = av_reallocp_array(&ogg->streams, ogg->nstreams, in ogg_restore() 146 ogg->nstreams = 0; in ogg_restore() 150 ost->nstreams * sizeof(*ogg->streams)); in ogg_restore() [all …]
|
D | oggdec.h | 98 int nstreams; member 104 int nstreams; member 144 for (i = 0; i < ogg->nstreams; i++) in ogg_find_stream()
|
/third_party/pulseaudio/src/tests/ |
D | cpu-mix-test.c | 36 static void acquire_mix_streams(pa_mix_info streams[], unsigned nstreams) { in acquire_mix_streams() argument 39 for (i = 0; i < nstreams; i++) in acquire_mix_streams() 43 static void release_mix_streams(pa_mix_info streams[], unsigned nstreams) { in release_mix_streams() argument 46 for (i = 0; i < nstreams; i++) in release_mix_streams()
|
/third_party/gstreamer/gstplugins_good/sys/osxaudio/ |
D | gstosxcoreaudiohal.c | 391 _audio_device_get_streams (AudioDeviceID device_id, gint * nstreams) in _audio_device_get_streams() argument 410 *nstreams = propertySize / sizeof (AudioStreamID); in _audio_device_get_streams() 419 *nstreams = 0; in _audio_device_get_streams() 821 gint i, j, nstreams = 0; in _acquire_spdif() local 827 streams = _audio_device_get_streams (core_audio->device_id, &nstreams); in _acquire_spdif() 829 for (i = 0; i < nstreams; i++) { in _acquire_spdif() 1270 gint i, nstreams = 0; in gst_core_audio_audio_device_is_spdif_avail_impl() local 1273 streams = _audio_device_get_streams (device_id, &nstreams); in gst_core_audio_audio_device_is_spdif_avail_impl() 1274 GST_DEBUG ("found %d streams", nstreams); in gst_core_audio_audio_device_is_spdif_avail_impl() 1276 for (i = 0; i < nstreams; i++) { in gst_core_audio_audio_device_is_spdif_avail_impl()
|
/third_party/gstreamer/gstplugins_base/tests/check/elements/ |
D | playbin.c | 86 gint nstreams; in GST_START_TEST() local 120 g_object_get (playbin, "n-video", &nstreams, NULL); in GST_START_TEST() 121 fail_unless_equals_int (nstreams, 1); in GST_START_TEST() 123 g_object_get (playbin, "n-audio", &nstreams, NULL); in GST_START_TEST() 124 fail_unless_equals_int (nstreams, 0); in GST_START_TEST() 126 g_object_get (playbin, "n-text", &nstreams, NULL); in GST_START_TEST() 127 fail_unless_equals_int (nstreams, 0); in GST_START_TEST()
|
/third_party/gstreamer/gstplugins_good/gst/rtpmanager/ |
D | gstrtpbin.c | 550 guint nstreams; member 1431 client->nstreams++; in gst_rtp_bin_associate() 1615 if (client->nstreams <= 1) in gst_rtp_bin_associate() 1978 if (--client->nstreams == 0) { in free_stream()
|