Home
last modified time | relevance | path

Searched refs:ttml_ctx (Results 1 - 2 of 2) sorted by relevance

/third_party/ffmpeg/libavformat/
H A Dmovenc_ttml.c58 AVFormatContext *ttml_ctx, in mov_write_ttml_document_from_queue()
69 if ((ret = avformat_write_header(ttml_ctx, NULL)) < 0) { in mov_write_ttml_document_from_queue()
85 ttml_ctx->streams[pkt->stream_index]->time_base); in mov_write_ttml_document_from_queue()
87 if ((ret = av_write_frame(ttml_ctx, pkt)) < 0) { in mov_write_ttml_document_from_queue()
94 if ((ret = av_write_trailer(ttml_ctx)) < 0) in mov_write_ttml_document_from_queue()
109 AVFormatContext *ttml_ctx = NULL; in ff_mov_generate_squashed_ttml_packet() local
116 if ((ret = mov_init_ttml_writer(track, &ttml_ctx)) < 0) { in ff_mov_generate_squashed_ttml_packet()
124 avio_write(ttml_ctx->pb, empty_ttml_document, in ff_mov_generate_squashed_ttml_packet()
131 if ((ret = mov_write_ttml_document_from_queue(s, ttml_ctx, track, pkt, in ff_mov_generate_squashed_ttml_packet()
145 int buf_len = avio_close_dyn_buf(ttml_ctx in ff_mov_generate_squashed_ttml_packet()
57 mov_write_ttml_document_from_queue(AVFormatContext *s, AVFormatContext *ttml_ctx, MOVTrack *track, AVPacket *pkt, int64_t *out_start_ts, int64_t *out_duration) mov_write_ttml_document_from_queue() argument
[all...]
H A Dttmlenc.c125 TTMLMuxContext *ttml_ctx = ctx->priv_data; in ttml_write_header() local
126 ttml_ctx->document_written = 0; in ttml_write_header()
142 ttml_ctx->input_type = ff_is_ttml_stream_paragraph_based(st->codecpar) ? in ttml_write_header()
148 if (ttml_ctx->input_type == PACKET_TYPE_PARAGRAPH) { in ttml_write_header()
171 TTMLMuxContext *ttml_ctx = ctx->priv_data; in ttml_write_packet() local
174 switch (ttml_ctx->input_type) { in ttml_write_packet()
187 if (ttml_ctx->document_written) { in ttml_write_packet()
195 ttml_ctx->document_written = 1; in ttml_write_packet()
200 ttml_ctx->input_type); in ttml_write_packet()
209 TTMLMuxContext *ttml_ctx in ttml_write_trailer() local
[all...]

Completed in 1 milliseconds