Lines Matching refs:avctx
48 static av_cold int decode_init(AVCodecContext *avctx)
50 avctx->pix_fmt = PIX_FMT_PAL8;
54 static av_cold int decode_end(AVCodecContext *avctx)
56 C93DecoderContext * const c93 = avctx->priv_data;
59 avctx->release_buffer(avctx, &c93->pictures[0]);
61 avctx->release_buffer(avctx, &c93->pictures[1]);
65 static inline int copy_block(AVCodecContext *avctx, uint8_t *to,
80 av_log(avctx, AV_LOG_ERROR, "invalid offset %d during C93 decoding\n",
115 static int decode_frame(AVCodecContext *avctx, void *data,
120 C93DecoderContext * const c93 = avctx->priv_data;
132 if (avctx->reget_buffer(avctx, newpic)) {
133 av_log(avctx, AV_LOG_ERROR, "reget_buffer() failed\n");
173 if (copy_block(avctx, out, copy_from, offset, 8, stride))
183 if (copy_block(avctx, &out[j*stride+i],
230 av_log(avctx, AV_LOG_ERROR, "unexpected type %x at %dx%d\n",