Lines Matching defs:fragment

34 struct fragment {
91 struct fragment **fragments; /* VOD list of fragment for profile */
108 struct fragment *cur_seg;
111 struct fragment *init_section;
317 static void free_fragment(struct fragment **seg)
578 static struct fragment * get_Fragment(char *range)
580 struct fragment * seg = av_mallocz(sizeof(struct fragment));
635 struct fragment *seg = get_Fragment(range_val);
838 struct fragment *seg = NULL;
912 rep->init_section = av_mallocz(sizeof(struct fragment));
993 seg = av_mallocz(sizeof(struct fragment));
1582 static struct fragment *get_current_fragment(struct representation *pls)
1586 struct fragment *seg = NULL;
1587 struct fragment *seg_ptr = NULL;
1593 seg = av_mallocz(sizeof(struct fragment));
1619 av_log(pls->parent, AV_LOG_VERBOSE, "old fragment: cur[%"PRId64"] min[%"PRId64"] max[%"PRId64"]\n", (int64_t)pls->cur_seq_no, min_seq_no, max_seq_no);
1622 av_log(pls->parent, AV_LOG_VERBOSE, "new fragment: min[%"PRId64"] max[%"PRId64"]\n", min_seq_no, max_seq_no);
1624 seg = av_mallocz(sizeof(struct fragment));
1629 seg = av_mallocz(sizeof(struct fragment));
1637 av_log(pls->parent, AV_LOG_ERROR, "Cannot get fragment, missing template URL\n");
1665 static int read_from_url(struct representation *pls, struct fragment *seg,
1670 /* limit read if the fragment was only a part of a file */
1681 static int open_input(DASHContext *c, struct representation *pls, struct fragment *seg)
1795 av_log(v->parent, AV_LOG_WARNING, "Failed to open fragment of playlist\n");
1802 /* Push init section out first before first actual fragment */
1893 av_log(s, AV_LOG_ERROR, "Error when loading first fragment of playlist\n");
1975 struct fragment *first_init_section = pls[0]->init_section;
2248 // single fragment mode
2260 // find the nearest fragment