Lines Matching refs:fFormatCtx
200 AVRational base = fFormatCtx->streams[fStreamIndex]->time_base; in computeTimeStamp()
263 if (fFormatCtx == nullptr) { in nextImage()
271 while (!av_read_frame(fFormatCtx, &fPacket)) { in nextImage()
326 if (fFormatCtx) { in reset()
327 avformat_close_input(&fFormatCtx); in reset()
328 fFormatCtx = nullptr; in reset()
362 fFormatCtx = avformat_alloc_context(); in loadStream()
363 if (!fFormatCtx) { in loadStream()
367 fFormatCtx->pb = fStreamCtx; in loadStream()
369 int err = avformat_open_input(&fFormatCtx, nullptr, nullptr, nullptr); in loadStream()
376 fStreamIndex = av_find_best_stream(fFormatCtx, AVMEDIA_TYPE_VIDEO, -1, -1, &codec, 0); in loadStream()
386 AVStream* strm = fFormatCtx->streams[fStreamIndex]; in loadStream()
410 if (!fFormatCtx) { in dimensions()
414 AVStream* strm = fFormatCtx->streams[fStreamIndex]; in dimensions()
419 if (!fFormatCtx) { in duration()
423 AVStream* strm = fFormatCtx->streams[fStreamIndex]; in duration()