Lines Matching defs:avctx
103 * @param[in] avctx pointer to the AVCodecContext
106 static int decode_pic_hdr(IVI45DecContext *ctx, AVCodecContext *avctx)
112 av_log(avctx, AV_LOG_ERROR, "Invalid picture start code!\n");
119 av_log(avctx, AV_LOG_ERROR, "Invalid frame type: %d\n", ctx->frame_type);
130 av_log(avctx, AV_LOG_ERROR, "Sync bit is set!\n");
138 ff_dlog(avctx, "Null frame encountered!\n");
147 ff_dlog(avctx, "Password-protected clip!\n");
171 av_log(avctx, AV_LOG_ERROR, "Only YVU9 picture format is supported!\n");
183 if (av_image_check_size2(pic_conf.pic_width, pic_conf.pic_height, avctx->max_pixels, AV_PIX_FMT_YUV410P, 0, avctx) < 0) {
184 av_log(avctx, AV_LOG_ERROR, "picture dimensions %d %d cannot be decoded\n",
191 av_log(avctx, AV_LOG_ERROR, "Scalability: unsupported subdivision! Luma bands: %d, chroma bands: %d\n",
198 if (ff_ivi_init_planes(avctx, ctx->planes, &pic_conf, 1)) {
199 av_log(avctx, AV_LOG_ERROR, "Couldn't reallocate color planes!\n");
216 av_log(avctx, AV_LOG_ERROR,
229 if (ff_ivi_dec_huff_desc(&ctx->gb, get_bits1(&ctx->gb), IVI_MB_HUFF, &ctx->mb_vlc, avctx) ||
230 ff_ivi_dec_huff_desc(&ctx->gb, get_bits1(&ctx->gb), IVI_BLK_HUFF, &ctx->blk_vlc, avctx))
247 ff_dlog(avctx, "Pic hdr extension encountered!\n");
254 av_log(avctx, AV_LOG_ERROR, "Bad blocks bits encountered!\n");
268 * @param[in] avctx pointer to the AVCodecContext
272 AVCodecContext *avctx)
283 av_log(avctx, AV_LOG_ERROR, "Invalid band header sequence!\n");
297 av_log(avctx, AV_LOG_ERROR, "Invalid/unsupported mv resolution: %d!\n",
310 av_log(avctx, AV_LOG_ERROR, "Invalid block size!\n");
325 avpriv_request_sample(avctx, "Transform %d", transform_id);
330 avpriv_request_sample(avctx, "DCT transform");
335 av_log(avctx, AV_LOG_ERROR, "wrong transform size!\n");
351 av_log(avctx, AV_LOG_ERROR, "transform and block size mismatch (%d != %d)\n", band->transform_size, band->blk_size);
357 av_log(avctx, AV_LOG_ERROR, "Custom scan pattern encountered!\n");
362 av_log(avctx, AV_LOG_ERROR, "mismatching scan table!\n");
366 av_log(avctx, AV_LOG_ERROR, "mismatching scan table!\n");
375 av_log(avctx, AV_LOG_ERROR, "Custom quant matrix encountered!\n");
379 avpriv_request_sample(avctx, "Quantization matrix %d",
386 av_log(avctx, AV_LOG_ERROR,
393 av_log(avctx, AV_LOG_ERROR, "Invalid quant matrix for 4x4 block encountered!\n");
398 av_log(avctx, AV_LOG_ERROR, "mismatching scan table!\n");
402 av_log(avctx, AV_LOG_ERROR, "mismatching transform_size!\n");
411 &arg_band->blk_vlc, avctx))
422 av_log(avctx, AV_LOG_ERROR, "Too many corrections: %d\n",
448 av_log(avctx, AV_LOG_ERROR, "band->scan not set\n");
466 * @param[in] avctx pointer to the AVCodecContext
470 IVITile *tile, AVCodecContext *avctx)
489 av_log(avctx, AV_LOG_ERROR, "num_MBs mismatch %d %d %d %d\n", tile->width, tile->height, band->mb_size, tile->num_MBs);
504 av_log(avctx, AV_LOG_ERROR, "Insufficient input for mb info\n");
510 av_log(avctx, AV_LOG_ERROR, "Empty macroblock in an INTRA picture!\n");
538 av_log(avctx, AV_LOG_ERROR, "ref_mb unavailable\n");
611 av_log(avctx, AV_LOG_ERROR, "motion vector %d %d outside reference\n", x*s + mb->mv_x, y*s + mb->mv_y);
670 static av_cold int decode_init(AVCodecContext *avctx)
672 IVI45DecContext *ctx = avctx->priv_data;
684 avctx->pix_fmt = AV_PIX_FMT_YUV410P;