/dports/multimedia/pipewire/pipewire-0.3.43/spa/include/spa/utils/ |
H A D | ringbuffer.h | 112 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 D | defs.h | 130 #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 D | ringbuffer.h | 102 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 D | defs.h | 78 #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 D | ringbuffer.h | 102 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 D | defs.h | 78 #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 D | ringbuffer.h | 102 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 D | defs.h | 78 #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 D | convolver.c | 198 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 D | builtin_plugin.c | 492 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 D | module-pulse-tunnel.c | 204 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 D | module-rtkit.c | 486 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 D | sample-play.c | 113 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 D | sco-io.c | 127 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 D | a2dp-codec-aac.c | 122 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 D | pcm_pipewire.c | 234 *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 D | resample-native.c | 247 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 D | resample-peaks-sse.c | 65 chunk = SPA_MIN(end, *in_len); in resample_peaks_process_sse()
|
H A D | resample-peaks.c | 53 chunk = SPA_MIN(end, *in_len); in resample_peaks_process_c()
|
H A D | fmtconvert.c | 955 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 D | match-rules.c | 64 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 D | volume.c | 640 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 D | introspect.c | 219 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 D | iter.h | 351 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 D | video-play.c | 176 ostride = SPA_MIN(cstride, mb->stride); in on_process() 207 ostride = SPA_MIN(sstride, dstride); in on_process()
|