Searched refs:fFormatCtx (Results 1 – 4 of 4) sorted by relevance
203 AVRational base = fFormatCtx->streams[fStreamIndex]->time_base; in computeTimeStamp()240 if (fFormatCtx == nullptr) { in nextImage()248 while (!av_read_frame(fFormatCtx, &fPacket)) { in nextImage()303 if (fFormatCtx) { in reset()304 avformat_close_input(&fFormatCtx); in reset()305 fFormatCtx = nullptr; in reset()339 fFormatCtx = avformat_alloc_context(); in loadStream()340 if (!fFormatCtx) { in loadStream()344 fFormatCtx->pb = fStreamCtx; in loadStream()346 int err = avformat_open_input(&fFormatCtx, nullptr, nullptr, nullptr); in loadStream()[all …]
134 if (fFormatCtx) { in reset()135 avformat_free_context(fFormatCtx); in reset()136 fFormatCtx = nullptr; in reset()163 avformat_alloc_output_context2(&fFormatCtx, nullptr, "mp4", nullptr); in init()164 SkASSERT(fFormatCtx); in init()165 fFormatCtx->pb = fStreamCtx; in init()167 AVOutputFormat *output_format = fFormatCtx->oformat; in init()175 fStream = avformat_new_stream(fFormatCtx, codec); in init()177 fStream->id = fFormatCtx->nb_streams-1; in init()209 if (check_err(avformat_write_header(fFormatCtx, nullptr))) { in init()[all …]
69 AVFormatContext* fFormatCtx = nullptr; variable
59 AVFormatContext* fFormatCtx = nullptr; variable