Lines Matching defs:target_gp
307 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)
1547 ret = ogg_stream_seek_page_search (psf, odata, target_gp, pcm_start, pcm_end, &best_gp, begin, end, 48000) ;
1573 ogg_opus_page_seek_manual (SF_PRIVATE *psf, uint64_t target_gp)
1579 if (oopus->pg_pos > target_gp)
1588 while (oopus->pg_pos < target_gp)
1601 uint64_t target_gp, current_gp ;
1618 target_gp = offset * oopus->sr_factor ;
1619 target_gp += oopus->u.decode.gp_start ;
1620 target_gp += oopus->header.preskip ;
1623 if (target_gp < current_gp || target_gp - current_gp > OGG_OPUS_PREROLL)
1628 if (target_gp >= OGG_OPUS_PREROLL + oopus->u.decode.gp_start + (uint64_t) oopus->header.preskip)
1629 { preroll_gp = target_gp - OGG_OPUS_PREROLL ;
1685 offset = ogg_opus_null_read (psf, target_gp / oopus->sr_factor) ;