Lines Matching defs:avctx
31 static int decode_frame(AVCodecContext *avctx, AVFrame *f,
43 av_log(avctx, AV_LOG_ERROR, "Header too small %d.\n", avpkt->size);
53 avctx->pix_fmt = AV_PIX_FMT_BGR24;
55 avctx->pix_fmt = AV_PIX_FMT_GRAY8;
57 av_log(avctx, AV_LOG_ERROR, "Invalid pixel format.\n");
61 ret = ff_set_dimensions(avctx, width, height);
68 ret = ff_get_buffer(avctx, f, 0);
82 if (x == avctx->width) {
85 if (y > avctx->height) {
86 av_log(avctx, AV_LOG_ERROR,
95 if (!count || x + count > avctx->width) {
96 av_log(avctx, AV_LOG_ERROR, "Invalid run length %d.\n", count);
100 if (avctx->pix_fmt == AV_PIX_FMT_BGR24) {
116 av_log(avctx, AV_LOG_ERROR, "Picture stopped at %d,%d.\n", x, y);