Home
last modified time | relevance | path

Searched refs:opage (Results 1 – 5 of 5) sorted by relevance

/third_party/libsnd/src/
Dogg.c171 …ret = ogg_sync_next_page (psf, &odata->opage, SF_MAX ((sf_count_t) 0, 4096 - psf->header.indx), NU… in ogg_read_first_page()
179 if (!ogg_page_bos (&odata->opage)) in ogg_read_first_page()
193 ogg_stream_reset_serialno (&odata->ostream, ogg_page_serialno (&odata->opage)) ; in ogg_read_first_page()
195 if (ogg_stream_pagein (&odata->ostream, &odata->opage) < 0) in ogg_read_first_page()
316 { nn = ogg_sync_next_page (psf, &odata->opage, -1, NULL) ; in ogg_stream_next_page()
324 if (ogg_page_serialno (&odata->opage) == odata->ostream.serialno) in ogg_stream_next_page()
328 if (ogg_page_eos (&odata->opage)) in ogg_stream_next_page()
331 if (ogg_stream_pagein (&odata->ostream, &odata->opage) < 0) in ogg_stream_next_page()
420 { ret = ogg_sync_next_page (psf, &odata->opage, end - position, &position) ; in ogg_sync_last_page_before()
423 if (ogg_page_serialno (&odata->opage) == serialno) in ogg_sync_last_page_before()
[all …]
Dogg_speex.c190 while (ogg_sync_pageout (&odata->osync, &odata->opage) == 1) in spx_read_header()
192 { ogg_stream_init (&odata->ostream, ogg_page_serialno (&odata->opage)) ; in spx_read_header()
196 if (ogg_page_serialno (&odata->opage) != odata->ostream.serialno) in spx_read_header()
198 ogg_stream_reset_serialno (&odata->ostream, ogg_page_serialno (&odata->opage)) ; in spx_read_header()
202 ogg_stream_pagein (&odata->ostream, &odata->opage) ; in spx_read_header()
203 page_granule = ogg_page_granulepos (&odata->opage) ; in spx_read_header()
204 page_nb_packets = ogg_page_packets (&odata->opage) ; in spx_read_header()
Dogg_opus.c524 if (ogg_page_packets (&odata->opage) != 1 || !ogg_page_bos (&odata->opage)) in ogg_opus_read_header()
527 oopus->serialno = ogg_page_serialno (&odata->opage) ; in ogg_opus_read_header()
818 for ( ; (nn = ogg_stream_flush (&odata->ostream, &odata->opage)) ; ) in ogg_opus_write_header()
819 { if (! (nn = ogg_write_page (psf, &odata->opage))) in ogg_opus_write_header()
841 for ( ; (nn = ogg_stream_flush (&odata->ostream, &odata->opage)) ; ) in ogg_opus_write_header()
842 { if (! (nn = ogg_write_page (psf, &odata->opage))) in ogg_opus_write_header()
917 while (ogg_stream_pageout (&odata->ostream, &odata->opage)) in ogg_opus_flush()
918 ogg_write_page (psf, &odata->opage) ; in ogg_opus_flush()
921 while (ogg_stream_flush (&odata->ostream, &odata->opage)) in ogg_opus_flush()
922 ogg_write_page (psf, &odata->opage) ; in ogg_opus_flush()
[all …]
Dogg_vorbis.c262 { if (!ogg_page_eos (&odata->opage)) in vorbis_read_header()
264 psf->datalength = last_page + odata->opage.header_len + odata->opage.body_len - psf->dataoffset ; in vorbis_read_header()
399 while ((result = ogg_stream_flush (&odata->ostream, &odata->opage)) != 0) in vorbis_write_header()
400 { ogg_write_page (psf, &odata->opage) ; in vorbis_write_header()
437 { int result = ogg_stream_pageout (&odata->ostream, &odata->opage) ; in vorbis_close()
439 ogg_write_page (psf, &odata->opage) ; in vorbis_close()
444 if (ogg_page_eos (&odata->opage)) odata->eos = 1 ; in vorbis_close()
712 { int result = ogg_stream_pageout (&odata->ostream, &odata->opage) ; in vorbis_write_samples()
715 ogg_write_page (psf, &odata->opage) ; in vorbis_write_samples()
719 if (ogg_page_eos (&odata->opage)) in vorbis_write_samples()
Dogg.h40 ogg_page opage ; member