Lines Matching refs:avctx
50 static unsigned int get_video_format_idx(AVCodecContext *avctx)
59 if (avctx->width == vf->width &&
60 avctx->height == vf->height) {
62 if (avctx->time_base.den == vf->frame_rate_num &&
63 avctx->time_base.num == vf->frame_rate_denom)
140 SchroVideoFormatEnum ff_get_schro_video_format_preset(AVCodecContext *avctx)
145 unsigned int idx = get_video_format_idx(avctx);
179 SchroFrame *ff_create_schro_frame(AVCodecContext *avctx,
188 y_width = avctx->width;
189 y_height = avctx->height;
194 if (!p_pic || avpicture_alloc(p_pic, avctx->pix_fmt, y_width, y_height) < 0) {