Lines Matching refs:streams
77 OutputStream *streams; member
144 AVCodecParameters *par = os->ctx->streams[0]->codecpar; in get_private_data()
169 if (!c->streams) in ism_free()
172 OutputStream *os = &c->streams[i]; in ism_free()
186 av_freep(&c->streams); in ism_free()
226 OutputStream *os = &c->streams[i]; in write_manifest()
231 if (s->streams[i]->codecpar->codec_type == AVMEDIA_TYPE_VIDEO) { in write_manifest()
255 OutputStream *os = &c->streams[i]; in write_manifest()
256 if (s->streams[i]->codecpar->codec_type != AVMEDIA_TYPE_VIDEO) in write_manifest()
259 …vateData=\"%s\" />\n", index, s->streams[i]->codecpar->bit_rate, os->fourcc, s->streams[i]->codecp… in write_manifest()
262 output_chunk_list(&c->streams[last], out, final, c->lookahead_count, c->window_size); in write_manifest()
269 OutputStream *os = &c->streams[i]; in write_manifest()
270 if (s->streams[i]->codecpar->codec_type != AVMEDIA_TYPE_AUDIO) in write_manifest()
273 …eData=\"%s\" />\n", index, s->streams[i]->codecpar->bit_rate, os->fourcc, s->streams[i]->codecpar-… in write_manifest()
276 output_chunk_list(&c->streams[last], out, final, c->lookahead_count, c->window_size); in write_manifest()
303 c->streams = av_mallocz_array(s->nb_streams, sizeof(*c->streams)); in ism_write_header()
304 if (!c->streams) { in ism_write_header()
310 OutputStream *os = &c->streams[i]; in ism_write_header()
315 if (!s->streams[i]->codecpar->bit_rate) { in ism_write_header()
320 …>dirname, sizeof(os->dirname), "%s/QualityLevels(%"PRId64")", s->url, s->streams[i]->codecpar->bit… in ism_write_header()
341 avcodec_parameters_copy(st->codecpar, s->streams[i]->codecpar); in ism_write_header()
342 st->sample_aspect_ratio = s->streams[i]->sample_aspect_ratio; in ism_write_header()
343 st->time_base = s->streams[i]->time_base; in ism_write_header()
360 s->streams[i]->time_base = st->time_base; in ism_write_header()
516 OutputStream *os = &c->streams[i]; in ism_flush()
539 if (!s->streams[i]->codecpar->bit_rate) { in ism_flush()
540 …int64_t bitrate = (int64_t) size * 8 * AV_TIME_BASE / av_rescale_q(duration, s->streams[i]->time_b… in ism_flush()
548 s->streams[i]->codecpar->bit_rate = bitrate; in ism_flush()
550 …>dirname, sizeof(os->dirname), "%s/QualityLevels(%"PRId64")", s->url, s->streams[i]->codecpar->bit… in ism_flush()
570 OutputStream *os = &c->streams[i]; in ism_flush()
597 AVStream *st = s->streams[pkt->stream_index]; in ism_write_packet()
598 OutputStream *os = &c->streams[pkt->stream_index]; in ism_write_packet()