Lines Matching refs:ctx
735 AVCodecContext *ctx = p->avctx;
737 if (ctx->internal) {
747 codec->close(ctx);
755 if (ctx->priv_data) {
757 av_opt_free(ctx->priv_data);
758 av_freep(&ctx->priv_data);
761 av_freep(&ctx->slice_offset);
763 av_buffer_unref(&ctx->internal->pool);
764 av_freep(&ctx->internal);
765 av_buffer_unref(&ctx->hw_frames_ctx);