Home
last modified time | relevance | path

Searched refs:segsize (Results 1 – 25 of 41) 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.c538 spec->segsize = rate * bpf * spec->latency_time / GST_MSECOND; in gst_audio_base_src_setcaps()
540 spec->segsize -= spec->segsize % bpf; in gst_audio_base_src_setcaps()
553 spec->latency_time = spec->segsize * GST_MSECOND / (rate * bpf); in gst_audio_base_src_setcaps()
555 spec->segtotal * spec->segsize * GST_MSECOND / (rate * bpf); in gst_audio_base_src_setcaps()
616 gst_util_uint64_scale_int (spec->segsize, GST_SECOND, rate * bpf); in gst_audio_base_src_query()
619 gst_util_uint64_scale_int (spec->segtotal * spec->segsize, GST_SECOND, in gst_audio_base_src_query()
772 length = spec->segsize; in gst_audio_base_src_create()
/third_party/gettext/gettext-runtime/intl/
Dloadmsgcat.c983 nls_uint32 segsize; in _nl_load_domain() local
986 segsize = W (domain->must_swap, p->segsize); in _nl_load_domain()
987 need += segsize; in _nl_load_domain()
993 static_segments += segsize; in _nl_load_domain()
1013 nls_uint32 segsize = in _nl_load_domain() local
1014 W (domain->must_swap, p->segsize); in _nl_load_domain()
1016 if (!(segsize > 0 in _nl_load_domain()
1017 && static_segments[segsize - 1] == '\0')) in _nl_load_domain()
1132 W (domain->must_swap, p->segsize); in _nl_load_domain()
1141 nls_uint32 segsize = in _nl_load_domain() local
[all …]
Dgmo.h129 nls_uint32 segsize; member
/third_party/gettext/gettext-tools/src/
Dread-mo.c157 nls_uint32 segsize = get_uint32 (bfp, offset + i); in get_sysdep_string() local
166 s_end = xsum (s_offset, segsize); in get_sysdep_string()
169 length += segsize; in get_sysdep_string()
170 s_offset += segsize; in get_sysdep_string()
175 if (!(segsize > 0 && bfp->data[s_offset - 1] == '\0')) in get_sysdep_string()
211 nls_uint32 segsize = get_uint32 (bfp, offset + i); in get_sysdep_string() local
218 memcpy (p, bfp->data + s_offset, segsize); in get_sysdep_string()
219 p += segsize; in get_sysdep_string()
220 s_offset += segsize; in get_sysdep_string()
Dwrite-mo.c124 size_t segsize; member
302 pre->segments[i].segsize = intervals[m][i].startpos - lastpos; in write_table()
339 pre->segments[i].segsize = str_len - lastpos; in write_table()
665 str->segments[i].segsize = pre->segments[i].segsize; in write_table()
667 offset += str->segments[i].segsize; in write_table()
671 str->segments[pre->segmentcount].segsize += msg->id_plural_len; in write_table()
679 BSWAP32 (str->segments[i].segsize); in write_table()
758 fwrite (pre->segments[i].segptr, pre->segments[i].segsize, 1, in write_table()
760 offset += pre->segments[i].segsize; in write_table()
/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/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()
/third_party/gstreamer/gstplugins_good/sys/oss/
Dgstosssrc.c433 tmp = ilog2 (spec->segsize); in gst_oss_src_prepare()
436 spec->segsize, spec->segtotal, tmp); in gst_oss_src_prepare()
450 spec->segsize = info.fragsize; in gst_oss_src_prepare()
456 spec->segsize, spec->segtotal, tmp); in gst_oss_src_prepare()
Dgstosssink.c453 tmp = ilog2 (spec->segsize); in gst_oss_sink_prepare()
456 spec->segsize, spec->segtotal, tmp); in gst_oss_sink_prepare()
461 spec->segsize = info.fragsize; in gst_oss_sink_prepare()
467 spec->segsize, spec->segtotal, tmp); in gst_oss_sink_prepare()
/third_party/e2fsprogs/intl/
Dloadmsgcat.c1146 need += W (domain->must_swap, p->segsize); in _nl_load_domain()
1276 W (domain->must_swap, p->segsize); in _nl_load_domain()
1285 nls_uint32 segsize = in _nl_load_domain() local
1286 W (domain->must_swap, p->segsize); in _nl_load_domain()
1291 if (segsize > 0) in _nl_load_domain()
1293 memcpy (mem, static_segments, segsize); in _nl_load_domain()
1294 mem += segsize; in _nl_load_domain()
1295 static_segments += segsize; in _nl_load_domain()
Dgmo.h137 nls_uint32 segsize; member
/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/uboot/u-boot-2020.01/drivers/usb/musb-new/
Dmusb_host.h37 unsigned segsize; /* current xfer fragment */ member
Dmusb_host.c203 qh->segsize = 0; in musb_start_urb()
657 qh->segsize = length; in musb_tx_dma_program()
813 qh->segsize = load_count; in musb_ep_program()
854 qh->segsize = len; in musb_ep_program()
868 qh->segsize); in musb_ep_program()
1261 length = qh->segsize; in musb_host_tx()
1283 if (qh->segsize < qh->maxpacket) in musb_host_tx()
1336 qh->segsize = length; in musb_host_tx()
/third_party/gstreamer/gstplugins_good/ext/jack/
Dgstjackaudiosrc.c441 spec->segsize = buffer_size * sizeof (gfloat) * channels; in gst_jack_ring_buffer_acquire()
442 spec->latency_time = gst_util_uint64_scale (spec->segsize, in gst_jack_ring_buffer_acquire()
456 buffer_size, spec->segsize, spec->segtotal); in gst_jack_ring_buffer_acquire()
459 buf->size = spec->segtotal * spec->segsize; in gst_jack_ring_buffer_acquire()
Dgstjackaudiosink.c430 spec->segsize = buffer_size * sizeof (gfloat) * channels; in gst_jack_ring_buffer_acquire()
431 spec->latency_time = gst_util_uint64_scale (spec->segsize, in gst_jack_ring_buffer_acquire()
445 buffer_size, spec->segsize, spec->segtotal); in gst_jack_ring_buffer_acquire()
448 buf->size = spec->segtotal * spec->segsize; in gst_jack_ring_buffer_acquire()
/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/wasapi/
Dgstwasapisink.c504 spec->segsize = devicep_frames * bpf; in gst_wasapi_sink_prepare()
507 spec->segtotal = MAX (self->buffer_frame_count * bpf / spec->segsize, 2); in gst_wasapi_sink_prepare()
509 GST_INFO_OBJECT (self, "segsize is %i, segtotal is %i", spec->segsize, in gst_wasapi_sink_prepare()
Dgstwasapisrc.c477 spec->segsize = devicep_frames * bpf; in gst_wasapi_src_prepare()
480 spec->segtotal = MAX (buffer_frames * bpf / spec->segsize, 2); in gst_wasapi_src_prepare()
482 GST_INFO_OBJECT (self, "segsize is %i, segtotal is %i", spec->segsize, in gst_wasapi_src_prepare()
/third_party/abseil-cpp/absl/debugging/
Dsymbolize_test.cc280 const auto segsize = info->dlpi_phdr[i].p_memsz; in FilterElfHeader() local
290 vaddr, reinterpret_cast<const char *>(vaddr) + segsize, in FilterElfHeader()
/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.c686 if (pbuf->in_commit && (length >= rbuf->spec.segsize)) { in gst_pulsering_stream_request_cb()
747 ringbuf->spec.segsize)); in gst_pulsering_stream_latency_cb()
963 wanted.tlength = spec->segtotal * spec->segsize; in gst_pulseringbuffer_acquire()
966 wanted.minreq = spec->segsize; in gst_pulseringbuffer_acquire()
1040 spec->segsize = actual->minreq; in gst_pulseringbuffer_acquire()
1041 spec->segtotal = actual->tlength / spec->segsize; in gst_pulseringbuffer_acquire()
1491 bufsize = buf->spec.segsize * buf->spec.segtotal; in gst_pulseringbuffer_commit()
1537 if (towrite > buf->spec.segsize) in gst_pulseringbuffer_commit()
1538 towrite = buf->spec.segsize; in gst_pulseringbuffer_commit()
Dpulsesrc.c1515 wanted.maxlength = spec->segsize * spec->segtotal; in gst_pulsesrc_prepare()
1519 wanted.fragsize = spec->segsize; in gst_pulsesrc_prepare()
1588 if (actual->fragsize >= spec->segsize) { in gst_pulsesrc_prepare()
1589 spec->segsize = actual->fragsize; in gst_pulsesrc_prepare()
1596 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()

12