Home
last modified time | relevance | path

Searched refs:subtitle_header (Results 1 – 17 of 17) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dassdec.c31 avctx->subtitle_header = av_malloc(avctx->extradata_size + 1); in ass_decode_init()
32 if (!avctx->subtitle_header) in ass_decode_init()
35 memcpy(avctx->subtitle_header, avctx->extradata, avctx->extradata_size); in ass_decode_init()
36 avctx->subtitle_header[avctx->extradata_size] = 0; in ass_decode_init()
Dass.c37 avctx->subtitle_header = av_asprintf( in ff_ass_subtitle_header_full()
77 if (!avctx->subtitle_header) in ff_ass_subtitle_header_full()
79 avctx->subtitle_header_size = strlen(avctx->subtitle_header); in ff_ass_subtitle_header_full()
Doptions.c198 av_freep(&avctx->subtitle_header); in avcodec_free_context()
221 av_freep(&avctx->subtitle_header); in copy_context_reset()
273 dest->subtitle_header = NULL; in avcodec_copy_context()
293 alloc_and_copy_or_fail(subtitle_header, src->subtitle_header_size, 1); in avcodec_copy_context()
Dlibaribb24.c83 avctx->subtitle_header = av_asprintf( in libaribb24_generate_ass_header()
124 if (!avctx->subtitle_header) in libaribb24_generate_ass_header()
127 avctx->subtitle_header_size = strlen(avctx->subtitle_header); in libaribb24_generate_ass_header()
Dlibzvbi-teletextdec.c93 event_pos = strstr(avctx->subtitle_header, "\r\n[Events]\r\n"); in my_ass_subtitle_header()
98 (int)(event_pos - avctx->subtitle_header), avctx->subtitle_header, in my_ass_subtitle_header()
124 av_free(avctx->subtitle_header); in my_ass_subtitle_header()
125 avctx->subtitle_header = new_header; in my_ass_subtitle_header()
Dassenc.c39 memcpy(avctx->extradata, avctx->subtitle_header, avctx->subtitle_header_size); in ass_encode_init()
Dttmlenc.c182 if (!(s->ass_ctx = ff_ass_split(avctx->subtitle_header))) { in ttml_encode_init()
Dwebvttenc.c222 s->ass_ctx = ff_ass_split(avctx->subtitle_header); in webvtt_encode_init()
Dsrtenc.c137 s->ass_ctx = ff_ass_split(avctx->subtitle_header); in srt_encode_init()
Dmovtextenc.c334 s->ass_ctx = ff_ass_split(avctx->subtitle_header); in mov_text_encode_init()
Davcodec.h2016 uint8_t *subtitle_header; member
Davcodec.c468 av_freep(&avctx->subtitle_header); in avcodec_open2()
Ddecode.c2021 av_freep(&avctx->subtitle_header); in ff_decode_preinit()
/third_party/ffmpeg/libavfilter/
Dvf_subtitles.c447 if (dec_ctx->subtitle_header) in init_subtitles()
449 dec_ctx->subtitle_header, in init_subtitles()
/third_party/ffmpeg/fftools/
Dffmpeg.c3547 if (dec && dec->subtitle_header) { in init_output_stream()
3549 ost->enc_ctx->subtitle_header = av_mallocz(dec->subtitle_header_size + 1); in init_output_stream()
3550 if (!ost->enc_ctx->subtitle_header) in init_output_stream()
3552 memcpy(ost->enc_ctx->subtitle_header, dec->subtitle_header, dec->subtitle_header_size); in init_output_stream()
/third_party/ffmpeg/libavformat/
Dutils.c4208 if (st->internal->avctx->subtitle_header) {
4209 st->codec->subtitle_header = av_malloc(st->internal->avctx->subtitle_header_size);
4210 if (!st->codec->subtitle_header)
4213 memcpy(st->codec->subtitle_header, st->internal->avctx->subtitle_header,
/third_party/ffmpeg/doc/
DAPIchanges2852 Add AVCodecContext.subtitle_header and AVCodecContext.subtitle_header_size