/third_party/ffmpeg/libavformat/ |
H A D | vorbiscomment.c | 42 AVChapter **chapters, unsigned int nb_chapters) in ff_vorbiscomment_length() 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() 73 if (chapters && nb_chapters) { in ff_vorbiscomment_write() 74 for (int i = 0; i < nb_chapters; i++) { in ff_vorbiscomment_write() 92 for (int i = 0; i < nb_chapters; i++) { in ff_vorbiscomment_write() 41 ff_vorbiscomment_length(const AVDictionary *m, const char *vendor_string, AVChapter **chapters, unsigned int nb_chapters) ff_vorbiscomment_length() argument 65 ff_vorbiscomment_write(AVIOContext *pb, const AVDictionary *m, const char *vendor_string, AVChapter **chapters, unsigned int nb_chapters) ff_vorbiscomment_write() argument
|
H A 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()
|
H A D | vorbiscomment.h | 38 AVChapter **chapters, unsigned int nb_chapters); 49 * @param nb_chapters The number of chapters to write. 53 AVChapter **chapters, unsigned int nb_chapters);
|
H A D | aadec.c | 215 unsigned chapter_idx = s->nb_chapters; in aa_read_header() 227 st->duration = (largest_size - CHAPTER_HEADER_SIZE * s->nb_chapters) * TIMEPREC; in aa_read_header() 300 while (chapter_idx < s->nb_chapters && timestamp >= s->chapters[chapter_idx]->end) { in aa_read_seek() 304 if (chapter_idx >= s->nb_chapters) { in aa_read_seek() 305 chapter_idx = s->nb_chapters - 1; in aa_read_seek()
|
H A D | id3v2enc.c | 266 if (s->nb_chapters == 0) in write_ctoc() 274 avio_w8(dyn_bc, s->nb_chapters); in write_ctoc() 275 for (int i = 0; i < s->nb_chapters; i++) { in write_ctoc() 344 for (i = 0; i < s->nb_chapters; i++) { in ff_id3v2_write_metadata()
|
H A D | demux_utils.c | 54 if (!s->nb_chapters) { in avpriv_new_chapter() 56 } else if (!si->chapter_ids_monotonic || s->chapters[s->nb_chapters-1]->id >= id) { in avpriv_new_chapter() 57 for (unsigned i = 0; i < s->nb_chapters; i++) in avpriv_new_chapter() 68 ret = av_dynarray_add_nofree(&s->chapters, &s->nb_chapters, chapter); in avpriv_new_chapter()
|
H A D | oggenc.c | 278 AVChapter **chapters, unsigned int nb_chapters) in ogg_write_vorbiscomment() 287 size = offset + ff_vorbiscomment_length(*m, vendor, chapters, nb_chapters) + framing_bit; in ogg_write_vorbiscomment() 295 ff_vorbiscomment_write(&pb.pub, *m, vendor, chapters, nb_chapters); in ogg_write_vorbiscomment() 373 unsigned int nb_chapters) in ogg_build_opus_headers() 389 p = ogg_write_vorbiscomment(8, bitexact, &oggstream->header_len[1], m, 0, chapters, nb_chapters); in ogg_build_opus_headers() 546 &st->metadata, s->chapters, s->nb_chapters); in ogg_init() 276 ogg_write_vorbiscomment(int64_t offset, int bitexact, int *header_len, AVDictionary **m, int framing_bit, AVChapter **chapters, unsigned int nb_chapters) ogg_write_vorbiscomment() argument 370 ogg_build_opus_headers(AVCodecParameters *par, OGGStreamContext *oggstream, int bitexact, AVDictionary **m, AVChapter **chapters, unsigned int nb_chapters) ogg_build_opus_headers() argument
|
H A D | metadata.c | 66 for (i=0; i<ctx->nb_chapters; i++) in ff_metadata_conv_ctx()
|
H A D | ffmetaenc.c | 72 for (i = 0; i < s->nb_chapters; i++) { in write_trailer()
|
H A D | avformat.c | 125 while (s->nb_chapters--) { in avformat_free_context() 126 av_dict_free(&s->chapters[s->nb_chapters]->metadata); in avformat_free_context() 127 av_freep(&s->chapters[s->nb_chapters]); in avformat_free_context()
|
H A D | aiffenc.c | 53 if (!s->metadata && !s->nb_chapters && !list_entry) in put_id3v2_tags()
|
H A D | asfenc.c | 327 avio_wl32(pb, s->nb_chapters); // markers count in asf_write_markers() 331 for (unsigned i = 0; i < s->nb_chapters; i++) { in asf_write_markers() 583 if (!asf->is_streamed && s->nb_chapters) { in asf_write_header1()
|
H A D | dump.c | 679 if (ic->nb_chapters) in av_dump_format() 681 for (i = 0; i < ic->nb_chapters; i++) { in av_dump_format()
|
H A D | nutenc.c | 700 for (i = 0; i < nut->avf->nb_chapters; i++) { in write_headers() 737 nut->chapter = av_calloc(s->nb_chapters, sizeof(*nut->chapter)); in nut_write_header() 739 s->nb_chapters, sizeof(*nut->time_base)); in nut_write_header() 774 for (i = 0; i < s->nb_chapters; i++) { in nut_write_header()
|
H A D | avformat.h | 1448 * so nb_chapters should normally be initialized before write_header 1450 * in the trailer. To write chapters in the trailer, nb_chapters 1456 unsigned int nb_chapters; member
|
H A D | oggparsevorbis.c | 58 for (i = 0; i < as->nb_chapters; i++) in ogm_chapter()
|
H A D | wavdec.c | 528 if (s->nb_chapters > 0) { in wav_read_header() 544 for (int i = 0; i < s->nb_chapters; i++) { in wav_read_header()
|
H A D | demux.c | 2119 if (!s->nb_chapters) in compute_chapters_end() 2126 timetable = av_memdup(s->chapters, s->nb_chapters * sizeof(*timetable)); in compute_chapters_end() 2129 qsort(timetable, s->nb_chapters, sizeof(*timetable), chapter_start_cmp); in compute_chapters_end() 2131 for (unsigned i = 0; i < s->nb_chapters; i++) in compute_chapters_end() 2138 if (i + 1 < s->nb_chapters) { in compute_chapters_end()
|
H A D | movenc.c | 4674 int i, nb_chapters = FFMIN(s->nb_chapters, 255); local 4680 avio_w8(pb, nb_chapters); 4682 for (i = 0; i < nb_chapters; i++) { 4747 if (s->nb_chapters && !(mov->flags & FF_MOV_FLAG_DISABLE_CHPL)) 7053 for (i = 0; i < s->nb_chapters; i++) { 7481 if (mov->mode & (MODE_MP4|MODE_MOV|MODE_IPOD) && s->nb_chapters) 7772 if (mov->mode & (MODE_MP4|MODE_MOV|MODE_IPOD) && s->nb_chapters) 8075 if (mov->mode & (MODE_MP4|MODE_MOV|MODE_IPOD) && s->nb_chapters) {
|
H A D | matroskaenc.c | 2131 for (unsigned i = 0; i < s->nb_chapters; i++) { in mkv_new_chapter_ids_needed() 2149 if (!s->nb_chapters || mkv->wrote_chapters) in mkv_write_chapters() 2167 for (unsigned i = 0; i < s->nb_chapters; i++) { in mkv_write_chapters()
|
H A D | mov.c | 590 int i, nb_chapters, str_len, version; in mov_read_chpl() local 604 nb_chapters = avio_r8(pb); in mov_read_chpl() 606 for (i = 0; i < nb_chapters; i++) { in mov_read_chpl()
|
/third_party/ffmpeg/fftools/ |
H A D | ffmpeg_opt.c | 759 METADATA_CHECK_INDEX(index, context->nb_chapters, "chapter")\ in copy_metadata() 2226 tmp = av_realloc_f(os->chapters, is->nb_chapters + os->nb_chapters, sizeof(*os->chapters)); in copy_chapters() 2231 for (i = 0; i < is->nb_chapters; i++) { in copy_chapters() 2257 os->chapters[os->nb_chapters++] = out_ch; in copy_chapters() 2882 if (input_files[i]->ctx->nb_chapters) { in open_output_file() 3025 if (index < 0 || index >= oc->nb_chapters) { in open_output_file()
|
H A D | ffplay.c | 3245 if (!is->ic->nb_chapters) in seek_chapter() 3249 for (i = 0; i < is->ic->nb_chapters; i++) { in seek_chapter() 3259 if (i >= is->ic->nb_chapters) in seek_chapter() 3336 if (cur_stream->ic->nb_chapters <= 1) { in event_loop() 3343 if (cur_stream->ic->nb_chapters <= 1) { in event_loop()
|
H A D | ffmpeg.c | 2896 if (avf->nb_chapters > INT_MAX - size || in parse_forced_key_frames() 2897 !(pts = av_realloc_f(pts, size += avf->nb_chapters - 1, in parse_forced_key_frames() 2906 for (j = 0; j < avf->nb_chapters; j++) { in parse_forced_key_frames()
|
H A D | ffprobe.c | 3215 for (i = 0; i < fmt_ctx->nb_chapters; i++) { in show_chapters()
|