Lines Matching refs:granule_vals
196 os->granule_vals=_ogg_malloc(os->lacing_storage*sizeof(*os->granule_vals)); in ogg_stream_init()
198 if(!os->body_data || !os->lacing_vals || !os->granule_vals){ in ogg_stream_init()
221 if(os->granule_vals)_ogg_free(os->granule_vals); in ogg_stream_clear()
264 ret=_ogg_realloc(os->granule_vals,(os->lacing_storage+needed+32)* in _os_lacing_expand()
265 sizeof(*os->granule_vals)); in _os_lacing_expand()
270 os->granule_vals=ret; in _os_lacing_expand()
344 os->granule_vals[os->lacing_fill+i]=os->granulepos; in ogg_stream_iovecin()
347 os->granulepos=os->granule_vals[os->lacing_fill+i]=granulepos; in ogg_stream_iovecin()
416 granule_pos=os->granule_vals[vals]; in ogg_stream_flush_i()
492 memmove(os->granule_vals,os->granule_vals+vals,os->lacing_fill*sizeof(*os->granule_vals)); in ogg_stream_flush_i()
802 memmove(os->granule_vals,os->granule_vals+lr, in ogg_stream_pagein()
803 (os->lacing_fill-lr)*sizeof(*os->granule_vals)); in ogg_stream_pagein()
862 os->granule_vals[os->lacing_fill]=-1; in ogg_stream_pagein()
879 os->granule_vals[saved]=granulepos; in ogg_stream_pagein()
976 op->granulepos=os->granule_vals[ptr]; in _packetout()