Lines Matching defs:avctx
44 AVCodecContext *avctx;
48 static av_cold int cyuv_decode_init(AVCodecContext *avctx)
50 CyuvDecodeContext *s = avctx->priv_data;
52 s->avctx = avctx;
53 s->width = avctx->width;
57 s->height = avctx->height;
62 static int cyuv_decode_frame(AVCodecContext *avctx, AVFrame *frame,
67 CyuvDecodeContext *s=avctx->priv_data;
88 if (avctx->codec_id == AV_CODEC_ID_AURA) {
97 avctx->pix_fmt = AV_PIX_FMT_YUV411P;
99 avctx->pix_fmt = AV_PIX_FMT_UYVY422;
101 av_log(avctx, AV_LOG_ERROR, "got a buffer with %d bytes when %d were expected\n",
109 if ((ret = ff_get_buffer(avctx, frame, 0)) < 0)