static void hevc_await_progress(HEVCContext *s, HEVCFrame *ref,

                                const Mv *mv, int y0, int height)

{

    int y = FFMAX(0, (mv->y >> 2) + y0 + height + 9);



    if (s->threads_type == FF_THREAD_FRAME )

        ff_thread_await_progress(&ref->tf, y, 0);

}

static void hevc_await_progress(HEVCContext *s, HEVCFrame *ref,

                                const Mv *mv, int y0, int height)

{

    int y = FFMAX(0, (mv->y >> 2) + y0 + height + 9);



    if (s->threads_type == FF_THREAD_FRAME )

        ff_thread_await_progress(&ref->tf, y, 0);

}

static void FUNC_0(HEVCContext *VAR_0, HEVCFrame *VAR_1,

                                const Mv *VAR_2, int VAR_3, int VAR_4)

{

    int VAR_5 = FFMAX(0, (VAR_2->VAR_5 >> 2) + VAR_3 + VAR_4 + 9);



    if (VAR_0->threads_type == FF_THREAD_FRAME )

        ff_thread_await_progress(&VAR_1->tf, VAR_5, 0);

}

static void FUNC_0(HEVCContext *VAR_0, HEVCFrame *VAR_1,
const Mv *VAR_2, int VAR_3, int VAR_4)
{ int VAR_5 = FFMAX(0, (VAR_2->VAR_5 >> 2) + VAR_3 + VAR_4 + 9); if (VAR_0->threads_type == FF_THREAD_FRAME )
ff_thread_await_progress(&VAR_1->tf, VAR_5, 0); }