Lines Matching defs:avctx
40 static int nvdec_av1_start_frame(AVCodecContext *avctx, const uint8_t *buffer, uint32_t size)
42 const AV1DecContext *s = avctx->priv_data;
47 NVDECContext *ctx = avctx->internal->hwaccel_priv_data;
56 int apply_grain = !(avctx->export_side_data & AV_CODEC_EXPORT_DATA_FILM_GRAIN) && film_grain->apply_grain;
59 ret = ff_nvdec_start_frame_sep_ref(avctx, cur_frame, apply_grain);
100 !(avctx->export_side_data & AV_CODEC_EXPORT_DATA_FILM_GRAIN),
287 static int nvdec_av1_decode_slice(AVCodecContext *avctx, const uint8_t *buffer, uint32_t size)
289 const AV1DecContext *s = avctx->priv_data;
291 NVDECContext *ctx = avctx->internal->hwaccel_priv_data;
334 static int nvdec_av1_frame_params(AVCodecContext *avctx, AVBufferRef *hw_frames_ctx)
337 return ff_nvdec_frame_params(avctx, hw_frames_ctx, 8 * 2, 0);