ogg 219 libavformat/allformats.c REGISTER_MUXDEMUX(OGG, ogg); ogg 67 libavformat/oggdec.c struct ogg *ogg = s->priv_data; ogg 69 libavformat/oggdec.c av_malloc(sizeof(*ost) + (ogg->nstreams - 1) * sizeof(*ogg->streams)); ogg 76 libavformat/oggdec.c ost->curidx = ogg->curidx; ogg 77 libavformat/oggdec.c ost->next = ogg->state; ogg 78 libavformat/oggdec.c ost->nstreams = ogg->nstreams; ogg 79 libavformat/oggdec.c memcpy(ost->streams, ogg->streams, ogg->nstreams * sizeof(*ogg->streams)); ogg 81 libavformat/oggdec.c for (i = 0; i < ogg->nstreams; i++) { ogg 82 libavformat/oggdec.c struct ogg_stream *os = ogg->streams + i; ogg 89 libavformat/oggdec.c ogg->state = ost; ogg 96 libavformat/oggdec.c struct ogg *ogg = s->priv_data; ogg 98 libavformat/oggdec.c struct ogg_state *ost = ogg->state; ogg 104 libavformat/oggdec.c ogg->state = ost->next; ogg 108 libavformat/oggdec.c for (i = 0; i < ogg->nstreams; i++) ogg 109 libavformat/oggdec.c av_freep(&ogg->streams[i].buf); ogg 112 libavformat/oggdec.c ogg->page_pos = -1; ogg 113 libavformat/oggdec.c ogg->curidx = ost->curidx; ogg 114 libavformat/oggdec.c ogg->nstreams = ost->nstreams; ogg 115 libavformat/oggdec.c if ((err = av_reallocp_array(&ogg->streams, ogg->nstreams, ogg 116 libavformat/oggdec.c sizeof(*ogg->streams))) < 0) { ogg 117 libavformat/oggdec.c ogg->nstreams = 0; ogg 120 libavformat/oggdec.c memcpy(ogg->streams, ost->streams, ogg 121 libavformat/oggdec.c ost->nstreams * sizeof(*ogg->streams)); ogg 131 libavformat/oggdec.c struct ogg *ogg = s->priv_data; ogg 135 libavformat/oggdec.c for (i = 0; i < ogg->nstreams; i++) { ogg 136 libavformat/oggdec.c struct ogg_stream *os = ogg->streams + i; ogg 157 libavformat/oggdec.c ogg->page_pos = -1; ogg 158 libavformat/oggdec.c ogg->curidx = -1; ogg 182 libavformat/oggdec.c struct ogg *ogg = s->priv_data; ogg 198 libavformat/oggdec.c for (i = 0; i < ogg->nstreams; i++) { ogg 199 libavformat/oggdec.c if (ogg->streams[i].codec == codec) ogg 202 libavformat/oggdec.c if (i >= ogg->nstreams) ogg 204 libavformat/oggdec.c } else if (ogg->nstreams != 1) { ogg 209 libavformat/oggdec.c os = &ogg->streams[i]; ogg 219 libavformat/oggdec.c if (!ogg->state || ogg->state->streams[i].private != os->private) ogg 220 libavformat/oggdec.c av_freep(&ogg->streams[i].private); ogg 237 libavformat/oggdec.c struct ogg *ogg = s->priv_data; ogg 238 libavformat/oggdec.c int idx = ogg->nstreams; ogg 243 libavformat/oggdec.c if (ogg->state) { ogg 250 libavformat/oggdec.c if (av_size_mult(ogg->nstreams + 1, sizeof(*ogg->streams), &size) < 0 || ogg 251 libavformat/oggdec.c !(os = av_realloc(ogg->streams, size))) ogg 253 libavformat/oggdec.c ogg->streams = os; ogg 254 libavformat/oggdec.c os = ogg->streams + idx; ogg 273 libavformat/oggdec.c ogg->nstreams++; ogg 277 libavformat/oggdec.c static int ogg_new_buf(struct ogg *ogg, int idx) ogg 279 libavformat/oggdec.c struct ogg_stream *os = ogg->streams + idx; ogg 298 libavformat/oggdec.c static int data_packets_seen(const struct ogg *ogg) ogg 302 libavformat/oggdec.c for (i = 0; i < ogg->nstreams; i++) ogg 303 libavformat/oggdec.c if (ogg->streams[i].got_data) ogg 311 libavformat/oggdec.c struct ogg *ogg = s->priv_data; ogg 333 libavformat/oggdec.c if(!i && bc->seekable && ogg->page_pos > 0) { ogg 335 libavformat/oggdec.c avio_seek(bc, ogg->page_pos+4, SEEK_SET); ogg 336 libavformat/oggdec.c ogg->page_pos = -1; ogg 363 libavformat/oggdec.c idx = ogg_find_stream(ogg, serial); ogg 365 libavformat/oggdec.c if (data_packets_seen(ogg)) ogg 376 libavformat/oggdec.c os = ogg->streams + idx; ogg 377 libavformat/oggdec.c ogg->page_pos = ogg 381 libavformat/oggdec.c ret = ogg_new_buf(ogg, idx); ogg 452 libavformat/oggdec.c struct ogg *ogg = s->priv_data; ogg 458 libavformat/oggdec.c av_dlog(s, "ogg_packet: curidx=%i\n", ogg->curidx); ogg 463 libavformat/oggdec.c idx = ogg->curidx; ogg 471 libavformat/oggdec.c os = ogg->streams + idx; ogg 502 libavformat/oggdec.c ogg->curidx = -1; ogg 517 libavformat/oggdec.c ogg->curidx = idx; ogg 529 libavformat/oggdec.c ogg->headers = 1; ogg 536 libavformat/oggdec.c for (i = 0; i < ogg->nstreams; i++) { ogg 537 libavformat/oggdec.c struct ogg_stream *cur_os = ogg->streams + i; ogg 579 libavformat/oggdec.c ogg->curidx = -1; ogg 586 libavformat/oggdec.c struct ogg *ogg = s->priv_data; ogg 608 libavformat/oggdec.c ogg->page_pos = -1; ogg 611 libavformat/oggdec.c if (ogg->streams[i].granule != -1 && ogg->streams[i].granule != 0 && ogg 612 libavformat/oggdec.c ogg->streams[i].codec) { ogg 614 libavformat/oggdec.c ogg_gptopts(s, i, ogg->streams[i].granule, NULL); ogg 617 libavformat/oggdec.c streams_left-= (ogg->streams[i].got_start==-1); ogg 618 libavformat/oggdec.c ogg->streams[i].got_start= 1; ogg 619 libavformat/oggdec.c } else if(!ogg->streams[i].got_start) { ogg 620 libavformat/oggdec.c ogg->streams[i].got_start= -1; ogg 638 libavformat/oggdec.c if (pts != AV_NOPTS_VALUE && s->streams[i]->start_time == AV_NOPTS_VALUE && !ogg->streams[i].got_start) { ogg 640 libavformat/oggdec.c ogg->streams[i].got_start= 1; ogg 642 libavformat/oggdec.c }else if(s->streams[i]->start_time != AV_NOPTS_VALUE && !ogg->streams[i].got_start) { ogg 643 libavformat/oggdec.c ogg->streams[i].got_start= 1; ogg 654 libavformat/oggdec.c struct ogg *ogg = s->priv_data; ogg 657 libavformat/oggdec.c for (i = 0; i < ogg->nstreams; i++) { ogg 658 libavformat/oggdec.c av_freep(&ogg->streams[i].buf); ogg 659 libavformat/oggdec.c if (ogg->streams[i].codec && ogg 660 libavformat/oggdec.c ogg->streams[i].codec->cleanup) { ogg 661 libavformat/oggdec.c ogg->streams[i].codec->cleanup(s, i); ogg 663 libavformat/oggdec.c av_freep(&ogg->streams[i].private); ogg 664 libavformat/oggdec.c av_freep(&ogg->streams[i].new_metadata); ogg 667 libavformat/oggdec.c ogg->nstreams = 0; ogg 669 libavformat/oggdec.c av_freep(&ogg->streams); ogg 675 libavformat/oggdec.c struct ogg *ogg = s->priv_data; ogg 678 libavformat/oggdec.c ogg->curidx = -1; ogg 687 libavformat/oggdec.c } while (!ogg->headers); ogg 690 libavformat/oggdec.c for (i = 0; i < ogg->nstreams; i++) { ogg 691 libavformat/oggdec.c struct ogg_stream *os = ogg->streams + i; ogg 693 libavformat/oggdec.c if (ogg->streams[i].header < 0) { ogg 695 libavformat/oggdec.c ogg->streams[i].codec = NULL; ogg 717 libavformat/oggdec.c struct ogg *ogg = s->priv_data; ogg 718 libavformat/oggdec.c struct ogg_stream *os = ogg->streams + idx; ogg 747 libavformat/oggdec.c struct ogg *ogg = s->priv_data; ogg 748 libavformat/oggdec.c struct ogg_stream *os = ogg->streams + idx; ogg 768 libavformat/oggdec.c struct ogg *ogg; ogg 787 libavformat/oggdec.c ogg = s->priv_data; ogg 788 libavformat/oggdec.c os = ogg->streams + idx; ogg 842 libavformat/oggdec.c struct ogg *ogg = s->priv_data; ogg 854 libavformat/oggdec.c struct ogg_stream *os = ogg->streams + stream_index; ogg 883 libavformat/oggdec.c struct ogg *ogg = s->priv_data; ogg 884 libavformat/oggdec.c struct ogg_stream *os = ogg->streams + stream_index; ogg 887 libavformat/oggdec.c av_assert0(stream_index < ogg->nstreams); ogg 899 libavformat/oggdec.c os = ogg->streams + stream_index; ogg 915 libavformat/oggdec.c .priv_data_size = sizeof(struct ogg), ogg 139 libavformat/oggdec.h ogg_find_stream (struct ogg * ogg, int serial) ogg 143 libavformat/oggdec.h for (i = 0; i < ogg->nstreams; i++) ogg 144 libavformat/oggdec.h if (ogg->streams[i].serial == serial) ogg 153 libavformat/oggdec.h struct ogg *ogg = s->priv_data; ogg 154 libavformat/oggdec.h struct ogg_stream *os = ogg->streams + i; ogg 188 libavformat/oggenc.c OGGContext *ogg = s->priv_data; ogg 189 libavformat/oggenc.c OGGPageList **p = &ogg->page_list; ogg 216 libavformat/oggenc.c OGGContext *ogg = s->priv_data; ogg 272 libavformat/oggenc.c (ogg->pref_size > 0 && page->size >= ogg->pref_size) || ogg 273 libavformat/oggenc.c (ogg->pref_duration > 0 && next - start >= ogg->pref_duration)) { ogg 405 libavformat/oggenc.c OGGContext *ogg = s->priv_data; ogg 408 libavformat/oggenc.c if (!ogg->page_list) ogg 411 libavformat/oggenc.c for (p = ogg->page_list; p; ) { ogg 422 libavformat/oggenc.c ogg->page_list = p; ogg 427 libavformat/oggenc.c OGGContext *ogg = s->priv_data; ogg 431 libavformat/oggenc.c if (ogg->pref_size) ogg 436 libavformat/oggenc.c unsigned serial_num = i + ogg->serial_offset; ogg 653 libavformat/oggenc.c OGG_CLASS(ogg, Ogg) ogg 35 libavformat/oggparsecelt.c struct ogg *ogg = s->priv_data; ogg 36 libavformat/oggparsecelt.c struct ogg_stream *os = ogg->streams + idx; ogg 29 libavformat/oggparsedirac.c struct ogg *ogg = s->priv_data; ogg 30 libavformat/oggparsedirac.c struct ogg_stream *os = ogg->streams + idx; ogg 55 libavformat/oggparsedirac.c struct ogg *ogg = s->priv_data; ogg 56 libavformat/oggparsedirac.c struct ogg_stream *os = ogg->streams + idx; ogg 73 libavformat/oggparsedirac.c struct ogg *ogg = s->priv_data; ogg 74 libavformat/oggparsedirac.c struct ogg_stream *os = ogg->streams + idx; ogg 90 libavformat/oggparsedirac.c struct ogg *ogg = s->priv_data; ogg 91 libavformat/oggparsedirac.c struct ogg_stream *os = ogg->streams + idx; ogg 33 libavformat/oggparseflac.c struct ogg *ogg = s->priv_data; ogg 34 libavformat/oggparseflac.c struct ogg_stream *os = ogg->streams + idx; ogg 83 libavformat/oggparseflac.c struct ogg *ogg = s->priv_data; ogg 85 libavformat/oggparseflac.c struct ogg_stream *os = ogg->streams + idx; ogg 38 libavformat/oggparseogm.c struct ogg *ogg = s->priv_data; ogg 39 libavformat/oggparseogm.c struct ogg_stream *os = ogg->streams + idx; ogg 123 libavformat/oggparseogm.c struct ogg *ogg = s->priv_data; ogg 124 libavformat/oggparseogm.c struct ogg_stream *os = ogg->streams + idx; ogg 164 libavformat/oggparseogm.c struct ogg *ogg = s->priv_data; ogg 165 libavformat/oggparseogm.c struct ogg_stream *os = ogg->streams + idx; ogg 40 libavformat/oggparseopus.c struct ogg *ogg = avf->priv_data; ogg 41 libavformat/oggparseopus.c struct ogg_stream *os = &ogg->streams[idx]; ogg 111 libavformat/oggparseopus.c struct ogg *ogg = avf->priv_data; ogg 112 libavformat/oggparseopus.c struct ogg_stream *os = &ogg->streams[idx]; ogg 28 libavformat/oggparseskeleton.c struct ogg *ogg = s->priv_data; ogg 29 libavformat/oggparseskeleton.c struct ogg_stream *os = ogg->streams + idx; ogg 77 libavformat/oggparseskeleton.c target_idx = ogg_find_stream(ogg, AV_RL32(buf+12)); ogg 83 libavformat/oggparseskeleton.c os = ogg->streams + target_idx; ogg 42 libavformat/oggparsespeex.c struct ogg *ogg = s->priv_data; ogg 43 libavformat/oggparsespeex.c struct ogg_stream *os = ogg->streams + idx; ogg 104 libavformat/oggparsespeex.c struct ogg *ogg = s->priv_data; ogg 105 libavformat/oggparsespeex.c struct ogg_stream *os = ogg->streams + idx; ogg 40 libavformat/oggparsetheora.c struct ogg *ogg = s->priv_data; ogg 41 libavformat/oggparsetheora.c struct ogg_stream *os = ogg->streams + idx; ogg 148 libavformat/oggparsetheora.c struct ogg *ogg = ctx->priv_data; ogg 149 libavformat/oggparsetheora.c struct ogg_stream *os = ogg->streams + idx; ogg 173 libavformat/oggparsetheora.c struct ogg *ogg = s->priv_data; ogg 174 libavformat/oggparsetheora.c struct ogg_stream *os = ogg->streams + idx; ogg 252 libavformat/oggparsevorbis.c struct ogg *ogg = s->priv_data; ogg 253 libavformat/oggparsevorbis.c struct ogg_stream *os = ogg->streams + idx; ogg 265 libavformat/oggparsevorbis.c struct ogg *ogg = s->priv_data; ogg 266 libavformat/oggparsevorbis.c struct ogg_stream *os = ogg->streams + idx; ogg 295 libavformat/oggparsevorbis.c struct ogg *ogg = s->priv_data; ogg 297 libavformat/oggparsevorbis.c struct ogg_stream *os = ogg->streams + idx; ogg 404 libavformat/oggparsevorbis.c struct ogg *ogg = s->priv_data; ogg 405 libavformat/oggparsevorbis.c struct ogg_stream *os = ogg->streams + idx; ogg 32 libavformat/oggparsevp8.c struct ogg *ogg = s->priv_data; ogg 33 libavformat/oggparsevp8.c struct ogg_stream *os = ogg->streams + idx; ogg 82 libavformat/oggparsevp8.c struct ogg *ogg = s->priv_data; ogg 83 libavformat/oggparsevp8.c struct ogg_stream *os = ogg->streams + idx; ogg 99 libavformat/oggparsevp8.c struct ogg *ogg = s->priv_data; ogg 100 libavformat/oggparsevp8.c struct ogg_stream *os = ogg->streams + idx;