Lines Matching defs:avctx
46 static av_cold int mxpeg_decode_end(AVCodecContext *avctx)
48 MXpegDecodeContext *s = avctx->priv_data;
53 ff_mjpeg_decode_end(avctx);
65 static av_cold int mxpeg_decode_init(AVCodecContext *avctx)
67 MXpegDecodeContext *s = avctx->priv_data;
75 return ff_mjpeg_decode_init(avctx);
102 av_log(s->jpg.avctx, AV_LOG_ERROR,
112 av_log(s->jpg.avctx, AV_LOG_ERROR,
120 av_log(s->jpg.avctx, AV_LOG_ERROR,
163 av_log(jpg->avctx, AV_LOG_ERROR,
173 av_log(jpg->avctx, AV_LOG_ERROR,
183 static int mxpeg_decode_frame(AVCodecContext *avctx, AVFrame *rframe,
188 MXpegDecodeContext *s = avctx->priv_data;
196 if (avctx->skip_frame == AVDISCARD_ALL)
226 av_log(avctx, AV_LOG_ERROR,
234 av_log(avctx, AV_LOG_ERROR,
247 av_log(avctx, AV_LOG_ERROR,
253 av_log(avctx, AV_LOG_ERROR,
259 av_log(avctx, AV_LOG_ERROR,
268 av_log(avctx, AV_LOG_WARNING,
274 av_log(avctx, AV_LOG_WARNING,
279 av_log(avctx, AV_LOG_WARNING,
285 if ((ret = ff_get_buffer(avctx, jpg->picture_ptr,
303 (ret = ff_get_buffer(avctx, reference_ptr,
308 if (ret < 0 && (avctx->err_recognition & AV_EF_EXPLODE))
312 if (ret < 0 && (avctx->err_recognition & AV_EF_EXPLODE))