Lines Matching defs:avctx
35 AVCodecContext *avctx;
214 static av_cold int seqvideo_decode_init(AVCodecContext *avctx)
216 SeqVideoContext *seq = avctx->priv_data;
219 seq->avctx = avctx;
220 avctx->pix_fmt = AV_PIX_FMT_PAL8;
222 ret = ff_set_dimensions(avctx, 256, 128);
233 static int seqvideo_decode_frame(AVCodecContext *avctx, AVFrame *rframe,
240 SeqVideoContext *seq = avctx->priv_data;
242 if ((ret = ff_reget_buffer(avctx, seq->frame, 0)) < 0)
255 static av_cold int seqvideo_decode_end(AVCodecContext *avctx)
257 SeqVideoContext *seq = avctx->priv_data;