Lines Matching defs:avctx
42 static int sami_paragraph_to_ass(AVCodecContext *avctx, const char *src)
44 SAMIContext *sami = avctx->priv_data;
120 ret = ff_htmlmarkup_to_ass(avctx, dst_source, sami->source.str);
125 ret = ff_htmlmarkup_to_ass(avctx, dst_content, sami->content.str);
135 static int sami_decode_frame(AVCodecContext *avctx, AVSubtitle *sub,
139 SAMIContext *sami = avctx->priv_data;
142 int ret = sami_paragraph_to_ass(avctx, ptr);
154 static av_cold int sami_init(AVCodecContext *avctx)
156 SAMIContext *sami = avctx->priv_data;
162 return ff_ass_subtitle_header_default(avctx);
165 static av_cold int sami_close(AVCodecContext *avctx)
167 SAMIContext *sami = avctx->priv_data;
176 static void sami_flush(AVCodecContext *avctx)
178 SAMIContext *sami = avctx->priv_data;
179 if (!(avctx->flags2 & AV_CODEC_FLAG2_RO_FLUSH_NOOP))