Lines Matching defs:avctx
70 static int nvdec_hevc_start_frame(AVCodecContext *avctx,
73 const HEVCContext *s = avctx->priv_data;
77 NVDECContext *ctx = avctx->internal->hwaccel_priv_data;
85 ret = ff_nvdec_start_frame(avctx, s->ref->frame);
198 av_log(avctx, AV_LOG_ERROR, "Too many tiles\n");
209 av_log(avctx, AV_LOG_ERROR, "Too many chroma_qp_offsets\n");
221 av_log(avctx, AV_LOG_ERROR, "Too many reference frames\n");
231 av_log(avctx, AV_LOG_ERROR, "Too many reference frames\n");
270 static int nvdec_hevc_decode_slice(AVCodecContext *avctx, const uint8_t *buffer,
273 NVDECContext *ctx = avctx->internal->hwaccel_priv_data;
297 static int nvdec_hevc_frame_params(AVCodecContext *avctx,
300 const HEVCContext *s = avctx->priv_data;
302 return ff_nvdec_frame_params(avctx, hw_frames_ctx, sps->temporal_layer[sps->max_sub_layers - 1].max_dec_pic_buffering + 1, 1);
305 static int nvdec_hevc_decode_init(AVCodecContext *avctx) {
306 NVDECContext *ctx = avctx->internal->hwaccel_priv_data;
308 return ff_nvdec_decode_init(avctx);