static av_cold int init(AVFilterContext *ctx, const char *args)

{

    GradFunContext *gf = ctx->priv;

    float thresh = 1.2;

    int radius = 16;



    if (args)

        sscanf(args, "%f:%d", &thresh, &radius);



    thresh = av_clipf(thresh, 0.51, 255);

    gf->thresh = (1 << 15) / thresh;

    gf->radius = av_clip((radius + 1) & ~1, 4, 32);



    gf->blur_line = ff_gradfun_blur_line_c;

    gf->filter_line = ff_gradfun_filter_line_c;



    if (ARCH_X86)

        ff_gradfun_init_x86(gf);



    av_log(ctx, AV_LOG_VERBOSE, "threshold:%.2f radius:%d\n", thresh, gf->radius);



    return 0;

}

static av_cold int init(AVFilterContext *ctx, const char *args)

{

    GradFunContext *gf = ctx->priv;

    float thresh = 1.2;

    int radius = 16;



    if (args)

        sscanf(args, "%f:%d", &thresh, &radius);



    thresh = av_clipf(thresh, 0.51, 255);

    gf->thresh = (1 << 15) / thresh;

    gf->radius = av_clip((radius + 1) & ~1, 4, 32);



    gf->blur_line = ff_gradfun_blur_line_c;

    gf->filter_line = ff_gradfun_filter_line_c;



    if (ARCH_X86)

        ff_gradfun_init_x86(gf);



    av_log(ctx, AV_LOG_VERBOSE, "threshold:%.2f radius:%d\n", thresh, gf->radius);



    return 0;

}

    thresh = av_clipf(thresh, 0.51, 255);
static av_cold int FUNC_0(AVFilterContext *ctx, const char *args)

{

    GradFunContext *gf = ctx->priv;

    float VAR_0 = 1.2;

    int VAR_1 = 16;



    if (args)

        sscanf(args, "%f:%d", &VAR_0, &VAR_1);



    VAR_0 = av_clipf(VAR_0, 0.51, 255);

    gf->VAR_0 = (1 << 15) / VAR_0;

    gf->VAR_1 = av_clip((VAR_1 + 1) & ~1, 4, 32);



    gf->blur_line = ff_gradfun_blur_line_c;

    gf->filter_line = ff_gradfun_filter_line_c;



    if (ARCH_X86)

        ff_gradfun_init_x86(gf);



    av_log(ctx, AV_LOG_VERBOSE, "threshold:%.2f VAR_1:%d\n", VAR_0, gf->VAR_1);



    return 0;

}

static av_cold int FUNC_0(AVFilterContext *ctx, const char *args)
{ GradFunContext *gf = ctx->priv; float VAR_0 = 1.2; int VAR_1 = 16; if (args)
sscanf(args, "%f:%d", &VAR_0, &VAR_1); VAR_0 = av_clipf(VAR_0, 0.51, 255); gf->VAR_0 = (1 << 15) / VAR_0; gf->VAR_1 = av_clip((VAR_1 + 1) & ~1, 4, 32); gf->blur_line = ff_gradfun_blur_line_c; gf->filter_line = ff_gradfun_filter_line_c; if (ARCH_X86)
ff_gradfun_init_x86(gf); av_log(ctx, AV_LOG_VERBOSE, "threshold:%.2f VAR_1:%d\n", VAR_0, gf->VAR_1); return 0; }