Lines Matching refs:og

439 int ogg_page_version(ogg_page *og){  in ogg_page_version()  argument
441 if(oggbyte_init(&ob,og->header))return -1; in ogg_page_version()
445 int ogg_page_continued(ogg_page *og){ in ogg_page_continued() argument
447 if(oggbyte_init(&ob,og->header))return -1; in ogg_page_continued()
451 int ogg_page_bos(ogg_page *og){ in ogg_page_bos() argument
453 if(oggbyte_init(&ob,og->header))return -1; in ogg_page_bos()
457 int ogg_page_eos(ogg_page *og){ in ogg_page_eos() argument
459 if(oggbyte_init(&ob,og->header))return -1; in ogg_page_eos()
463 ogg_int64_t ogg_page_granulepos(ogg_page *og){ in ogg_page_granulepos() argument
465 if(oggbyte_init(&ob,og->header))return -1; in ogg_page_granulepos()
469 ogg_uint32_t ogg_page_serialno(ogg_page *og){ in ogg_page_serialno() argument
471 if(oggbyte_init(&ob,og->header)) return 0xffffffffUL; in ogg_page_serialno()
475 ogg_uint32_t ogg_page_pageno(ogg_page *og){ in ogg_page_pageno() argument
477 if(oggbyte_init(&ob,og->header))return 0xffffffffUL; in ogg_page_pageno()
498 int ogg_page_packets(ogg_page *og){ in ogg_page_packets() argument
503 oggbyte_init(&ob,og->header); in ogg_page_packets()
694 long ogg_sync_pageseek(ogg_sync_state *oy,ogg_page *og){ in ogg_sync_pageseek() argument
698 ogg_page_release(og); in ogg_sync_pageseek()
745 if(og){ in ogg_sync_pageseek()
747 og->header=ogg_buffer_split(&oy->fifo_tail,&oy->fifo_head,oy->headerbytes); in ogg_sync_pageseek()
748 og->header_len=oy->headerbytes; in ogg_sync_pageseek()
749 og->body=ogg_buffer_split(&oy->fifo_tail,&oy->fifo_head,oy->bodybytes); in ogg_sync_pageseek()
750 og->body_len=oy->bodybytes; in ogg_sync_pageseek()
810 int ogg_sync_pageout(ogg_sync_state *oy, ogg_page *og){ in ogg_sync_pageout() argument
817 long ret=ogg_sync_pageseek(oy,og); in ogg_sync_pageout()
926 ogg_page og; /* only for parsing header values */ in _span_queued_page() local
927 og.header=os->header_tail; /* only for parsing header values */ in _span_queued_page()
928 pageno=ogg_page_pageno(&og); in _span_queued_page()
947 if(ogg_page_continued(&og)){ in _span_queued_page()
973 os->granulepos=ogg_page_granulepos(&og); in _span_queued_page()
985 os->e_o_s=ogg_page_eos(&og); in _span_queued_page()
986 os->b_o_s=ogg_page_bos(&og); in _span_queued_page()
995 int ogg_stream_pagein(ogg_stream_state *os, ogg_page *og){ in ogg_stream_pagein() argument
997 int serialno=ogg_page_serialno(og); in ogg_stream_pagein()
998 int version=ogg_page_version(og); in ogg_stream_pagein()
1012 os->body_tail=og->body; in ogg_stream_pagein()
1013 os->body_head=ogg_buffer_walk(og->body); in ogg_stream_pagein()
1015 os->body_head=ogg_buffer_cat(os->body_head,og->body); in ogg_stream_pagein()
1018 os->header_tail=og->header; in ogg_stream_pagein()
1019 os->header_head=ogg_buffer_walk(og->header); in ogg_stream_pagein()
1022 os->header_head=ogg_buffer_cat(os->header_head,og->header); in ogg_stream_pagein()
1025 memset(og,0,sizeof(*og)); in ogg_stream_pagein()
1154 int ogg_page_release(ogg_page *og) { in ogg_page_release() argument
1155 if(og){ in ogg_page_release()
1156 ogg_buffer_release(og->header); in ogg_page_release()
1157 ogg_buffer_release(og->body); in ogg_page_release()
1158 memset(og, 0, sizeof(*og)); in ogg_page_release()