/third_party/ffmpeg/libavformat/ |
D | vorbiscomment.c | 42 AVChapter **chapters, unsigned int nb_chapters) in ff_vorbiscomment_length() argument 46 if (chapters && nb_chapters) { in ff_vorbiscomment_length() 47 for (int i = 0; i < nb_chapters; i++) { in ff_vorbiscomment_length() 67 AVChapter **chapters, unsigned int nb_chapters) in ff_vorbiscomment_write() argument 72 if (chapters && nb_chapters) { in ff_vorbiscomment_write() 73 for (int i = 0; i < nb_chapters; i++) { in ff_vorbiscomment_write() 91 for (int i = 0; i < nb_chapters; i++) { in ff_vorbiscomment_write()
|
D | ffmetadec.c | 113 start = (s->nb_chapters && s->chapters[s->nb_chapters - 1]->end != AV_NOPTS_VALUE) ? in read_chapter() 114 s->chapters[s->nb_chapters - 1]->end : 0; in read_chapter() 124 return avpriv_new_chapter(s, s->nb_chapters, tb, start, end, NULL); in read_chapter() 208 if (s->nb_chapters) in read_header() 209 s->duration = av_rescale_q(s->chapters[s->nb_chapters - 1]->end, in read_header() 210 s->chapters[s->nb_chapters - 1]->time_base, in read_header()
|
D | vorbiscomment.h | 38 AVChapter **chapters, unsigned int nb_chapters); 53 AVChapter **chapters, unsigned int nb_chapters);
|
D | aadec.c | 225 unsigned chapter_idx = s->nb_chapters; in aa_read_header() 239 st->duration = (largest_size - CHAPTER_HEADER_SIZE * s->nb_chapters) * TIMEPREC; in aa_read_header() 335 while (chapter_idx < s->nb_chapters && timestamp >= s->chapters[chapter_idx]->end) { in aa_read_seek() 339 if (chapter_idx >= s->nb_chapters) { in aa_read_seek() 340 chapter_idx = s->nb_chapters - 1; in aa_read_seek()
|
D | id3v2enc.c | 265 if (s->nb_chapters == 0) in write_ctoc() 273 avio_w8(dyn_bc, s->nb_chapters); in write_ctoc() 274 for (int i = 0; i < s->nb_chapters; i++) { in write_ctoc() 343 for (i = 0; i < s->nb_chapters; i++) { in ff_id3v2_write_metadata()
|
D | oggenc.c | 276 AVChapter **chapters, unsigned int nb_chapters) in ogg_write_vorbiscomment() argument 285 size = offset + ff_vorbiscomment_length(*m, vendor, chapters, nb_chapters) + framing_bit; in ogg_write_vorbiscomment() 293 ff_vorbiscomment_write(&pb, *m, vendor, chapters, nb_chapters); in ogg_write_vorbiscomment() 371 unsigned int nb_chapters) in ogg_build_opus_headers() argument 387 … p = ogg_write_vorbiscomment(8, bitexact, &oggstream->header_len[1], m, 0, chapters, nb_chapters); in ogg_build_opus_headers() 544 &st->metadata, s->chapters, s->nb_chapters); in ogg_init()
|
D | metadata.c | 66 for (i=0; i<ctx->nb_chapters; i++) in ff_metadata_conv_ctx()
|
D | ffmetaenc.c | 72 for (i = 0; i < s->nb_chapters; i++) { in write_trailer()
|
D | nutenc.c | 678 for (i = 0; i < nut->avf->nb_chapters; i++) { in write_headers() 715 nut->chapter = av_calloc(s->nb_chapters, sizeof(*nut->chapter)); in nut_write_header() 717 s->nb_chapters, sizeof(*nut->time_base)); in nut_write_header() 752 for (i = 0; i < s->nb_chapters; i++) { in nut_write_header()
|
D | asfenc.c | 354 avio_wl32(pb, s->nb_chapters); // markers count in asf_write_markers() 358 for (i = 0; i < s->nb_chapters; i++) { in asf_write_markers() 616 if (!asf->is_streamed && s->nb_chapters) { in asf_write_header1()
|
D | aiffenc.c | 53 if (!s->metadata && !s->nb_chapters && !aiff->pict_list) in put_id3v2_tags()
|
D | dump.c | 689 if (ic->nb_chapters) in av_dump_format() 691 for (i = 0; i < ic->nb_chapters; i++) { in av_dump_format()
|
D | utils.c | 3278 AVChapter **timetable = av_malloc(s->nb_chapters * sizeof(*timetable)); 3287 for (i = 0; i < s->nb_chapters; i++) 3289 qsort(timetable, s->nb_chapters, sizeof(*timetable), chapter_start_cmp); 3291 for (i = 0; i < s->nb_chapters; i++) 3298 if (i + 1 < s->nb_chapters) { 4501 while (s->nb_chapters--) { 4502 av_dict_free(&s->chapters[s->nb_chapters]->metadata); 4503 av_freep(&s->chapters[s->nb_chapters]); 4689 if (!s->nb_chapters) { 4691 } else if (!s->internal->chapter_ids_monotonic || s->chapters[s->nb_chapters-1]->id >= id) { [all …]
|
D | wavdec.c | 525 if (s->nb_chapters > 0) { in wav_read_header() 541 for (int i = 0; i < s->nb_chapters; i++) { in wav_read_header()
|
D | oggparsevorbis.c | 59 for (i = 0; i < as->nb_chapters; i++) in ogm_chapter()
|
D | avformat.h | 1465 unsigned int nb_chapters; member
|
D | movenc.c | 3961 int i, nb_chapters = FFMIN(s->nb_chapters, 255); in mov_write_chpl_tag() local 3967 avio_w8(pb, nb_chapters); in mov_write_chpl_tag() 3969 for (i = 0; i < nb_chapters; i++) { in mov_write_chpl_tag() 4029 if (s->nb_chapters && !(mov->flags & FF_MOV_FLAG_DISABLE_CHPL)) in mov_write_udta_tag() 6180 for (i = 0; i < s->nb_chapters; i++) { in mov_create_chapter_track() 6530 if (mov->mode & (MODE_MP4|MODE_MOV|MODE_IPOD) && s->nb_chapters) in mov_init() 6775 if (mov->mode & (MODE_MP4|MODE_MOV|MODE_IPOD) && s->nb_chapters) in mov_write_header() 7088 if (mov->mode & (MODE_MP4|MODE_MOV|MODE_IPOD) && s->nb_chapters) { in mov_write_trailer()
|
D | matroskaenc.c | 1630 for (unsigned i = 0; i < s->nb_chapters; i++) { in mkv_new_chapter_ids_needed() 1648 if (!s->nb_chapters || mkv->wrote_chapters) in mkv_write_chapters() 1666 for (unsigned i = 0; i < s->nb_chapters; i++) { in mkv_write_chapters()
|
D | mov.c | 541 int i, nb_chapters, str_len, version; in mov_read_chpl() local 555 nb_chapters = avio_r8(pb); in mov_read_chpl() 557 for (i = 0; i < nb_chapters; i++) { in mov_read_chpl()
|
/third_party/ffmpeg/fftools/ |
D | ffmpeg_opt.c | 681 METADATA_CHECK_INDEX(index, context->nb_chapters, "chapter")\ in copy_metadata() 2065 tmp = av_realloc_f(os->chapters, is->nb_chapters + os->nb_chapters, sizeof(*os->chapters)); in copy_chapters() 2070 for (i = 0; i < is->nb_chapters; i++) { in copy_chapters() 2096 os->chapters[os->nb_chapters++] = out_ch; in copy_chapters() 2640 if (input_files[i]->ctx->nb_chapters) { in open_output_file() 2783 if (index < 0 || index >= oc->nb_chapters) { in open_output_file()
|
D | ffplay.c | 3255 if (!is->ic->nb_chapters) in seek_chapter() 3259 for (i = 0; i < is->ic->nb_chapters; i++) { in seek_chapter() 3269 if (i >= is->ic->nb_chapters) in seek_chapter() 3346 if (cur_stream->ic->nb_chapters <= 1) { in event_loop() 3353 if (cur_stream->ic->nb_chapters <= 1) { in event_loop()
|
D | ffmpeg.c | 3290 if (avf->nb_chapters > INT_MAX - size || in parse_forced_key_frames() 3291 !(pts = av_realloc_f(pts, size += avf->nb_chapters - 1, in parse_forced_key_frames() 3300 for (j = 0; j < avf->nb_chapters; j++) { in parse_forced_key_frames()
|
D | ffprobe.c | 2868 for (i = 0; i < fmt_ctx->nb_chapters; i++) { in show_chapters()
|