Lines Matching defs:avctx
36 av_cold int ff_ffv1_common_init(AVCodecContext *avctx)
38 FFV1Context *s = avctx->priv_data;
40 if (!avctx->width || !avctx->height)
43 s->avctx = avctx;
44 s->flags = avctx->flags;
51 s->width = avctx->width;
52 s->height = avctx->height;
120 int sxs = f->avctx->width * sx / f->num_h_slices;
121 int sxe = f->avctx->width * (sx + 1) / f->num_h_slices;
122 int sys = f->avctx->height * sy / f->num_v_slices;
123 int sye = f->avctx->height * (sy + 1) / f->num_v_slices;
196 av_cold int ff_ffv1_close(AVCodecContext *avctx)
198 FFV1Context *s = avctx->priv_data;
202 ff_thread_release_ext_buffer(avctx, &s->picture);
206 ff_thread_release_ext_buffer(avctx, &s->last_picture);
221 av_freep(&avctx->stats_out);