Lines Matching defs:target
797 vorbis_skip (SF_PRIVATE *psf, uint64_t target)
808 { if ((uint64_t) thisblock + vdata->gp >= target)
809 thisblock = SF_MIN (thisblock, (int) (target - vdata->gp)) ;
813 if (vdata->gp == target)
817 /* Read through packets that are before our target */
819 for ( ; vdata->gp < target ; )
832 if (target < vdata->gp)
833 { /* Our target is inside the hole :-( */
851 /* Check to see if the block contains our target */
852 if (vdata->gp + ((thisblock + blocksize) / 4) >= target)
855 /* Block is before the target. Track for state, but don't decode. */
863 ** our target. */
864 vorbis_read_sample (psf, (void *) NULL, (target - vdata->gp) * psf->sf.channels, vorbis_rnull) ;
880 /* If the target is for the near future, don't bother bisecting, just skip
886 /* Search for a position a half large-block before our target. As Vorbis is
894 ** Searching for a sample one half of a large block before our target
896 ** required to decode the target. Downside is we can't use best_gp