Lines Matching defs:avctx
26 static int vaapi_mjpeg_start_frame(AVCodecContext *avctx,
30 const MJpegDecodeContext *s = avctx->priv_data;
38 .picture_width = avctx->width,
39 .picture_height = avctx->height,
51 err = ff_vaapi_decode_make_param_buffer(avctx, pic,
60 ff_vaapi_decode_cancel(avctx, pic);
64 static int vaapi_mjpeg_end_frame(AVCodecContext *avctx)
66 const MJpegDecodeContext *s = avctx->priv_data;
69 return ff_vaapi_decode_issue(avctx, pic);
72 static int vaapi_mjpeg_decode_slice(AVCodecContext *avctx,
76 const MJpegDecodeContext *s = avctx->priv_data;
96 err = ff_vaapi_decode_make_param_buffer(avctx, pic,
109 err = ff_vaapi_decode_make_param_buffer(avctx, pic,
134 err = ff_vaapi_decode_make_slice_buffer(avctx, pic, &sp, sizeof(sp), buffer, size);
141 ff_vaapi_decode_cancel(avctx, pic);