Home
last modified time | relevance | path

Searched refs:segtotal (Results 1 – 25 of 30) sorted by relevance

12

/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/
Dgstaudioringbuffer.c184 GST_DEBUG ("acquire ringbuffer: total segments: %d", spec->segtotal); 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()
332 spec->segtotal = spec->buffer_time / spec->latency_time; in gst_audio_ring_buffer_parse_caps()
635 spec->segtotal); in gst_audio_ring_buffer_acquire()
636 buf->timestamps = g_slice_alloc0 (sizeof (GstClockTime) * spec->segtotal); in gst_audio_ring_buffer_acquire()
638 for (i = 0; i < spec->segtotal; i++) { in gst_audio_ring_buffer_acquire()
648 buf->spec.seglatency = buf->spec.segtotal; in gst_audio_ring_buffer_acquire()
729 buf->spec.segtotal); in gst_audio_ring_buffer_release()
730 g_slice_free1 (sizeof (GstClockTime) * buf->spec.segtotal, buf->timestamps); in gst_audio_ring_buffer_release()
[all …]
Dgstaudiobasesrc.c547 spec->segtotal = spec->buffer_time / spec->latency_time; in gst_audio_base_src_setcaps()
561 spec->segtotal * spec->segsize * GST_MSECOND / (rate * bpf); in gst_audio_base_src_setcaps()
625 gst_util_uint64_scale_int (spec->segtotal * spec->segsize, GST_SECOND, in gst_audio_base_src_query()
703 gint readseg, segdone, segtotal, sps; in gst_audio_base_src_get_offset() local
710 segtotal = src->ringbuffer->spec.segtotal; in gst_audio_base_src_get_offset()
727 if (diff >= segtotal) { in gst_audio_base_src_get_offset()
944 if ((segment_skew >= ringbuffer->spec.segtotal) || in gst_audio_base_src_create()
Dgstaudiosink.c413 spec->seglatency = spec->segtotal + 1; in gst_audio_sink_ring_buffer_acquire()
415 buf->size = spec->segtotal * spec->segsize; in gst_audio_sink_ring_buffer_acquire()
Dgstaudioringbuffer.h147 gint segtotal; /* total number of segments, this value is the member
Dgstaudiosrc.c384 buf->size = spec->segtotal * spec->segsize; in gst_audio_src_ring_buffer_acquire()
/third_party/gstreamer/gstplugins_good/sys/oss/
Dgstosssink.c457 tmp = ((spec->segtotal & 0x7fff) << 16) | tmp; in gst_oss_sink_prepare()
459 spec->segsize, spec->segtotal, tmp); in gst_oss_sink_prepare()
465 spec->segtotal = info.fragstotal; in gst_oss_sink_prepare()
470 spec->segsize, spec->segtotal, tmp); in gst_oss_sink_prepare()
Dgstosssrc.c437 tmp = ((spec->segtotal & 0x7fff) << 16) | tmp; in gst_oss_src_prepare()
439 spec->segsize, spec->segtotal, tmp); in gst_oss_src_prepare()
454 spec->segtotal = info.fragstotal; in gst_oss_src_prepare()
459 spec->segsize, spec->segtotal, tmp); in gst_oss_src_prepare()
Dgstossdmabuffer.c164 if (count.blocks > buf->spec.segtotal) in gst_ossdmabuffer_func()
165 count.blocks = buf->spec.segtotal; in gst_ossdmabuffer_func()
250 buf->spec.segtotal = info.fragstotal; in gst_ossdmabuffer_acquire()
/third_party/gstreamer/gstplugins_good/sys/osxaudio/
Dgstosxaudioringbuffer.c193 spec->segtotal = 10; in gst_osx_audio_ring_buffer_acquire()
227 spec->segtotal = spec->buffer_time / spec->latency_time; in gst_osx_audio_ring_buffer_acquire()
238 buf->size = spec->segtotal * spec->segsize; in gst_osx_audio_ring_buffer_acquire()
/third_party/gstreamer/gstplugins_good/ext/jack/
Dgstjackaudiosrc.c444 spec->segtotal = spec->buffer_time / spec->latency_time; in gst_jack_ring_buffer_acquire()
447 if (spec->segtotal < 2 || src->low_latency) { in gst_jack_ring_buffer_acquire()
448 spec->segtotal = 2; in gst_jack_ring_buffer_acquire()
449 spec->buffer_time = spec->latency_time * spec->segtotal; 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()
Dgstjackaudiosink.c436 spec->segtotal = spec->buffer_time / spec->latency_time; in gst_jack_ring_buffer_acquire()
439 if (spec->segtotal < 2 || sink->low_latency) { in gst_jack_ring_buffer_acquire()
440 spec->segtotal = 2; in gst_jack_ring_buffer_acquire()
441 spec->buffer_time = spec->latency_time * spec->segtotal; 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()
/third_party/gstreamer/gstplugins_bad/sys/dshowsrcwrapper/
Dgstdshowaudiosrc.cpp545 spec->segtotal = (gint) ((gfloat) spec->buffer_time / in gst_dshowaudiosrc_prepare()
552 spec->segtotal = 2; 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/asio/
Dgstasioringbuffer.cpp322 spec->segtotal = 2; in gst_asio_ring_buffer_acquire()
324 buf->size = spec->segtotal * spec->segsize; in gst_asio_ring_buffer_acquire()
/third_party/gstreamer/gstplugins_bad/sys/directsound/
Dgstdirectsoundsrc.c527 spec->segtotal = dsoundsrc->buffer_size / spec->segsize; in gst_directsound_src_prepare()
529 spec->seglatency = spec->segtotal + 2; in gst_directsound_src_prepare()
560 spec->segtotal); in gst_directsound_src_prepare()
/third_party/gstreamer/gstplugins_good/sys/directsound/
Dgstdirectsoundsink.c509 spec->segtotal = dsoundsink->buffer_size / spec->segsize; in gst_directsound_sink_prepare()
521 spec->segtotal = 10; in gst_directsound_sink_prepare()
528 dsoundsink->buffer_size = spec->segsize * spec->segtotal; in gst_directsound_sink_prepare()
/third_party/gstreamer/gstplugins_good/sys/oss4/
Doss4-audio.c644 spec->segtotal = info.fragstotal + 4; in gst_oss4_audio_set_format()
647 spec->segsize, spec->segtotal, info.fragsize); in gst_oss4_audio_set_format()
/third_party/gstreamer/gstplugins_good/ext/pulse/
Dpulsesrc.c1518 wanted.maxlength = spec->segsize * spec->segtotal; in gst_pulsesrc_prepare()
1599 spec->segtotal = actual->maxlength / spec->segsize; in gst_pulsesrc_prepare()
1601 if (spec->segtotal < 2) in gst_pulsesrc_prepare()
1602 spec->segtotal = 2; in gst_pulsesrc_prepare()
Dpulsesink.c964 wanted.tlength = spec->segtotal * spec->segsize; 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()
/third_party/gstreamer/gstplugins_bad/sys/wasapi/
Dgstwasapisink.c522 spec->segtotal = MAX (self->buffer_frame_count * bpf / spec->segsize, 2); in gst_wasapi_sink_prepare()
525 spec->segtotal); in gst_wasapi_sink_prepare()
Dgstwasapisrc.c634 spec->segtotal = MAX (buffer_frames * bpf / spec->segsize, 2); in gst_wasapi_src_prepare()
637 spec->segtotal); in gst_wasapi_src_prepare()
/third_party/gstreamer/gstplugins_bad/sys/opensles/
Dopenslesringbuffer.c391 SL_DATALOCATOR_ANDROIDSIMPLEBUFFERQUEUE, MIN (4, MAX (spec->segtotal >> 1, in _opensles_player_acquire()
843 rb->size = spec->segtotal * spec->segsize; in gst_opensles_ringbuffer_acquire()
/third_party/gstreamer/gstplugins_bad/sys/tinyalsa/
Dtinyalsasink.c331 spec->segtotal = config.period_count; in gst_tinyalsa_sink_prepare()
/third_party/gstreamer/gstplugins_bad/sys/wasapi2/
Dgstwasapi2ringbuffer.cpp1063 spec->segtotal = 2; in gst_wasapi2_ring_buffer_acquire()
1113 buf->size = spec->segtotal * spec->segsize; in gst_wasapi2_ring_buffer_acquire()
/third_party/gstreamer/gstplugins_base/ext/alsa/
Dgstalsasrc.c818 spec->segtotal = alsa->buffer_size / alsa->period_size; in gst_alsasrc_prepare()
/third_party/gstreamer/gstplugins_bad/ext/openal/
Dgstopenalsink.c833 sink->buffer_count = spec->segtotal; in gst_openal_sink_parse_spec()

12