Home
last modified time | relevance | path

Searched refs:segsize (Results 1 – 25 of 36) sorted by relevance

12

/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/
Dgstaudioringbuffer.c187 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 …]
Dgstaudiobasesrc.c544 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()
Dgstaudioringbuffer.h144 gint segsize; /* size of one buffer segment in bytes, this value member
Dgstaudiosrc.c384 buf->size = spec->segtotal * spec->segsize; in gst_audio_src_ring_buffer_acquire()
/third_party/gstreamer/gstplugins_good/sys/oss/
Dgstossdmabuffer.c148 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()
Dgstosssink.c456 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()
Dgstosssrc.c436 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/
Dgstdirectsoundsrc.c515 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/
Dtest_sockopt.rs119 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/
Dgstosxaudioringbuffer.c192 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()
Dgstosxaudiosrc.c381 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/
Dgstdirectsoundsink.c505 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/
Dgstdshowaudiosrc.cpp543 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/
Dgstwasapi2ringbuffer.cpp518 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/
Dgstjackaudiosink.c432 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()
Dgstjackaudiosrc.c440 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/
Dgstwasapisink.c519 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()
Dgstwasapisrc.c631 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/
Dgstasioringbuffer.cpp319 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/
Dsymbolize_test.cc294 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/
Dpulsesink.c687 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()
Dpulsesrc.c1518 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/
Dopenslesringbuffer.c510 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/
Doss4-audio.c638 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/
Dtinyalsasink.c330 spec->segsize = pcm_frames_to_bytes (sink->pcm, config.period_size); in gst_tinyalsa_sink_prepare()

12