Lines Matching defs:og
130 static ogg_int64_t _get_next_page(OggVorbis_File *vf,ogg_page *og,
137 more=ogg_sync_pageseek(vf->oy,og);
169 static ogg_int64_t _get_prev_page(OggVorbis_File *vf,ogg_page *og){
181 ret=_get_next_page(vf,og,end-vf->offset);
193 ret=_get_next_page(vf,og,CHUNKSIZE);
213 ogg_page og={0,0,0,0};
228 ret=_get_next_page(vf,&og,-1);
230 if(ret<0 || ogg_page_serialno(&og)!=currentno){
234 searched=ret+og.header_len+og.body_len;
236 ogg_page_release(&og);
240 ret=_get_next_page(vf,&og,-1);
244 ogg_page_release(&og);
251 end,ogg_page_serialno(&og),m+1);
252 ogg_page_release(&og);
286 ogg_page og={0,0,0,0};
293 ogg_int64_t llret=_get_next_page(vf,&og,CHUNKSIZE);
296 og_ptr=&og;
331 ogg_page_release(&og);
337 ogg_page_release(&og);
380 ogg_page og={0,0,0,0};
417 ret=_get_next_page(vf,&og,-1);
423 if(ogg_page_serialno(&og)!=vf->serialnos[i])
426 pos=ogg_page_granulepos(&og);
429 ogg_stream_pagein(vf->os,&og);
461 ret=_get_prev_page(vf,&og);
468 if(ogg_page_granulepos(&og)!=-1){
469 vf->pcmlengths[i*2+1]=ogg_page_granulepos(&og)-vf->pcmlengths[i*2];
476 ogg_page_release(&og);
507 ogg_page og={0,0,0,0};
517 end=_get_prev_page(vf,&og);
521 tempserialno=ogg_page_serialno(&og);
522 ogg_page_release(&og);
556 ogg_page og={0,0,0,0};
636 ret=(int)_get_next_page(vf,&og,-1);
644 vf->bittrack+=og.header_len*8;
648 if(vf->current_serialno!=ogg_page_serialno(&og)){
676 vf->current_serialno=ogg_page_serialno(&og);
690 ret=_fetch_headers(vf,&vf->vi,&vf->vc,&vf->current_serialno,&og);
697 int ret=_fetch_headers(vf,&vf->vi,&vf->vc,&vf->current_serialno,&og);
705 ogg_stream_pagein(vf->os,&og);
709 ogg_page_release(&og);
1001 ogg_page og={0,0,0,0};
1081 if(_get_next_page(vf,&og,-1)<0){
1093 if(vf->current_serialno!=ogg_page_serialno(&og)){
1101 vf->current_serialno=ogg_page_serialno(&og);
1121 ogg_page_dup(&dup,&og);
1122 eosflag=ogg_page_eos(&og);
1123 ogg_stream_pagein(vf->os,&og);
1130 ogg_page_release(&og);
1138 ogg_page_release(&og);
1157 ogg_page og={0,0,0,0};
1211 result=_get_next_page(vf,&og,end-vf->offset);
1223 ogg_int64_t granulepos=ogg_page_granulepos(&og);
1260 if(_get_next_page(vf,&og,-1)<0){
1261 ogg_page_release(&og);
1265 ogg_stream_pagein(vf->os,&og);
1279 result=_get_prev_page(vf,&og);
1281 if(ogg_page_granulepos(&og)>-1 ||
1282 !ogg_page_continued(&og)){
1311 ogg_page_release(&og);
1317 ogg_page_release(&og);
1331 ogg_page og={0,0,0,0};
1378 if(_get_next_page(vf,&og,-1)<0)break;
1379 if(vf->current_serialno!=ogg_page_serialno(&og))_decode_clear(vf);
1384 vf->current_serialno=ogg_page_serialno(&og);
1388 ogg_page_release(&og);
1395 ret=_fetch_headers(vf,&vf->vi,&vf->vc,&vf->current_serialno,&og);
1401 ogg_stream_pagein(vf->os,&og);
1422 ogg_page_release(&og);