Lines Matching defs:avctx
42 static int vaapi_mpeg2_start_frame(AVCodecContext *avctx, av_unused const uint8_t *buffer, av_unused uint32_t size)
44 const MpegEncContext *s = avctx->priv_data;
83 err = ff_vaapi_decode_make_param_buffer(avctx, pic,
102 err = ff_vaapi_decode_make_param_buffer(avctx, pic,
111 ff_vaapi_decode_cancel(avctx, pic);
115 static int vaapi_mpeg2_end_frame(AVCodecContext *avctx)
117 MpegEncContext *s = avctx->priv_data;
121 ret = ff_vaapi_decode_issue(avctx, pic);
125 ff_mpeg_draw_horiz_band(s, 0, s->avctx->height);
131 static int vaapi_mpeg2_decode_slice(AVCodecContext *avctx, const uint8_t *buffer, uint32_t size)
133 const MpegEncContext *s = avctx->priv_data;
164 err = ff_vaapi_decode_make_slice_buffer(avctx, pic,
168 ff_vaapi_decode_cancel(avctx, pic);