Lines Matching defs:avctx
111 AVCodecContext *avctx;
685 static int mss3_decode_frame(AVCodecContext *avctx, AVFrame *rframe,
690 MSS3Context *c = avctx->priv_data;
699 av_log(avctx, AV_LOG_ERROR,
708 av_log(avctx, AV_LOG_ERROR, "Invalid frame type %X\n", keyframe);
718 if (dec_x + dec_width > avctx->width ||
719 dec_y + dec_height > avctx->height ||
721 av_log(avctx, AV_LOG_ERROR, "Invalid frame dimensions %dx%d +%d,%d\n",
728 av_log(avctx, AV_LOG_ERROR, "Invalid quality setting %d\n", quality);
734 av_log(avctx, AV_LOG_ERROR, "Keyframe without data found\n");
741 if ((ret = ff_reget_buffer(avctx, c->pic, 0)) < 0)
793 av_log(avctx, AV_LOG_ERROR, "Error decoding block %d,%d\n",
813 static av_cold int mss3_decode_end(AVCodecContext *avctx)
815 MSS3Context * const c = avctx->priv_data;
825 static av_cold int mss3_decode_init(AVCodecContext *avctx)
827 MSS3Context * const c = avctx->priv_data;
830 c->avctx = avctx;
832 if ((avctx->width & 0xF) || (avctx->height & 0xF)) {
833 av_log(avctx, AV_LOG_ERROR,
840 int b_width = avctx->width >> (2 + !!i);
841 int b_height = avctx->height >> (2 + !!i);
847 av_log(avctx, AV_LOG_ERROR, "Cannot allocate buffer\n");
856 avctx->pix_fmt = AV_PIX_FMT_YUV420P;