Lines Matching refs:avctx
126 static int decode_group3_1d_line(AVCodecContext *avctx, GetBitContext *gb,
138 av_log(avctx, AV_LOG_ERROR, "Run overrun\n");
144 av_log(avctx, AV_LOG_ERROR, "Run went out of bounds\n");
151 av_log(avctx, AV_LOG_ERROR, "Incorrect code\n");
159 static int decode_group3_2d_line(AVCodecContext *avctx, GetBitContext *gb,
171 av_log(avctx, AV_LOG_ERROR, "Incorrect mode VLC\n");
180 av_log(avctx, AV_LOG_ERROR, "Run went out of bounds\n");
191 av_log(avctx, AV_LOG_ERROR, "Incorrect code\n");
200 av_log(avctx, AV_LOG_ERROR, "Run overrun\n");
206 av_log(avctx, AV_LOG_ERROR, "Run went out of bounds\n");
212 av_log(avctx, AV_LOG_ERROR, "Special modes are not supported (yet)\n");
219 av_log(avctx, AV_LOG_ERROR, "Run went out of bounds\n");
224 av_log(avctx, AV_LOG_ERROR, "Run overrun\n");
271 int ff_ccitt_unpack(AVCodecContext *avctx,
280 int runsize= avctx->width + 2;
284 ref[0] = avctx->width;
291 ret = decode_group3_2d_line(avctx, &gb, avctx->width, runs, runend, ref);
302 ret = decode_group3_1d_line(avctx, &gb, avctx->width, runs, runend);
304 ret = decode_group3_2d_line(avctx, &gb, avctx->width, runs, runend, ref);
309 put_line(dst, stride, avctx->width, ref);
311 put_line(dst, stride, avctx->width, runs);