Lines Matching defs:streams

45     int *streams;
73 AVDictionaryEntry *duration = av_dict_get(s->streams[i]->metadata,
132 AVDictionaryEntry *gold = av_dict_get(s->streams[as->streams[0]]->metadata,
136 AVDictionaryEntry *ts = av_dict_get(s->streams[as->streams[i]]->metadata,
146 const AVStream *gold_st = s->streams[as->streams[0]];
152 const AVStream *st = s->streams[as->streams[i]];
198 // For live streams, Codec and Mime Type always go in the Representation tag.
202 // For live streams, subsegments always start with key frames. So this
227 * Checks if width of all streams are the same. Returns 1 if true, 0 otherwise.
233 first_width = s->streams[as->streams[0]]->codecpar->width;
235 if (first_width != s->streams[as->streams[i]]->codecpar->width)
241 * Checks if height of all streams are the same. Returns 1 if true, 0 otherwise.
247 first_height = s->streams[as->streams[0]]->codecpar->height;
249 if (first_height != s->streams[as->streams[i]]->codecpar->height)
255 * Checks if sample rate of all streams are the same. Returns 1 if true, 0 otherwise.
261 first_sample_rate = s->streams[as->streams[0]]->codecpar->sample_rate;
263 if (first_sample_rate != s->streams[as->streams[i]]->codecpar->sample_rate)
273 av_freep(&w->as[i].streams);
307 const AVStream *st = s->streams[as->streams[0]];
317 // on their respective Representation tag. For live streams, they always go
349 AVDictionaryEntry *kf = av_dict_get(s->streams[as->streams[i]]->metadata,
382 AVStream *st = s->streams[as->streams[i]];
417 // syntax id=0,streams=0,1,2 id=1,streams=3,4 and so on
436 w->as[w->nb_as - 1].streams = NULL;
448 } else if (state == parsed_id && !strncmp(p, "streams=", 8)) {
449 p += 8; // consume "streams="
454 int ret = av_reallocp_array(&as->streams, ++as->nb_streams,
455 sizeof(*as->streams));
461 av_log(s, AV_LOG_ERROR, "Invalid value for 'streams' in adapation_sets.\n");
464 as->streams[as->nb_streams - 1] = num;
483 enum AVCodecID codec_id = s->streams[i]->codecpar->codec_id;
526 { "adaptation_sets", "Adaptation sets. Syntax: id=0,streams=0,1,2 id=1,streams=3,4 and so on", OFFSET(adaptation_sets), AV_OPT_TYPE_STRING, { 0 }, 0, 0, AV_OPT_FLAG_ENCODING_PARAM },