Lines Matching defs:avctx
34 static int vaapi_vp8_start_frame(AVCodecContext *avctx,
38 const VP8Context *s = avctx->priv_data;
48 .frame_width = avctx->width,
49 .frame_height = avctx->height,
125 err = ff_vaapi_decode_make_param_buffer(avctx, pic,
145 err = ff_vaapi_decode_make_param_buffer(avctx, pic,
164 err = ff_vaapi_decode_make_param_buffer(avctx, pic,
173 ff_vaapi_decode_cancel(avctx, pic);
177 static int vaapi_vp8_end_frame(AVCodecContext *avctx)
179 const VP8Context *s = avctx->priv_data;
182 return ff_vaapi_decode_issue(avctx, pic);
185 static int vaapi_vp8_decode_slice(AVCodecContext *avctx,
189 const VP8Context *s = avctx->priv_data;
212 err = ff_vaapi_decode_make_slice_buffer(avctx, pic, &sp, sizeof(sp), data, data_size);
219 ff_vaapi_decode_cancel(avctx, pic);