Home
last modified time | relevance | path

Searched refs:nstreams (Results 1 - 6 of 6) sorted by relevance

/third_party/pulseaudio/src/pulsecore/
H A Dmix.c68 static void calc_linear_integer_stream_volumes(pa_mix_info streams[], unsigned nstreams, const pa_cvolume *volume, const pa_sample_spec *spec) { 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_cvolume *volume, const pa_sample_spec *spec) { 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_cvolume *volume, const pa_sample_spec *spec);
192 static void pa_mix_ch2_s16ne(pa_mix_info streams[], unsigned nstreams, int16_t *data, unsigned length) { 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_t *data, unsigned length) { 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, unsigne argument
256 pa_mix_s16re_c(pa_mix_info streams[], unsigned nstreams, unsigned channels, int16_t *data, unsigned length) pa_mix_s16re_c() argument
282 pa_mix_s32ne_c(pa_mix_info streams[], unsigned nstreams, unsigned channels, int32_t *data, unsigned length) pa_mix_s32ne_c() argument
312 pa_mix_s32re_c(pa_mix_info streams[], unsigned nstreams, unsigned channels, int32_t *data, unsigned length) pa_mix_s32re_c() argument
342 pa_mix_s24ne_c(pa_mix_info streams[], unsigned nstreams, unsigned channels, uint8_t *data, unsigned length) pa_mix_s24ne_c() argument
370 pa_mix_s24re_c(pa_mix_info streams[], unsigned nstreams, unsigned channels, uint8_t *data, unsigned length) pa_mix_s24re_c() argument
398 pa_mix_s24_32ne_c(pa_mix_info streams[], unsigned nstreams, unsigned channels, uint32_t *data, unsigned length) pa_mix_s24_32ne_c() argument
428 pa_mix_s24_32re_c(pa_mix_info streams[], unsigned nstreams, unsigned channels, uint32_t *data, unsigned length) pa_mix_s24_32re_c() argument
458 pa_mix_u8_c(pa_mix_info streams[], unsigned nstreams, unsigned channels, uint8_t *data, unsigned length) pa_mix_u8_c() argument
487 pa_mix_ulaw_c(pa_mix_info streams[], unsigned nstreams, unsigned channels, uint8_t *data, unsigned length) pa_mix_ulaw_c() argument
513 pa_mix_alaw_c(pa_mix_info streams[], unsigned nstreams, unsigned channels, uint8_t *data, unsigned length) pa_mix_alaw_c() argument
539 pa_mix_float32ne_c(pa_mix_info streams[], unsigned nstreams, unsigned channels, float *data, unsigned length) pa_mix_float32ne_c() argument
567 pa_mix_float32re_c(pa_mix_info streams[], unsigned nstreams, unsigned channels, float *data, unsigned length) pa_mix_float32re_c() argument
615 pa_mix( pa_mix_info streams[], unsigned nstreams, void *data, size_t length, const pa_sample_spec *spec, const pa_cvolume *volume, bool mute) pa_mix() argument
[all...]
H A Dmix_neon.c33 static void pa_mix_ch2_s16ne_neon(pa_mix_info streams[], unsigned nstreams, uint8_t *data, unsigned length) { 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 *data, unsigned length) { 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()
H A Dmix.h52 typedef void (*pa_do_mix_func_t) (pa_mix_info streams[], unsigned nstreams, unsigned channels, void *data, unsigned length);
/third_party/ffmpeg/libavformat/
H A Doggdec.c86 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()
[all...]
H A Doggdec.h97 int nstreams; member
103 int nstreams; member
159 for (i = 0; i < ogg->nstreams; i++) in ogg_find_stream()
/third_party/pulseaudio/src/tests/
H A Dcpu-mix-test.c36 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()

Completed in 4 milliseconds