Lines Matching refs:avctx
126 static int decode_group3_1d_line(AVCodecContext *avctx, GetBitContext *gb,
139 av_log(avctx, AV_LOG_ERROR, "Run overrun\n");
145 av_log(avctx, AV_LOG_ERROR, "Run went out of bounds\n");
152 av_log(avctx, AV_LOG_ERROR, "Incorrect code\n");
160 static int decode_group3_2d_line(AVCodecContext *avctx, GetBitContext *gb,
171 av_log(avctx, AV_LOG_ERROR, "Incorrect mode VLC\n");
182 av_log(avctx, AV_LOG_ERROR, "Run went out of bounds\n");
193 av_log(avctx, AV_LOG_ERROR, "Incorrect code\n");
202 av_log(avctx, AV_LOG_ERROR, "Run overrun\n");
208 av_log(avctx, AV_LOG_ERROR, "Run went out of bounds\n");
214 avpriv_report_missing_feature(avctx, "Special modes support");
221 av_log(avctx, AV_LOG_ERROR, "Run went out of bounds\n");
226 av_log(avctx, AV_LOG_ERROR, "Run overrun\n");
241 av_log(avctx, AV_LOG_ERROR, "Run overrun\n");
279 int ff_ccitt_unpack(AVCodecContext *avctx, const uint8_t *src, int srcsize,
287 int runsize = avctx->width + 2;
296 ref[0] = avctx->width;
305 ret = decode_group3_2d_line(avctx, &gb, avctx->width, runs, runend,
316 ret = decode_group3_1d_line(avctx, &gb, avctx->width, runs,
319 ret = decode_group3_2d_line(avctx, &gb, avctx->width, runs,
324 if (avctx->err_recognition & AV_EF_EXPLODE && ret < 0)
328 put_line(dst, stride, avctx->width, ref);
330 put_line(dst, stride, avctx->width, runs);