Lines Matching refs:fFormatCtx
133 if (fFormatCtx) { in reset()
134 avformat_free_context(fFormatCtx); in reset()
135 fFormatCtx = nullptr; in reset()
162 avformat_alloc_output_context2(&fFormatCtx, nullptr, "mp4", nullptr); in init()
163 SkASSERT(fFormatCtx); in init()
164 fFormatCtx->pb = fStreamCtx; in init()
166 AVOutputFormat *output_format = fFormatCtx->oformat; in init()
174 fStream = avformat_new_stream(fFormatCtx, codec); in init()
176 fStream->id = fFormatCtx->nb_streams-1; in init()
208 if (check_err(avformat_write_header(fFormatCtx, nullptr))) { in init()
297 if (check_err(av_interleaved_write_frame(fFormatCtx, fPacket))) { in sendFrame()
326 if (!fFormatCtx) { in endRecording()
331 av_write_trailer(fFormatCtx); in endRecording()