Lines Matching defs:avctx
69 static void vdpau_h264_set_reference_frames(AVCodecContext *avctx)
71 H264Context * const h = avctx->priv_data;
120 static int vdpau_h264_start_frame(AVCodecContext *avctx,
123 H264Context * const h = avctx->priv_data;
174 vdpau_h264_set_reference_frames(avctx);
181 static int vdpau_h264_decode_slice(AVCodecContext *avctx,
184 H264Context *h = avctx->priv_data;
201 static int vdpau_h264_end_frame(AVCodecContext *avctx)
203 H264Context *h = avctx->priv_data;
209 val = ff_vdpau_common_end_frame(avctx, pic->f, pic_ctx);
213 ff_h264_draw_horiz_band(h, sl, 0, h->avctx->height);
217 static int vdpau_h264_init(AVCodecContext *avctx)
220 uint32_t level = avctx->level;
222 switch (avctx->profile & ~FF_PROFILE_H264_INTRA) {
258 if ((avctx->profile & FF_PROFILE_H264_INTRA) && avctx->level == 11)
261 return ff_vdpau_common_init(avctx, profile, level);