Lines Matching refs:avctx
93 static av_cold int xface_decode_init(AVCodecContext *avctx)
95 if (avctx->width || avctx->height) {
96 if (avctx->width != XFACE_WIDTH || avctx->height != XFACE_HEIGHT) {
97 av_log(avctx, AV_LOG_ERROR,
99 avctx->width, avctx->height, XFACE_WIDTH, XFACE_HEIGHT);
104 avctx->width = XFACE_WIDTH;
105 avctx->height = XFACE_HEIGHT;
106 avctx->pix_fmt = AV_PIX_FMT_MONOWHITE;
111 static int xface_decode_frame(AVCodecContext *avctx,
115 XFaceContext *xface = avctx->priv_data;
123 if ((ret = ff_get_buffer(avctx, frame, 0)) < 0)
134 av_log(avctx, AV_LOG_WARNING,