Home | History | Annotate | Download | only in lib

Lines Matching refs:ogg_int64_t

81 static int _seek_helper(OggVorbis_File *vf,ogg_int64_t offset){
108 static ogg_int64_t _get_next_page(OggVorbis_File *vf,ogg_page *og,
109 ogg_int64_t boundary){
132 ogg_int64_t ret=vf->offset;
146 static ogg_int64_t _get_prev_page(OggVorbis_File *vf,ogg_page *og){
147 ogg_int64_t begin=vf->offset;
148 ogg_int64_t end=begin;
149 ogg_int64_t ret;
150 ogg_int64_t offset=-1;
223 static ogg_int64_t _get_prev_page_serial(OggVorbis_File *vf,
225 int *serialno, ogg_int64_t *granpos){
227 ogg_int64_t begin=vf->offset;
228 ogg_int64_t end=begin;
229 ogg_int64_t ret;
231 ogg_int64_t prefoffset=-1;
232 ogg_int64_t offset=-1;
233 ogg_int64_t ret_serialno=-1;
234 ogg_int64_t ret_gran=-1;
290 ogg_int64_t llret=_get_next_page(vf,&og,CHUNKSIZE);
336 ogg_int64_t llret=_get_next_page(vf,og_ptr,CHUNKSIZE);
421 static ogg_int64_t _initial_pcmoffset(OggVorbis_File *vf, vorbis_info *vi){
423 ogg_int64_t accumulated=0;
466 ogg_int64_t begin,
467 ogg_int64_t searched,
468 ogg_int64_t end,
469 ogg_int64_t endgran,
474 ogg_int64_t pcmoffset;
475 ogg_int64_t dataoffset=searched;
476 ogg_int64_t endsearched=end;
477 ogg_int64_t next=end;
478 ogg_int64_t searchgran=-1;
480 ogg_int64_t ret,last;
528 ogg_int64_t bisect;
614 ogg_int64_t dataoffset=vf->dataoffsets[0],end,endgran=-1;
622 ogg_int64_t pcmoffset = _initial_pcmoffset(vf,vf->vi);
694 ogg_int64_t granulepos;
762 ogg_int64_t ret;
867 static int _fseek64_wrap(FILE *f,ogg_int64_t off,int whence){
998 (int (*)(void *, ogg_int64_t, int)) _fseek64_wrap,
1059 (int (*)(void *, ogg_int64_t, int)) _fseek64_wrap,
1096 ogg_int64_t bits=0;
1160 ogg_int64_t ov_raw_total(OggVorbis_File *vf,int i){
1164 ogg_int64_t acc=0;
1179 ogg_int64_t ov_pcm_total(OggVorbis_File *vf,int i){
1183 ogg_int64_t acc=0;
1219 int ov_raw_seek(OggVorbis_File *vf,ogg_int64_t pos){
1264 ogg_int64_t pagepos=-1;
1300 ogg_int64_t granulepos=op.granulepos-vf->pcmlengths[link*2];
1388 int ov_pcm_seek_page(OggVorbis_File *vf,ogg_int64_t pos){
1390 ogg_int64_t result=0;
1391 ogg_int64_t total=ov_pcm_total(vf,-1);
1412 ogg_int64_t end=vf->offsets[link+1];
1413 ogg_int64_t begin=vf->offsets[link];
1414 ogg_int64_t begintime = vf->pcmlengths[link*2];
1415 ogg_int64_t endtime = vf->pcmlengths[link*2+1]+begintime;
1416 ogg_int64_t target=pos-total+begintime;
1417 ogg_int64_t best=begin;
1421 ogg_int64_t bisect;
1428 (ogg_int64_t)((double)(target-begintime)*(end-begin)/(endtime-begintime))
1451 ogg_int64_t granulepos;
1572 int ov_pcm_seek(OggVorbis_File *vf,ogg_int64_t pos){
1651 ogg_int64_t target=pos-vf->pcm_offset;
1671 ogg_int64_t pcm_total=0;
1690 ogg_int64_t target=pcm_total+(seconds-time_total)*vf->vi[link].rate;
1701 ogg_int64_t pcm_total=0;
1720 ogg_int64_t target=pcm_total+(seconds-time_total)*vf->vi[link].rate;
1727 ogg_int64_t ov_raw_tell(OggVorbis_File *vf){
1733 ogg_int64_t ov_pcm_tell(OggVorbis_File *vf){
1741 ogg_int64_t pcm_total=0;
2195 static int _ov_64_seek_lap(OggVorbis_File *vf,ogg_int64_t pos,
2196 int (*localseek)(OggVorbis_File *,ogg_int64_t)){
2244 int ov_raw_seek_lap(OggVorbis_File *vf,ogg_int64_t pos){
2248 int ov_pcm_seek_lap(OggVorbis_File *vf,ogg_int64_t pos){
2252 int ov_pcm_seek_page_lap(OggVorbis_File *vf,ogg_int64_t pos){