Lines Matching defs:avctx

128 static int decode_uncompressed(AVCodecContext *avctx, GetBitContext *gb,
143 av_log(avctx, AV_LOG_ERROR, "Invalid uncompressed codeword\n");
166 av_log(avctx, AV_LOG_ERROR, "uncompressed run overrun\n");
170 av_log(avctx, AV_LOG_ERROR, "uncompressed run went out of bounds\n");
183 av_log(avctx, AV_LOG_ERROR, "uncompressed run overrun\n");
189 av_log(avctx, AV_LOG_ERROR, "uncompressed run went out of boundsE\n");
198 av_log(avctx, AV_LOG_ERROR, "uncompressed run overrun\n");
206 static int decode_group3_1d_line(AVCodecContext *avctx, GetBitContext *gb,
221 av_log(avctx, AV_LOG_ERROR, "Run overrun\n");
227 av_log(avctx, AV_LOG_ERROR, "Run went out of bounds\n");
237 ret = decode_uncompressed(avctx, gb, &pix_left, &runs, runend, &mode);
243 av_log(avctx, AV_LOG_ERROR, "Incorrect code\n");
252 static int decode_group3_2d_line(AVCodecContext *avctx, GetBitContext *gb,
266 av_log(avctx, AV_LOG_ERROR, "Incorrect mode VLC\n");
277 av_log(avctx, AV_LOG_ERROR, "Run went out of bounds\n");
290 av_log(avctx, AV_LOG_ERROR, "Incorrect code\n");
299 av_log(avctx, AV_LOG_ERROR, "Run overrun\n");
305 av_log(avctx, AV_LOG_ERROR, "Run went out of bounds\n");
320 av_log(avctx, AV_LOG_ERROR, "saved run %d on entering uncompressed mode\n", saved_run);
323 ret = decode_uncompressed(avctx, gb, &pix_left, &runs, runend, &mode);
330 avpriv_report_missing_feature(avctx, "Special mode %d xxx=%d support", cmode, xxx);
338 av_log(avctx, AV_LOG_ERROR, "Run went out of bounds\n");
343 av_log(avctx, AV_LOG_ERROR, "Run overrun\n");
358 av_log(avctx, AV_LOG_ERROR, "Run overrun\n");
396 int ff_ccitt_unpack(AVCodecContext *avctx, const uint8_t *src, int srcsize,
404 int runsize = avctx->width + 2;
413 ref[0] = avctx->width;
423 ret = decode_group3_2d_line(avctx, &gb, avctx->width, runs, runend,
434 ret = decode_group3_1d_line(avctx, &gb, avctx->width, runs,
437 ret = decode_group3_2d_line(avctx, &gb, avctx->width, runs,
442 if (avctx->err_recognition & AV_EF_EXPLODE && ret < 0)
446 put_line(dst, stride, avctx->width, ref);
448 put_line(dst, stride, avctx->width, runs);