Lines Matching refs:avctx
98 av_cold static int fbdev_read_header(AVFormatContext *avctx,
101 FBDevContext *fbdev = avctx->priv_data;
108 av_log(avctx, AV_LOG_ERROR, "Could not parse framerate '%s'.\n", fbdev->framerate);
112 if (!(st = avformat_new_stream(avctx, NULL)))
117 if (avctx->flags & AVFMT_FLAG_NONBLOCK)
120 if ((fbdev->fd = open(avctx->filename, flags)) == -1) {
122 av_log(avctx, AV_LOG_ERROR,
124 avctx->filename, strerror(ret));
130 av_log(avctx, AV_LOG_ERROR,
137 av_log(avctx, AV_LOG_ERROR,
145 av_log(avctx, AV_LOG_ERROR,
159 av_log(avctx, AV_LOG_ERROR, "Error in mmap(): %s\n", strerror(errno));
172 av_log(avctx, AV_LOG_INFO,
185 static int fbdev_read_packet(AVFormatContext *avctx, AVPacket *pkt)
187 FBDevContext *fbdev = avctx->priv_data;
199 av_dlog(avctx,
203 if (avctx->flags & AVFMT_FLAG_NONBLOCK)
217 av_log(avctx, AV_LOG_WARNING,
237 av_cold static int fbdev_read_close(AVFormatContext *avctx)
239 FBDevContext *fbdev = avctx->priv_data;