Lines Matching refs:avctx
74 av_log(ri->avctx, AV_LOG_ERROR, "Chunk does not fit in input buffer\n");
82 av_log(ri->avctx, AV_LOG_VERBOSE, "Chunk is too short\n");
117 av_log(ri->avctx, AV_LOG_VERBOSE, "Chunk is too short\n");
169 static av_cold int roq_decode_init(AVCodecContext *avctx)
171 RoqContext *s = avctx->priv_data;
173 s->avctx = avctx;
175 if (avctx->width % 16 || avctx->height % 16) {
176 av_log(avctx, AV_LOG_ERROR,
181 s->width = avctx->width;
182 s->height = avctx->height;
192 avctx->pix_fmt = AV_PIX_FMT_YUVJ444P;
193 avctx->color_range = AVCOL_RANGE_JPEG;
198 static int roq_decode_frame(AVCodecContext *avctx,
204 RoqContext *s = avctx->priv_data;
208 if ((ret = ff_reget_buffer(avctx, s->current_frame)) < 0)
213 avctx->pix_fmt, avctx->width, avctx->height);
228 static av_cold int roq_decode_end(AVCodecContext *avctx)
230 RoqContext *s = avctx->priv_data;