Lines Matching refs:avctx
42 av_cold int ffv1_common_init(AVCodecContext *avctx)
44 FFV1Context *s = avctx->priv_data;
46 if (!avctx->width || !avctx->height)
49 s->avctx = avctx;
50 s->flags = avctx->flags;
57 s->width = avctx->width;
58 s->height = avctx->height;
123 int sxs = f->avctx->width * sx / f->num_h_slices;
124 int sxe = f->avctx->width * (sx + 1) / f->num_h_slices;
125 int sys = f->avctx->height * sy / f->num_v_slices;
126 int sye = f->avctx->height * (sy + 1) / f->num_v_slices;
191 av_cold int ffv1_close(AVCodecContext *avctx)
193 FFV1Context *s = avctx->priv_data;
197 ff_thread_release_buffer(avctx, &s->picture);
201 ff_thread_release_buffer(avctx, &s->last_picture);
215 av_freep(&avctx->stats_out);