• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/libvorbis-1.2.3/lib/

Lines Matching refs:link

259           /* we fell off the end of the link, which means we seeked
260 back too far and shouldn't have been looking in that link
300 headers we see in the link */
317 /* we don't have a vorbis stream in this link yet, so begin
391 /* if we never see the final vorbis headers before the link
460 /* finds each bitstream link one at a time using a bisection search
462 Recurses for each link so it can alloc the link storage after
483 we have the headers and serialnos for the link beginning at 'begin'
492 down to (or just started with) a single link. Now we need to
494 for this link. */
617 /* we're partially open and have a first link header state in
635 we're lucky the last vorbis page of this link as most OggVorbis
722 int link=(vf->seekable?vf->current_link:0);
738 if(vf->seekable && link>0)
739 granulepos-=vf->pcmlengths[link*2];
748 for(i=0;i<link;i++)
821 int link;
831 for(link=0;link<vf->links;link++)
832 if(vf->serialnos[link]==serialno)break;
834 if(link==vf->links) continue; /* not the desired Vorbis
839 vf->current_link=link;
852 link=0;
911 /* serial number list for first link needs to be held somewhere
913 seek/reread first link's serialnumber data then. */
1133 int link=(vf->seekable?vf->current_link:0);
1137 ret=vf->bittrack/vf->samptrack*vf->vi[link].rate+.5;
1229 the case we're in the same link. Restart the decode lapping, and
1298 int i,link=vf->current_link;
1299 ogg_int64_t granulepos=op.granulepos-vf->pcmlengths[link*2];
1302 for(i=0;i<link;i++)
1344 int link;
1347 for(link=0;link<vf->links;link++)
1348 if(vf->serialnos[link]==serialno)break;
1350 if(link==vf->links) continue; /* not the desired Vorbis
1353 vf->current_link=link;
1358 firstflag=(pagepos<=vf->dataoffsets[link]);
1388 int link=-1;
1398 for(link=vf->links-1;link>=0;link--){
1399 total-=vf->pcmlengths[link*2+1];
1411 ogg_int64_t end=vf->offsets[link+1];
1412 ogg_int64_t begin=vf->offsets[link];
1413 ogg_int64_t begintime = vf->pcmlengths[link*2];
1414 ogg_int64_t endtime = vf->pcmlengths[link*2+1]+begintime;
1452 if(ogg_page_serialno(&og)!=vf->serialnos[link])
1499 if(link!=vf->current_link){
1500 /* Different link; dump entire decode machine */
1503 vf->current_link=link;
1504 vf->current_serialno=vf->serialnos[link];
1626 int link;
1628 for(link=0;link<vf->links;link++)
1629 if(vf->serialnos[link]==serialno)break;
1630 if(link==vf->links) continue;
1631 vf->current_link=link;
1669 int link=-1;
1678 for(link=0;link<vf->links;link++){
1679 double addsec = ov_time_total(vf,link);
1682 pcm_total+=vf->pcmlengths[link*2+1];
1685 if(link==vf->links)return(OV_EINVAL);
1689 ogg_int64_t target=pcm_total+(seconds-time_total)*vf->vi[link].rate;
1699 int link=-1;
1708 for(link=0;link<vf->links;link++){
1709 double addsec = ov_time_total(vf,link);
1712 pcm_total+=vf->pcmlengths[link*2+1];
1715 if(link==vf->links)return(OV_EINVAL);
1719 ogg_int64_t target=pcm_total+(seconds-time_total)*vf->vi[link].rate;
1739 int link=0;
1749 for(link=vf->links-1;link>=0;link--){
1750 pcm_total-=vf->pcmlengths[link*2+1];
1751 time_total-=ov_time_total(vf,link);
1756 return((double)time_total+(double)(vf->pcm_offset-pcm_total)/vf->vi[link].rate);
1759 /* link: -1) return the vorbis_info struct for the bitstream section
1767 vorbis_info *ov_info(OggVorbis_File *vf,int link){
1769 if(link<0)
1775 if(link>=vf->links)
1778 return vf->vi+link;
1785 vorbis_comment *ov_comment(OggVorbis_File *vf,int link){
1787 if(link<0)
1793 if(link>=vf->links)
1796 return vf->vc+link;
2213 from this link gets dumped, this
2227 /* Guard against cross-link changes; they're perfectly legal */
2274 from this link gets dumped, this
2288 /* Guard against cross-link changes; they're perfectly legal */