Lines Matching defs:avctx
204 static void init_band_stepsize(AVCodecContext *avctx,
238 av_log(avctx, AV_LOG_ERROR, "Unknown quantization format\n");
260 av_log(avctx, AV_LOG_ERROR, "stepsize out of range\n");
267 if (!av_codec_is_encoder(avctx->codec))
271 static int init_prec(AVCodecContext *avctx,
378 if (av_codec_is_encoder(avctx->codec)) {
388 static int init_band(AVCodecContext *avctx,
403 init_band_stepsize(avctx, band, codsty, qntsty, bandno, gbandno, reslevelno, cbps);
456 ret = init_prec(avctx, band, reslevel, comp, codsty,
470 AVCodecContext *avctx)
476 av_log(avctx, AV_LOG_ERROR, "nreslevels2decode %d invalid or uninitialized\n", codsty->nreslevels2decode);
486 comp->coord[1][1] - comp->coord[1][0], 0, avctx))
492 av_log(avctx, AV_LOG_ERROR, "component size too large\n");
561 if (reslevel->num_precincts_x * (uint64_t)reslevel->num_precincts_y * reslevel->nbands > avctx->max_pixels / sizeof(*reslevel->band->prec))
565 ret = init_band(avctx, reslevel,