Lines Matching defs:avctx
34 static int vdpau_hevc_start_frame(AVCodecContext *avctx,
37 HEVCContext *h = avctx->priv_data;
244 av_log(avctx, AV_LOG_WARNING,
269 av_log(avctx, AV_LOG_WARNING,
278 av_log(avctx, AV_LOG_WARNING,
287 av_log(avctx, AV_LOG_WARNING,
308 av_log(avctx, AV_LOG_WARNING, "missing surface: %p\n",
312 av_log(avctx, AV_LOG_WARNING, "missing STR Before frame: %zd\n", i);
331 av_log(avctx, AV_LOG_WARNING, "missing surface: %p\n",
335 av_log(avctx, AV_LOG_WARNING, "missing STR After frame: %zd\n", i);
354 av_log(avctx, AV_LOG_WARNING, "missing surface: %p\n",
358 av_log(avctx, AV_LOG_WARNING, "missing LTR frame: %zd\n", i);
402 static int vdpau_hevc_decode_slice(AVCodecContext *avctx,
405 HEVCContext *h = avctx->priv_data;
420 static int vdpau_hevc_end_frame(AVCodecContext *avctx)
422 HEVCContext *h = avctx->priv_data;
426 val = ff_vdpau_common_end_frame(avctx, h->ref->frame, pic_ctx);
469 static int vdpau_hevc_parse_rext_profile(AVCodecContext *avctx, VdpDecoderProfile *vdp_profile)
471 const HEVCContext *h = avctx->priv_data;
483 av_log(avctx, AV_LOG_WARNING, "HEVC profile is not found.\n");
484 if (avctx->hwaccel_flags & AV_HWACCEL_FLAG_ALLOW_PROFILE_MISMATCH) {
515 static int vdpau_hevc_init(AVCodecContext *avctx)
518 uint32_t level = avctx->level;
521 switch (avctx->profile) {
532 ret = vdpau_hevc_parse_rext_profile(avctx, &profile);
540 return ff_vdpau_common_init(avctx, profile, level);