Home
last modified time | relevance | path

Searched refs:fFormatCtx (Results 1 – 4 of 4) sorted by relevance

/external/skia/experimental/ffmpeg/
DSkVideoDecoder.cpp200 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()
[all …]
DSkVideoEncoder.cpp133 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()
[all …]
DSkVideoEncoder.h69 AVFormatContext* fFormatCtx = nullptr; variable
DSkVideoDecoder.h60 AVFormatContext* fFormatCtx = nullptr; variable