Lines Matching defs:avctx
39 AVCodecContext *avctx;
154 static int ir2_decode_frame(AVCodecContext *avctx, AVFrame *picture,
157 Ir2Context * const s = avctx->priv_data;
164 if ((ret = ff_reget_buffer(avctx, p, 0)) < 0)
170 av_log(s->avctx, AV_LOG_ERROR, "input buffer size too small (%d)\n", buf_size);
185 av_log(avctx, AV_LOG_ERROR, "ctab %d is invalid\n", ctab);
190 if ((ret = ir2_decode_plane(s, avctx->width, avctx->height,
196 if ((ret = ir2_decode_plane(s, avctx->width >> 2, avctx->height >> 2,
200 if ((ret = ir2_decode_plane(s, avctx->width >> 2, avctx->height >> 2,
205 if ((ret = ir2_decode_plane_inter(s, avctx->width, avctx->height,
210 if ((ret = ir2_decode_plane_inter(s, avctx->width >> 2, avctx->height >> 2,
214 if ((ret = ir2_decode_plane_inter(s, avctx->width >> 2, avctx->height >> 2,
235 static av_cold int ir2_decode_init(AVCodecContext *avctx)
238 Ir2Context * const ic = avctx->priv_data;
240 ic->avctx = avctx;
242 avctx->pix_fmt= AV_PIX_FMT_YUV410P;
253 static av_cold int ir2_decode_end(AVCodecContext *avctx)
255 Ir2Context * const ic = avctx->priv_data;