/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/ |
D | gstaudioringbuffer.c | 187 spec->segsize, (bpf != 0) ? (spec->segsize / bpf) : -1); in gst_audio_ring_buffer_debug_spec_buff() 189 spec->segsize * spec->segtotal, in gst_audio_ring_buffer_debug_spec_buff() 190 (bpf != 0) ? (spec->segsize * spec->segtotal / bpf) : -1); in gst_audio_ring_buffer_debug_spec_buff() 327 spec->segsize = gst_util_uint64_scale (info.rate * info.bpf, in gst_audio_ring_buffer_parse_caps() 330 spec->segsize -= spec->segsize % info.bpf; in gst_audio_ring_buffer_parse_caps() 607 gint segsize, bpf, i; in gst_audio_ring_buffer_acquire() local 650 segsize = buf->spec.segsize; in gst_audio_ring_buffer_acquire() 652 buf->samples_per_seg = segsize / bpf; in gst_audio_ring_buffer_acquire() 656 buf->empty_seg = g_malloc (segsize); in gst_audio_ring_buffer_acquire() 660 segsize); in gst_audio_ring_buffer_acquire() [all …]
|
D | gstaudiobasesrc.c | 544 spec->segsize = rate * bpf * spec->latency_time / GST_MSECOND; in gst_audio_base_src_setcaps() 546 spec->segsize -= spec->segsize % bpf; in gst_audio_base_src_setcaps() 559 spec->latency_time = spec->segsize * GST_MSECOND / (rate * bpf); in gst_audio_base_src_setcaps() 561 spec->segtotal * spec->segsize * GST_MSECOND / (rate * bpf); in gst_audio_base_src_setcaps() 622 gst_util_uint64_scale_int (spec->segsize, GST_SECOND, rate * bpf); in gst_audio_base_src_query() 625 gst_util_uint64_scale_int (spec->segtotal * spec->segsize, GST_SECOND, in gst_audio_base_src_query() 778 length = spec->segsize; in gst_audio_base_src_create()
|
D | gstaudioringbuffer.h | 144 gint segsize; /* size of one buffer segment in bytes, this value member
|
D | gstaudiosrc.c | 384 buf->size = spec->segtotal * spec->segsize; in gst_audio_src_ring_buffer_acquire()
|
/third_party/gstreamer/gstplugins_good/sys/oss/ |
D | gstossdmabuffer.c | 148 int segsize; in gst_ossdmabuffer_func() local 152 segsize = buf->spec.segsize; in gst_ossdmabuffer_func() 249 buf->spec.segsize = info.fragsize; in gst_ossdmabuffer_acquire()
|
D | gstosssink.c | 456 tmp = ilog2 (spec->segsize); in gst_oss_sink_prepare() 459 spec->segsize, spec->segtotal, tmp); in gst_oss_sink_prepare() 464 spec->segsize = info.fragsize; in gst_oss_sink_prepare() 470 spec->segsize, spec->segtotal, tmp); in gst_oss_sink_prepare()
|
D | gstosssrc.c | 436 tmp = ilog2 (spec->segsize); in gst_oss_src_prepare() 439 spec->segsize, spec->segtotal, tmp); in gst_oss_src_prepare() 453 spec->segsize = info.fragsize; in gst_oss_src_prepare() 459 spec->segsize, spec->segtotal, tmp); in gst_oss_src_prepare()
|
/third_party/gstreamer/gstplugins_bad/sys/directsound/ |
D | gstdirectsoundsrc.c | 515 spec->segsize = in gst_directsound_src_prepare() 520 if (spec->segsize < GST_AUDIO_INFO_BPF (&spec->info)) in gst_directsound_src_prepare() 521 spec->segsize = GST_AUDIO_INFO_BPF (&spec->info); in gst_directsound_src_prepare() 522 else if (spec->segsize % GST_AUDIO_INFO_BPF (&spec->info) != 0) in gst_directsound_src_prepare() 523 spec->segsize = in gst_directsound_src_prepare() 524 ((spec->segsize + GST_AUDIO_INFO_BPF (&spec->info) - in gst_directsound_src_prepare() 527 spec->segtotal = dsoundsrc->buffer_size / spec->segsize; in gst_directsound_src_prepare() 533 gst_util_uint64_scale (spec->segsize, GST_SECOND / GST_USECOND, in gst_directsound_src_prepare() 559 wfx.nAvgBytesPerSec, dsoundsrc->buffer_size, spec->segsize, in gst_directsound_src_prepare()
|
/third_party/rust/crates/nix/test/sys/ |
D | test_sockopt.rs | 119 let segsize: u32 = 873; in test_so_tcp_maxseg() localVariable 120 assert!(initial < segsize); in test_so_tcp_maxseg() 121 setsockopt(rsock, sockopt::TcpMaxSeg, &segsize).unwrap(); in test_so_tcp_maxseg() 143 assert!((segsize - 100) <= actual); in test_so_tcp_maxseg() 144 assert!(actual <= segsize); in test_so_tcp_maxseg()
|
/third_party/gstreamer/gstplugins_good/sys/osxaudio/ |
D | gstosxaudioringbuffer.c | 192 spec->segsize = 6144; in gst_osx_audio_ring_buffer_acquire() 224 spec->segsize = in gst_osx_audio_ring_buffer_acquire() 238 buf->size = spec->segtotal * spec->segsize; in gst_osx_audio_ring_buffer_acquire()
|
D | gstosxaudiosrc.c | 381 if ((gint) buf->segoffset == GST_AUDIO_RING_BUFFER (buf)->spec.segsize) { in gst_osx_audio_src_io_proc()
|
/third_party/gstreamer/gstplugins_good/sys/directsound/ |
D | gstdirectsoundsink.c | 505 spec->segsize = in gst_directsound_sink_prepare() 508 spec->segsize -= spec->segsize % spec->info.bpf; in gst_directsound_sink_prepare() 509 spec->segtotal = dsoundsink->buffer_size / spec->segsize; in gst_directsound_sink_prepare() 520 spec->segsize = 6144; in gst_directsound_sink_prepare() 528 dsoundsink->buffer_size = spec->segsize * spec->segtotal; in gst_directsound_sink_prepare()
|
/third_party/gstreamer/gstplugins_bad/sys/dshowsrcwrapper/ |
D | gstdshowaudiosrc.cpp | 543 spec->segsize = (gint) (spec->info.bpf * spec->info.rate * spec->latency_time / in gst_dshowaudiosrc_prepare() 548 spec->segsize)) in gst_dshowaudiosrc_prepare() 551 spec->segsize = spec->info.rate * spec->info.channels; in gst_dshowaudiosrc_prepare() 554 GST_INFO ("Configuring with segsize:%d segtotal:%d", spec->segsize, spec->segtotal); in gst_dshowaudiosrc_prepare()
|
/third_party/gstreamer/gstplugins_bad/sys/wasapi2/ |
D | gstwasapi2ringbuffer.cpp | 518 if (self->segoffset == ringbuffer->spec.segsize) { in gst_wasapi2_ring_buffer_read() 546 if (self->segoffset == ringbuffer->spec.segsize) { in gst_wasapi2_ring_buffer_read() 652 if (self->segoffset == ringbuffer->spec.segsize) { in gst_wasapi2_ring_buffer_write() 1062 spec->segsize = period * GST_AUDIO_INFO_BPF (&buf->spec.info); in gst_wasapi2_ring_buffer_acquire() 1067 self->buffer_size, period, spec->segsize); in gst_wasapi2_ring_buffer_acquire() 1113 buf->size = spec->segtotal * spec->segsize; in gst_wasapi2_ring_buffer_acquire()
|
/third_party/gstreamer/gstplugins_good/ext/jack/ |
D | gstjackaudiosink.c | 432 spec->segsize = buffer_size * sizeof (gfloat) * channels; in gst_jack_ring_buffer_acquire() 433 spec->latency_time = gst_util_uint64_scale (spec->segsize, in gst_jack_ring_buffer_acquire() 449 buffer_size, spec->segsize, spec->segtotal); in gst_jack_ring_buffer_acquire() 452 buf->size = spec->segtotal * spec->segsize; in gst_jack_ring_buffer_acquire()
|
D | gstjackaudiosrc.c | 440 spec->segsize = buffer_size * sizeof (gfloat) * channels; in gst_jack_ring_buffer_acquire() 441 spec->latency_time = gst_util_uint64_scale (spec->segsize, in gst_jack_ring_buffer_acquire() 457 buffer_size, spec->segsize, spec->segtotal); in gst_jack_ring_buffer_acquire() 460 buf->size = spec->segtotal * spec->segsize; in gst_jack_ring_buffer_acquire()
|
/third_party/gstreamer/gstplugins_bad/sys/wasapi/ |
D | gstwasapisink.c | 519 spec->segsize = devicep_frames * bpf; in gst_wasapi_sink_prepare() 522 spec->segtotal = MAX (self->buffer_frame_count * bpf / spec->segsize, 2); in gst_wasapi_sink_prepare() 524 GST_INFO_OBJECT (self, "segsize is %i, segtotal is %i", spec->segsize, in gst_wasapi_sink_prepare()
|
D | gstwasapisrc.c | 631 spec->segsize = devicep_frames * bpf; in gst_wasapi_src_prepare() 634 spec->segtotal = MAX (buffer_frames * bpf / spec->segsize, 2); in gst_wasapi_src_prepare() 636 GST_INFO_OBJECT (self, "segsize is %i, segtotal is %i", spec->segsize, in gst_wasapi_src_prepare()
|
/third_party/gstreamer/gstplugins_bad/sys/asio/ |
D | gstasioringbuffer.cpp | 319 spec->segsize = self->buffer_size * in gst_asio_ring_buffer_acquire() 324 buf->size = spec->segtotal * spec->segsize; in gst_asio_ring_buffer_acquire()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/debugging/ |
D | symbolize_test.cc | 294 const auto segsize = info->dlpi_phdr[i].p_memsz; in FilterElfHeader() local 304 vaddr, reinterpret_cast<const char *>(vaddr) + segsize, in FilterElfHeader()
|
/third_party/gstreamer/gstplugins_good/ext/pulse/ |
D | pulsesink.c | 687 if (pbuf->in_commit && (length >= rbuf->spec.segsize)) { in gst_pulsering_stream_request_cb() 748 ringbuf->spec.segsize)); in gst_pulsering_stream_latency_cb() 964 wanted.tlength = spec->segtotal * spec->segsize; in gst_pulseringbuffer_acquire() 967 wanted.minreq = spec->segsize; in gst_pulseringbuffer_acquire() 1041 spec->segsize = actual->minreq; in gst_pulseringbuffer_acquire() 1042 spec->segtotal = actual->tlength / spec->segsize; in gst_pulseringbuffer_acquire() 1492 bufsize = buf->spec.segsize * buf->spec.segtotal; in gst_pulseringbuffer_commit() 1538 if (towrite > buf->spec.segsize) in gst_pulseringbuffer_commit() 1539 towrite = buf->spec.segsize; in gst_pulseringbuffer_commit()
|
D | pulsesrc.c | 1518 wanted.maxlength = spec->segsize * spec->segtotal; in gst_pulsesrc_prepare() 1522 wanted.fragsize = spec->segsize; in gst_pulsesrc_prepare() 1591 if (actual->fragsize >= spec->segsize) { in gst_pulsesrc_prepare() 1592 spec->segsize = actual->fragsize; in gst_pulsesrc_prepare() 1599 spec->segtotal = actual->maxlength / spec->segsize; in gst_pulsesrc_prepare()
|
/third_party/gstreamer/gstplugins_bad/sys/opensles/ |
D | openslesringbuffer.c | 510 thiz->data_size = spec->segsize * thiz->data_segtotal; in _opensles_player_acquire() 549 cur = thiz->data + (thiz->cursor * rb->spec.segsize); in _opensles_player_cb() 843 rb->size = spec->segtotal * spec->segsize; in gst_opensles_ringbuffer_acquire()
|
/third_party/gstreamer/gstplugins_good/sys/oss4/ |
D | oss4-audio.c | 638 spec->segsize = info.fragsize; in gst_oss4_audio_set_format() 647 spec->segsize, spec->segtotal, info.fragsize); in gst_oss4_audio_set_format()
|
/third_party/gstreamer/gstplugins_bad/sys/tinyalsa/ |
D | tinyalsasink.c | 330 spec->segsize = pcm_frames_to_bytes (sink->pcm, config.period_size); in gst_tinyalsa_sink_prepare()
|