Lines Matching defs:avctx
60 AVCodecContext *avctx;
262 av_log(c->avctx, AV_LOG_ERROR, "Premature end of data!\n");
270 av_log(c->avctx, AV_LOG_ERROR, "Premature end of data!\n");
287 av_log(c->avctx, AV_LOG_ERROR, "Premature end of data!\n");
303 av_log(c->avctx, AV_LOG_ERROR, "Rectangle outside picture\n");
327 static int decode_frame(AVCodecContext *avctx, AVFrame *rframe,
332 VmncContext * const c = avctx->priv_data;
343 if ((ret = ff_reget_buffer(avctx, c->pic, 0)) < 0)
380 av_log(avctx, AV_LOG_ERROR, "Premature end of data!\n");
389 av_log(avctx, AV_LOG_ERROR,
399 av_log(avctx, AV_LOG_ERROR, "dimensions too large\n");
403 av_log(avctx, AV_LOG_ERROR,
414 av_log(avctx, AV_LOG_ERROR,
452 av_log(avctx, AV_LOG_INFO,
460 av_log(avctx, AV_LOG_INFO,
472 av_log(avctx, AV_LOG_ERROR,
486 av_log(avctx, AV_LOG_ERROR, "Unsupported block type 0x%08X\n", enc);
528 static av_cold int decode_init(AVCodecContext *avctx)
530 VmncContext * const c = avctx->priv_data;
532 c->avctx = avctx;
533 c->width = avctx->width;
534 c->height = avctx->height;
535 c->bpp = avctx->bits_per_coded_sample;
539 avctx->pix_fmt = AV_PIX_FMT_PAL8;
542 avctx->pix_fmt = AV_PIX_FMT_RGB555;
549 avctx->pix_fmt = AV_PIX_FMT_0RGB32;
552 av_log(avctx, AV_LOG_ERROR, "Unsupported bitdepth %i\n", c->bpp);
564 static av_cold int decode_end(AVCodecContext *avctx)
566 VmncContext * const c = avctx->priv_data;