static int start_frame(AVFilterLink *link, AVFilterBufferRef *picref)

{

    SliceContext *slice = link->dst->priv;



    if (slice->use_random_h) {

        slice->lcg_state = slice->lcg_state * 1664525 + 1013904223;

        slice->h = 8 + (uint64_t)slice->lcg_state * 25 / UINT32_MAX;

    }



    /* ensure that slices play nice with chroma subsampling, and enforce

     * a reasonable minimum size for the slices */

    slice->h = FFMAX(8, slice->h & (-1 << slice->vshift));



    av_log(link->dst, AV_LOG_DEBUG, "h:%d\n", slice->h);

    link->cur_buf = NULL;



    return ff_start_frame(link->dst->outputs[0], picref);

}

static int start_frame(AVFilterLink *link, AVFilterBufferRef *picref)

{

    SliceContext *slice = link->dst->priv;



    if (slice->use_random_h) {

        slice->lcg_state = slice->lcg_state * 1664525 + 1013904223;

        slice->h = 8 + (uint64_t)slice->lcg_state * 25 / UINT32_MAX;

    }



    



    slice->h = FFMAX(8, slice->h & (-1 << slice->vshift));



    av_log(link->dst, AV_LOG_DEBUG, "h:%d\n", slice->h);

    link->cur_buf = NULL;



    return ff_start_frame(link->dst->outputs[0], picref);

}

    SliceContext *slice = link->dst->priv; static int start_frame(AVFilterLink *link, AVFilterBufferRef *picref)     SliceContext *slice = link->dst->priv;     if (slice->use_random_h) {         slice->lcg_state = slice->lcg_state * 1664525 + 1013904223;         slice->h = 8 + (uint64_t)slice->lcg_state * 25 / UINT32_MAX;     slice->h = FFMAX(8, slice->h & (-1 << slice->vshift));     av_log(link->dst, AV_LOG_DEBUG, "h:%d\n", slice->h);     link->cur_buf = NULL;     return ff_start_frame(link->dst->outputs[0], picref);     SliceContext *slice = link->dst->priv;
static int FUNC_0(AVFilterLink *VAR_0, AVFilterBufferRef *VAR_1)

{

    SliceContext *slice = VAR_0->dst->priv;



    if (slice->use_random_h) {

        slice->lcg_state = slice->lcg_state * 1664525 + 1013904223;

        slice->h = 8 + (uint64_t)slice->lcg_state * 25 / UINT32_MAX;

    }



    



    slice->h = FFMAX(8, slice->h & (-1 << slice->vshift));



    av_log(VAR_0->dst, AV_LOG_DEBUG, "h:%d\n", slice->h);

    VAR_0->cur_buf = NULL;



    return ff_start_frame(VAR_0->dst->outputs[0], VAR_1);

}

static int FUNC_0(AVFilterLink *VAR_0, AVFilterBufferRef *VAR_1)
{ SliceContext *slice = VAR_0->dst->priv; if (slice->use_random_h) { slice->lcg_state = slice->lcg_state * 1664525 + 1013904223; slice->h = 8 + (uint64_t)slice->lcg_state * 25 / UINT32_MAX; } slice->h = FFMAX(8, slice->h & (-1 << slice->vshift)); av_log(VAR_0->dst, AV_LOG_DEBUG, "h:%d\n", slice->h); VAR_0->cur_buf = NULL; return ff_start_frame(VAR_0->dst->outputs[0], VAR_1); }