Lines Matching defs:streams

73     OutputStream *streams;
140 AVCodecParameters *par = os->ctx->streams[0]->codecpar;
165 if (!c->streams)
168 OutputStream *os = &c->streams[i];
180 av_freep(&c->streams);
220 OutputStream *os = &c->streams[i];
225 if (s->streams[i]->codecpar->codec_type == AVMEDIA_TYPE_VIDEO) {
249 OutputStream *os = &c->streams[i];
250 if (s->streams[i]->codecpar->codec_type != AVMEDIA_TYPE_VIDEO)
253 avio_printf(out, "<QualityLevel Index=\"%d\" Bitrate=\"%"PRId64"\" FourCC=\"%s\" MaxWidth=\"%d\" MaxHeight=\"%d\" CodecPrivateData=\"%s\" />\n", index, s->streams[i]->codecpar->bit_rate, os->fourcc, s->streams[i]->codecpar->width, s->streams[i]->codecpar->height, os->private_str);
256 output_chunk_list(&c->streams[last], out, final, c->lookahead_count, c->window_size);
263 OutputStream *os = &c->streams[i];
264 if (s->streams[i]->codecpar->codec_type != AVMEDIA_TYPE_AUDIO)
268 index, s->streams[i]->codecpar->bit_rate, os->fourcc, s->streams[i]->codecpar->sample_rate,
269 s->streams[i]->codecpar->ch_layout.nb_channels, os->packet_size, os->audio_tag, os->private_str);
272 output_chunk_list(&c->streams[last], out, final, c->lookahead_count, c->window_size);
297 c->streams = av_calloc(s->nb_streams, sizeof(*c->streams));
298 if (!c->streams) {
303 OutputStream *os = &c->streams[i];
308 if (!s->streams[i]->codecpar->bit_rate) {
313 snprintf(os->dirname, sizeof(os->dirname), "%s/QualityLevels(%"PRId64")", s->url, s->streams[i]->codecpar->bit_rate);
333 avcodec_parameters_copy(st->codecpar, s->streams[i]->codecpar);
334 st->sample_aspect_ratio = s->streams[i]->sample_aspect_ratio;
335 st->time_base = s->streams[i]->time_base;
350 s->streams[i]->time_base = st->time_base;
502 OutputStream *os = &c->streams[i];
525 if (!s->streams[i]->codecpar->bit_rate) {
526 int64_t bitrate = (int64_t) size * 8 * AV_TIME_BASE / av_rescale_q(duration, s->streams[i]->time_base, AV_TIME_BASE_Q);
534 s->streams[i]->codecpar->bit_rate = bitrate;
536 snprintf(os->dirname, sizeof(os->dirname), "%s/QualityLevels(%"PRId64")", s->url, s->streams[i]->codecpar->bit_rate);
556 OutputStream *os = &c->streams[i];
583 AVStream *st = s->streams[pkt->stream_index];
585 OutputStream *os = &c->streams[pkt->stream_index];