Lines Matching refs:avctx
45 static av_cold int mxpeg_decode_end(AVCodecContext *avctx)
47 MXpegDecodeContext *s = avctx->priv_data;
52 ff_mjpeg_decode_end(avctx);
64 static av_cold int mxpeg_decode_init(AVCodecContext *avctx)
66 MXpegDecodeContext *s = avctx->priv_data;
71 mxpeg_decode_end(avctx);
76 return ff_mjpeg_decode_init(avctx);
103 av_log(s->jpg.avctx, AV_LOG_ERROR,
113 av_log(s->jpg.avctx, AV_LOG_ERROR,
121 av_log(s->jpg.avctx, AV_LOG_ERROR,
164 av_log(jpg->avctx, AV_LOG_ERROR,
174 av_log(jpg->avctx, AV_LOG_ERROR,
184 static int mxpeg_decode_frame(AVCodecContext *avctx,
190 MXpegDecodeContext *s = avctx->priv_data;
224 av_log(avctx, AV_LOG_ERROR,
232 av_log(avctx, AV_LOG_ERROR,
247 av_log(avctx, AV_LOG_ERROR,
252 av_log(avctx, AV_LOG_ERROR,
260 av_log(avctx, AV_LOG_WARNING,
266 av_log(avctx, AV_LOG_WARNING,
271 av_log(avctx, AV_LOG_WARNING,
277 if ((ret = ff_get_buffer(avctx, jpg->picture_ptr,
295 (ret = ff_get_buffer(avctx, reference_ptr,
300 if (ret < 0 && (avctx->err_recognition & AV_EF_EXPLODE))
304 if (ret < 0 && (avctx->err_recognition & AV_EF_EXPLODE))