Lines Matching refs:avctx
36 AVCodecContext *avctx;
141 static int ir2_decode_frame(AVCodecContext *avctx,
145 Ir2Context * const s = avctx->priv_data;
152 if ((ret = ff_reget_buffer(avctx, p)) < 0)
158 av_log(s->avctx, AV_LOG_ERROR, "input buffer size too small (%d)\n", buf_size);
173 if ((ret = ir2_decode_plane(s, avctx->width, avctx->height,
179 if ((ret = ir2_decode_plane(s, avctx->width >> 2, avctx->height >> 2,
183 if ((ret = ir2_decode_plane(s, avctx->width >> 2, avctx->height >> 2,
188 if ((ret = ir2_decode_plane_inter(s, avctx->width, avctx->height,
193 if ((ret = ir2_decode_plane_inter(s, avctx->width >> 2, avctx->height >> 2,
197 if ((ret = ir2_decode_plane_inter(s, avctx->width >> 2, avctx->height >> 2,
211 static av_cold int ir2_decode_init(AVCodecContext *avctx)
213 Ir2Context * const ic = avctx->priv_data;
216 ic->avctx = avctx;
218 avctx->pix_fmt= AV_PIX_FMT_YUV410P;
239 static av_cold int ir2_decode_end(AVCodecContext *avctx)
241 Ir2Context * const ic = avctx->priv_data;