Lines Matching defs:avctx
32 static int msp2_decode_frame(AVCodecContext *avctx, AVFrame *p,
38 unsigned int x, y, width = (avctx->width + 7) / 8;
41 if (buf_size <= 2 * avctx->height)
44 avctx->pix_fmt = AV_PIX_FMT_MONOBLACK;
46 if ((ret = ff_get_buffer(avctx, p, 0)) < 0)
52 bytestream2_init(&idx, buf, 2 * avctx->height);
53 buf += 2 * avctx->height;
54 buf_size -= 2 * avctx->height;
56 for (y = 0; y < avctx->height; y++) {
64 av_log(avctx, AV_LOG_WARNING, "image probably corrupt\n");
80 avpriv_request_sample(avctx, "escape value");