Lines Matching defs:avctx
76 av_log(ri->avctx, AV_LOG_ERROR, "Chunk does not fit in input buffer\n");
84 av_log(ri->avctx, AV_LOG_VERBOSE, "Chunk is too short\n");
118 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 avpriv_request_sample(avctx, "Dimensions not being a multiple of 16");
180 s->width = avctx->width;
181 s->height = avctx->height;
188 avctx->pix_fmt = AV_PIX_FMT_YUVJ444P;
189 avctx->color_range = AVCOL_RANGE_JPEG;
194 static int roq_decode_frame(AVCodecContext *avctx, AVFrame *rframe,
199 RoqContext *s = avctx->priv_data;
204 if ((ret = ff_reget_buffer(avctx, s->current_frame, 0)) < 0)
226 static av_cold int roq_decode_end(AVCodecContext *avctx)
228 RoqContext *s = avctx->priv_data;