Home
last modified time | relevance | path

Searched refs:SPA_MIN (Results 1 – 25 of 86) sorted by relevance

1234

/dports/multimedia/pipewire/pipewire-0.3.43/spa/include/spa/utils/
H A Dringbuffer.h112 uint32_t l0 = SPA_MIN(len, size - offset), l1 = len - l0; in spa_ringbuffer_read_data()
162 uint32_t l0 = SPA_MIN(len, size - offset), l1 = len - l0; in spa_ringbuffer_write_data()
H A Ddefs.h130 #define SPA_MIN(a,b) \ macro
147 SPA_MIN(SPA_MAX(_v, _low), _high); \
/dports/www/firefox/firefox-99.0/third_party/pipewire/spa/utils/
H A Dringbuffer.h102 uint32_t l0 = SPA_MIN(len, size - offset), l1 = len - l0; in spa_ringbuffer_read_data()
152 uint32_t l0 = SPA_MIN(len, size - offset), l1 = len - l0; in spa_ringbuffer_write_data()
H A Ddefs.h78 #define SPA_MIN(a,b) \ macro
95 SPA_MIN(SPA_MAX(_v, _low), _high); \
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/pipewire/spa/utils/
H A Dringbuffer.h102 uint32_t l0 = SPA_MIN(len, size - offset), l1 = len - l0; in spa_ringbuffer_read_data()
152 uint32_t l0 = SPA_MIN(len, size - offset), l1 = len - l0; in spa_ringbuffer_write_data()
H A Ddefs.h78 #define SPA_MIN(a,b) \ macro
95 SPA_MIN(SPA_MAX(_v, _low), _high); \
/dports/www/firefox-esr/firefox-91.8.0/third_party/pipewire/spa/utils/
H A Dringbuffer.h102 uint32_t l0 = SPA_MIN(len, size - offset), l1 = len - l0; in spa_ringbuffer_read_data()
152 uint32_t l0 = SPA_MIN(len, size - offset), l1 = len - l0; in spa_ringbuffer_write_data()
H A Ddefs.h78 #define SPA_MIN(a,b) \ macro
95 SPA_MIN(SPA_MAX(_v, _low), _high); \
/dports/multimedia/pipewire/pipewire-0.3.43/src/modules/module-filter-chain/
H A Dconvolver.c198 int copy = SPA_MIN(conv->blockSize, left); in convolver1_new()
257 const int processing = SPA_MIN(len - processed, conv->blockSize - conv->inputBufferFill); in convolver1_run()
377 head_ir_len = SPA_MIN(irlen, conv->tailBlockSize); in convolver_new()
381 int conv1IrLen = SPA_MIN(irlen - conv->tailBlockSize, conv->tailBlockSize); in convolver_new()
429 …int processing = SPA_MIN(remaining, conv->headBlockSize - (conv->tailInputFill % conv->headBlockSi… in convolver_run()
H A Dbuiltin_plugin.c492 length = SPA_MIN(length, info.frames); in read_samples()
494 length -= SPA_MIN(offset, length); in read_samples()
536 length -= SPA_MIN(offset, length); in create_hilbert()
/dports/multimedia/pipewire/pipewire-0.3.43/src/modules/
H A Dmodule-pulse-tunnel.c204 size = SPA_MIN(bd->chunk->size, RINGBUFFER_SIZE); in playback_stream_process()
248 size = SPA_MIN(bd->maxsize, req); in capture_stream_process()
251 size = SPA_MIN(bd->maxsize, (uint32_t)avail); in capture_stream_process()
252 size = SPA_MIN(size, req); in capture_stream_process()
406 uint32_t to_write = SPA_MIN(nbytes, sizeof(impl->empty)); in stream_read_request_cb()
433 len = SPA_MIN(length - avail, sizeof(impl->empty)); in stream_write_request_cb()
443 l0 = SPA_MIN(len, RINGBUFFER_SIZE - offset); in stream_write_request_cb()
H A Dmodule-rtkit.c486 rl.rlim_cur = SPA_MIN(rl.rlim_cur, (rlim_t)rttime); in set_rlimit()
487 rl.rlim_max = SPA_MIN(rl.rlim_max, (rlim_t)rttime); in set_rlimit()
611 rtprio = SPA_MIN(rtprio, priority); in impl_acquire_rt()
/dports/multimedia/pipewire/pipewire-0.3.43/src/modules/module-protocol-pulse/
H A Dsample-play.c113 size = SPA_MIN(size, buf->datas[0].maxsize); in sample_play_stream_process()
115 size = SPA_MIN(size, p->rate_match->size * p->stride); in sample_play_stream_process()
/dports/multimedia/pipewire/pipewire-0.3.43/spa/plugins/bluez5/
H A Dsco-io.c127 res = read(io->fd, io->read_buffer, SPA_MIN(io->read_mtu, MAX_MTU)); in sco_io_on_ready()
194 packet_size = SPA_MIN(io->write_mtu, io->read_size); in spa_bt_sco_io_write()
H A Da2dp-codec-aac.c122 return SPA_MIN(AAC_GET_BITRATE(*conf), DEFAULT_AAC_BITRATE); in get_valid_aac_bitrate()
381 this->max_bitrate = SPA_MIN(this->max_bitrate, get_valid_aac_bitrate(conf)); in codec_init()
514 new_bitrate = SPA_MIN(new_bitrate, this->max_bitrate); in codec_change_bitrate()
/dports/multimedia/pipewire/pipewire-0.3.43/pipewire-alsa/alsa-plugins/
H A Dpcm_pipewire.c234 *delayp = filled - SPA_MIN(elapsed, filled); in snd_pcm_pipewire_delay()
262 size = SPA_MIN(d[bl].maxsize, pw->min_avail * pw->stride); in snd_pcm_pipewire_process()
264 offset = SPA_MIN(d[bl].chunk->offset, d[bl].maxsize); in snd_pcm_pipewire_process()
265 size = SPA_MIN(d[bl].chunk->size, d[bl].maxsize - offset); in snd_pcm_pipewire_process()
267 want = SPA_MIN(want, size / pw->stride); in snd_pcm_pipewire_process()
269 nframes = SPA_MIN(want, *hw_avail); in snd_pcm_pipewire_process()
276 offset = SPA_MIN(d[0].chunk->offset, d[0].maxsize); in snd_pcm_pipewire_process()
290 offset = SPA_MIN(d[channel].chunk->offset, d[channel].maxsize); in snd_pcm_pipewire_process()
435 pw->time.delay -= SPA_MIN(pw->time.delay, (int64_t)xfer); in on_stream_process()
/dports/multimedia/pipewire/pipewire-0.3.43/spa/plugins/audioconvert/
H A Dresample-native.c247 refill = SPA_MIN(*in_len, n_taps-1); in impl_native_process()
358 scale = SPA_MIN(q->cutoff * out_rate / in_rate, 1.0); in resample_native_init()
361 n_taps = SPA_MIN(n_taps, 1u << 18); in resample_native_init()
H A Dresample-peaks-sse.c65 chunk = SPA_MIN(end, *in_len); in resample_peaks_process_sse()
H A Dresample-peaks.c53 chunk = SPA_MIN(end, *in_len); in resample_peaks_process_c()
H A Dfmtconvert.c955 offs = SPA_MIN(sd->chunk->offset, sd->maxsize); in impl_node_process()
956 size = SPA_MIN(size, SPA_MIN(sd->maxsize - offs, sd->chunk->size)); in impl_node_process()
962 n_samples = SPA_MIN(n_samples, maxsize / outport->stride); in impl_node_process()
/dports/multimedia/pipewire/media-session-0.4.1/src/
H A Dmatch-rules.c64 spa_json_parse_string(value, SPA_MIN(len, 1023), val); in find_match()
/dports/multimedia/pipewire/pipewire-0.3.43/spa/plugins/volume/
H A Dvolume.c640 savail = SPA_MIN(sd[0].chunk->size, sd[0].maxsize); in do_volume()
646 towrite = SPA_MIN(savail, davail); in do_volume()
656 n_bytes = SPA_MIN(towrite, sd[0].maxsize - soffset); in do_volume()
657 n_bytes = SPA_MIN(n_bytes, dd[0].maxsize - doffset); in do_volume()
/dports/multimedia/pipewire/pipewire-0.3.43/src/pipewire/
H A Dintrospect.c219 for (i = 0; i < SPA_MIN(info->n_params, n_params); i++) { in pw_node_info_merge()
284 for (i = 0; i < SPA_MIN(info->n_params, n_params); i++) { in pw_port_info_merge()
439 for (i = 0; i < SPA_MIN(info->n_params, n_params); i++) { in pw_device_info_merge()
/dports/multimedia/pipewire/pipewire-0.3.43/spa/include/spa/pod/
H A Diter.h351 n_values = SPA_MIN(n_values, max_values); in spa_pod_copy_array()
367 *n_vals = SPA_MIN(1u, SPA_POD_CHOICE_N_VALUES(pod)); in spa_pod_get_values()
/dports/multimedia/pipewire/pipewire-0.3.43/src/examples/
H A Dvideo-play.c176 ostride = SPA_MIN(cstride, mb->stride); in on_process()
207 ostride = SPA_MIN(sstride, dstride); in on_process()

1234