Home
last modified time | relevance | path

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

/third_party/libsnd/src/
Dogg_vorbis.c93 static int vorbis_skip (SF_PRIVATE *psf, uint64_t target_gp) ;
94 static int vorbis_seek_trysearch (SF_PRIVATE *psf, uint64_t target_gp) ;
870 vorbis_seek_trysearch (SF_PRIVATE *psf, uint64_t target_gp) in vorbis_seek_trysearch() argument
882 if (target_gp >= vdata->gp && in vorbis_seek_trysearch()
883 target_gp - vdata->gp < ((unsigned) (VORBIS_SEEK_THRESHOLD) * psf->sf.samplerate)) in vorbis_seek_trysearch()
899 search_target_gp = search_target_gp < target_gp ? target_gp - search_target_gp : 0 ; in vorbis_seek_trysearch()
920 uint64_t target_gp ; in vorbis_seek() local
932 { target_gp = (uint64_t) offset + vdata->pcm_start ; in vorbis_seek()
934 ret = vorbis_seek_trysearch (psf, target_gp) ; in vorbis_seek()
936 if (ret < 0 || vdata->gp > target_gp) in vorbis_seek()
[all …]
Dogg_opus.c307 static sf_count_t ogg_opus_page_seek_manual (SF_PRIVATE *psf, uint64_t target_gp) ;
308 static int ogg_opus_page_seek_search (SF_PRIVATE *psf, uint64_t target_gp) ;
1529 ogg_opus_page_seek_search (SF_PRIVATE *psf, uint64_t target_gp) in ogg_opus_page_seek_search() argument
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()
1573 ogg_opus_page_seek_manual (SF_PRIVATE *psf, uint64_t target_gp) in ogg_opus_page_seek_manual() argument
1579 if (oopus->pg_pos > target_gp) in ogg_opus_page_seek_manual()
1588 while (oopus->pg_pos < target_gp) in ogg_opus_page_seek_manual()
1601 uint64_t target_gp, current_gp ; in ogg_opus_seek() local
1618 target_gp = offset * oopus->sr_factor ; in ogg_opus_seek()
1619 target_gp += oopus->u.decode.gp_start ; in ogg_opus_seek()
[all …]
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
502 …bisect = begin + ogg_page_search_do_rescale (target_gp - pcm_start, pcm_end - pcm_start, end - beg… in ogg_stream_seek_page_search()
612 if (gp < target_gp) in ogg_stream_seek_page_search()
643 if (target_gp - gp > gp_rate) in ogg_stream_seek_page_search()
Dogg.h163 uint64_t target_gp,