static int config_props(AVFilterLink *link)

{

    UnsharpContext *unsharp = link->dst->priv;

    const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(link->format);



    unsharp->hsub = desc->log2_chroma_w;

    unsharp->vsub = desc->log2_chroma_h;



    init_filter_param(link->dst, &unsharp->luma,   "luma",   link->w);

    init_filter_param(link->dst, &unsharp->chroma, "chroma", SHIFTUP(link->w, unsharp->hsub));



    return 0;

}

static int config_props(AVFilterLink *link)

{

    UnsharpContext *unsharp = link->dst->priv;

    const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(link->format);



    unsharp->hsub = desc->log2_chroma_w;

    unsharp->vsub = desc->log2_chroma_h;



    init_filter_param(link->dst, &unsharp->luma,   "luma",   link->w);

    init_filter_param(link->dst, &unsharp->chroma, "chroma", SHIFTUP(link->w, unsharp->hsub));



    return 0;

}

static int FUNC_0(AVFilterLink *VAR_0)

{

    UnsharpContext *unsharp = VAR_0->dst->priv;

    const AVPixFmtDescriptor *VAR_1 = av_pix_fmt_desc_get(VAR_0->format);



    unsharp->hsub = VAR_1->log2_chroma_w;

    unsharp->vsub = VAR_1->log2_chroma_h;



    init_filter_param(VAR_0->dst, &unsharp->luma,   "luma",   VAR_0->w);

    init_filter_param(VAR_0->dst, &unsharp->chroma, "chroma", SHIFTUP(VAR_0->w, unsharp->hsub));



    return 0;

}

static int FUNC_0(AVFilterLink *VAR_0)
{ UnsharpContext *unsharp = VAR_0->dst->priv; const AVPixFmtDescriptor *VAR_1 = av_pix_fmt_desc_get(VAR_0->format); unsharp->hsub = VAR_1->log2_chroma_w; unsharp->vsub = VAR_1->log2_chroma_h; init_filter_param(VAR_0->dst, &unsharp->luma,   "luma",   VAR_0->w); init_filter_param(VAR_0->dst, &unsharp->chroma, "chroma", SHIFTUP(VAR_0->w, unsharp->hsub)); return 0; }