Searched refs:granulepos (Results 1 – 16 of 16) sorted by relevance
59 v->granulepos=-1; in vorbis_dsp_restart()263 vd->granulepos=-1; in vorbis_dsp_synthesis()277 if(vd->granulepos==-1){ in vorbis_dsp_synthesis()278 if(op->granulepos!=-1){ /* only set if we have a in vorbis_dsp_synthesis()281 vd->granulepos=op->granulepos; in vorbis_dsp_synthesis()284 if(vd->sample_count>vd->granulepos){ in vorbis_dsp_synthesis()294 vd->out_end-=(int)(vd->sample_count-vd->granulepos); in vorbis_dsp_synthesis()297 vd->out_begin+=(int)(vd->sample_count-vd->granulepos); in vorbis_dsp_synthesis()306 vd->granulepos+= in vorbis_dsp_synthesis()308 if(op->granulepos!=-1 && vd->granulepos!=op->granulepos){ in vorbis_dsp_synthesis()[all …]
569 ogg_int64_t granulepos; in _fetch_and_process_packet() local577 granulepos=op.granulepos; in _fetch_and_process_packet()590 if(granulepos!=-1 && !op.e_o_s){ in _fetch_and_process_packet()608 granulepos-=vf->pcmlengths[link*2]; in _fetch_and_process_packet()609 if(granulepos<0)granulepos=0; /* actually, this in _fetch_and_process_packet()616 granulepos-=samples; in _fetch_and_process_packet()618 granulepos+=vf->pcmlengths[i*2+1]; in _fetch_and_process_packet()619 vf->pcm_offset=granulepos; in _fetch_and_process_packet()1063 if(op.granulepos!=-1){ in ov_raw_seek()1065 ogg_int64_t granulepos=op.granulepos-vf->pcmlengths[link*2]; in ov_raw_seek() local[all …]
136 ogg_int64_t granulepos; member155 ogg_int64_t granulepos; member
973 os->granulepos=ogg_page_granulepos(&og); in _span_queued_page()1040 os->granulepos=0; in ogg_stream_reset()1099 op->granulepos=os->granulepos; in _packetout()1101 op->granulepos=-1; in _packetout()
70 ogg_int64_t granulepos; member
608 vb->granulepos=v->granulepos; in vorbis_analysis_blockout()670 v->granulepos+=movementW-(v->centerW-v->eofflag); in vorbis_analysis_blockout()672 v->granulepos+=movementW; in vorbis_analysis_blockout()675 v->granulepos+=movementW; in vorbis_analysis_blockout()699 v->granulepos=-1; in vorbis_synthesis_restart()736 v->granulepos=-1; /* out of sequence; lose count */ in vorbis_synthesis_blockin()853 if(v->granulepos==-1){ in vorbis_synthesis_blockin()854 if(vb->granulepos!=-1){ /* only set if we have a position to set to */ in vorbis_synthesis_blockin()856 v->granulepos=vb->granulepos; in vorbis_synthesis_blockin()859 if(b->sample_count>v->granulepos){ in vorbis_synthesis_blockin()[all …]
75 vb->granulepos=op->granulepos; in vorbis_synthesis()128 vb->granulepos=op->granulepos; in vorbis_synthesis_trackonly()
694 ogg_int64_t granulepos; in _fetch_and_process_packet() local700 granulepos=op_ptr->granulepos; in _fetch_and_process_packet()722 if(granulepos!=-1 && !op_ptr->e_o_s){ in _fetch_and_process_packet()740 granulepos-=vf->pcmlengths[link*2]; in _fetch_and_process_packet()741 if(granulepos<0)granulepos=0; /* actually, this in _fetch_and_process_packet()748 granulepos-=samples; in _fetch_and_process_packet()750 granulepos+=vf->pcmlengths[i*2+1]; in _fetch_and_process_packet()751 vf->pcm_offset=granulepos; in _fetch_and_process_packet()1298 if(op.granulepos!=-1){ in ov_raw_seek()1300 ogg_int64_t granulepos=op.granulepos-vf->pcmlengths[link*2]; in ov_raw_seek() local[all …]
60 op->granulepos=vb->granulepos; in vorbis_analysis()
561 op->granulepos=0; in vorbis_commentheader_out()595 op->granulepos=0; in vorbis_analysis_headerout()610 op_comm->granulepos=0; in vorbis_analysis_headerout()625 op_code->granulepos=0; in vorbis_analysis_headerout()647 double vorbis_granule_time(vorbis_dsp_state *v,ogg_int64_t granulepos){ in vorbis_granule_time() argument648 if(granulepos>=0) in vorbis_granule_time()649 return((double)granulepos/v->vi->rate); in vorbis_granule_time()
247 op->granulepos=vb->granulepos; in vorbis_bitrate_flushpacket()
47 ogg_int64_t granulepos=page[13]&(0xff); in ogg_page_granulepos() local48 granulepos= (granulepos<<8)|(page[12]&0xff); in ogg_page_granulepos()49 granulepos= (granulepos<<8)|(page[11]&0xff); in ogg_page_granulepos()50 granulepos= (granulepos<<8)|(page[10]&0xff); in ogg_page_granulepos()51 granulepos= (granulepos<<8)|(page[9]&0xff); in ogg_page_granulepos()52 granulepos= (granulepos<<8)|(page[8]&0xff); in ogg_page_granulepos()53 granulepos= (granulepos<<8)|(page[7]&0xff); in ogg_page_granulepos()54 granulepos= (granulepos<<8)|(page[6]&0xff); in ogg_page_granulepos()55 return(granulepos); in ogg_page_granulepos()305 long e_o_s, ogg_int64_t granulepos){ in ogg_stream_iovecin() argument[all …]
77 ogg_int64_t granulepos; member100 ogg_int64_t granulepos; member180 ogg_int64_t granulepos);
83 ogg_int64_t granulepos; member96 ogg_int64_t granulepos; member160 int count, long e_o_s, ogg_int64_t granulepos);
19 * Correct a bug in the granulepos field of pages where no packet ends
75 granulepos says that through the last packet we only have 'original'122 granulepos values, although this too is illegal).