Lines Matching defs:avctx
54 * @param avctx decoder context
57 static av_cold int escape124_decode_init(AVCodecContext *avctx)
59 Escape124Context *s = avctx->priv_data;
61 avctx->pix_fmt = AV_PIX_FMT_RGB555;
63 s->num_superblocks = ((unsigned)avctx->width / 8) *
64 ((unsigned)avctx->height / 8);
73 static av_cold int escape124_decode_close(AVCodecContext *avctx)
76 Escape124Context *s = avctx->priv_data;
194 static int escape124_decode_frame(AVCodecContext *avctx, AVFrame *frame,
198 Escape124Context *s = avctx->priv_data;
206 superblocks_per_row = avctx->width / 8, skip = -1;
234 av_log(avctx, AV_LOG_DEBUG, "Skipping frame\n");
251 av_log(avctx, AV_LOG_ERROR, "Invalid codebook size 0.\n");
269 av_log(avctx, AV_LOG_ERROR, "Depth or num_superblocks are too large\n");
285 if ((ret = ff_get_buffer(avctx, frame, AV_GET_BUFFER_FLAG_REF)) < 0)
364 av_log(avctx, AV_LOG_DEBUG,