Home
last modified time | relevance | path

Searched refs:nb_as (Results 1 – 2 of 2) sorted by relevance

/third_party/ffmpeg/libavformat/
Dwebmdashenc.c51 int nb_as; member
270 for (i = 0; i < w->nb_as; i++) { in free_adaptation_sets()
274 w->nb_as = 0; in free_adaptation_sets()
427 void *mem = av_realloc(w->as, sizeof(*w->as) * (w->nb_as + 1)); in parse_adaptation_sets()
432 ++w->nb_as; in parse_adaptation_sets()
433 w->as[w->nb_as - 1].nb_streams = 0; in parse_adaptation_sets()
434 w->as[w->nb_as - 1].streams = NULL; in parse_adaptation_sets()
436 q = w->as[w->nb_as - 1].id; in parse_adaptation_sets()
438 if (!comma || comma - p >= sizeof(w->as[w->nb_as - 1].id)) { in parse_adaptation_sets()
450 struct AdaptationSet *as = &w->as[w->nb_as - 1]; in parse_adaptation_sets()
[all …]
Ddashenc.c147 int nb_as; member
620 for (i = 0; i < c->nb_as; i++) { in dash_free()
625 c->nb_as = 0; in dash_free()
898 if (c->profile & MPD_PROFILE_DVB && (c->nb_as + 1) > 16) { in add_adaptation_set()
902 mem = av_realloc(c->as, sizeof(*c->as) * (c->nb_as + 1)); in add_adaptation_set()
906 ++c->nb_as; in add_adaptation_set()
908 *as = &c->as[c->nb_as - 1]; in add_adaptation_set()
955 c->streams[i].as_idx = c->nb_as; in parse_adaptation_sets()
981 if (id_str == end_str || i < 0 || i > c->nb_as) { in parse_adaptation_sets()
1070 AdaptationSet *as = &c->as[c->nb_as - 1]; in parse_adaptation_sets()
[all …]