Lines Matching refs:lacing_fill
255 if(os->lacing_storage<=os->lacing_fill+needed){ in _os_lacing_expand()
343 os->lacing_vals[os->lacing_fill+i]=255; in ogg_stream_iovecin()
344 os->granule_vals[os->lacing_fill+i]=os->granulepos; in ogg_stream_iovecin()
346 os->lacing_vals[os->lacing_fill+i]=bytes%255; in ogg_stream_iovecin()
347 os->granulepos=os->granule_vals[os->lacing_fill+i]=granulepos; in ogg_stream_iovecin()
350 os->lacing_vals[os->lacing_fill]|= 0x100; in ogg_stream_iovecin()
352 os->lacing_fill+=lacing_vals; in ogg_stream_iovecin()
375 int maxvals=(os->lacing_fill>255?255:os->lacing_fill); in ogg_stream_flush_i()
438 if(os->e_o_s && os->lacing_fill==vals)os->header[5]|=0x04; in ogg_stream_flush_i()
490 os->lacing_fill-=vals; in ogg_stream_flush_i()
491 memmove(os->lacing_vals,os->lacing_vals+vals,os->lacing_fill*sizeof(*os->lacing_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()
529 if((os->e_o_s&&os->lacing_fill) || /* 'were done, now flush' case */ in ogg_stream_pageout()
530 (os->lacing_fill&&!os->b_o_s)) /* 'initial header page' case */ in ogg_stream_pageout()
799 if(os->lacing_fill-lr){ in ogg_stream_pagein()
801 (os->lacing_fill-lr)*sizeof(*os->lacing_vals)); in ogg_stream_pagein()
803 (os->lacing_fill-lr)*sizeof(*os->granule_vals)); in ogg_stream_pagein()
805 os->lacing_fill-=lr; in ogg_stream_pagein()
822 for(i=os->lacing_packet;i<os->lacing_fill;i++) in ogg_stream_pagein()
824 os->lacing_fill=os->lacing_packet; in ogg_stream_pagein()
828 os->lacing_vals[os->lacing_fill++]=0x400; in ogg_stream_pagein()
836 if(os->lacing_fill<1 || in ogg_stream_pagein()
837 os->lacing_vals[os->lacing_fill-1]==0x400){ in ogg_stream_pagein()
861 os->lacing_vals[os->lacing_fill]=val; in ogg_stream_pagein()
862 os->granule_vals[os->lacing_fill]=-1; in ogg_stream_pagein()
865 os->lacing_vals[os->lacing_fill]|=0x100; in ogg_stream_pagein()
869 if(val<255)saved=os->lacing_fill; in ogg_stream_pagein()
871 os->lacing_fill++; in ogg_stream_pagein()
874 if(val<255)os->lacing_packet=os->lacing_fill; in ogg_stream_pagein()
886 if(os->lacing_fill>0) in ogg_stream_pagein()
887 os->lacing_vals[os->lacing_fill-1]|=0x200; in ogg_stream_pagein()
913 os->lacing_fill=0; in ogg_stream_reset()