Home
last modified time | relevance | path

Searched refs:pcm_start (Results 1 – 4 of 4) sorted by relevance

/third_party/libsnd/src/
Dogg.c457 uint64_t target_gp, uint64_t pcm_start, uint64_t pcm_end, uint64_t *best_gp, in ogg_stream_seek_page_search() argument
475 *best_gp = pcm_start ; in ogg_stream_seek_page_search()
502 …bisect = begin + ogg_page_search_do_rescale (target_gp - pcm_start, pcm_end - pcm_start, end - beg… in ogg_stream_seek_page_search()
618 if (pcm_start > gp || pcm_end < gp) in ogg_stream_seek_page_search()
642 *best_gp = pcm_start = gp ; in ogg_stream_seek_page_search()
674 if (pcm_end > gp && pcm_start <= gp) in ogg_stream_seek_page_search()
Dogg_vorbis.c141 uint64_t pcm_start ; member
244 vorbis_calculate_granulepos (psf, &vdata->pcm_start) ; in vorbis_read_header()
245 vdata->gp = vdata->pcm_start ; in vorbis_read_header()
267 psf_log_printf (psf, "PCM offset : %D\n", vdata->pcm_start) ; in vorbis_read_header()
294 …psf->sf.frames = (vdata->pcm_end != (uint64_t) -1) ? vdata->pcm_end - vdata->pcm_start : SF_COUNT… in vorbis_read_header()
901 ret = ogg_stream_seek_page_search (psf, odata, search_target_gp, vdata->pcm_start, in vorbis_seek_trysearch()
932 { target_gp = (uint64_t) offset + vdata->pcm_start ; in vorbis_seek()
943 vdata->gp = vdata->pcm_start ; in vorbis_seek()
949 return vdata->gp - vdata->pcm_start ; in vorbis_seek()
Dogg.h164 uint64_t pcm_start, uint64_t pcm_end,
Dogg_opus.c1532 uint64_t pcm_start ; in ogg_opus_page_seek_search() local
1540 best_gp = pcm_start = oopus->u.decode.gp_start ; in ogg_opus_page_seek_search()
1547 …ret = ogg_stream_seek_page_search (psf, odata, target_gp, pcm_start, pcm_end, &best_gp, begin, end… in ogg_opus_page_seek_search()