void ff_hevc_set_qPy(HEVCContext *s, int xC, int yC,

                     int xBase, int yBase, int log2_cb_size)

{

    int qp_y = get_qPy_pred(s, xC, yC, xBase, yBase, log2_cb_size);



    if (s->HEVClc->tu.cu_qp_delta != 0) {

        int off = s->sps->qp_bd_offset;

        s->HEVClc->qp_y = ((qp_y + s->HEVClc->tu.cu_qp_delta + 52 + 2 * off) %

                          (52 + off)) - off;

    } else

        s->HEVClc->qp_y = qp_y;

}

void ff_hevc_set_qPy(HEVCContext *s, int xC, int yC,

                     int xBase, int yBase, int log2_cb_size)

{

    int qp_y = get_qPy_pred(s, xC, yC, xBase, yBase, log2_cb_size);



    if (s->HEVClc->tu.cu_qp_delta != 0) {

        int off = s->sps->qp_bd_offset;

        s->HEVClc->qp_y = ((qp_y + s->HEVClc->tu.cu_qp_delta + 52 + 2 * off) %

                          (52 + off)) - off;

    } else

        s->HEVClc->qp_y = qp_y;

}

        s->HEVClc->qp_y = ((qp_y + s->HEVClc->tu.cu_qp_delta + 52 + 2 * off) %                           (52 + off)) - off;
void FUNC_0(HEVCContext *VAR_0, int VAR_1, int VAR_2,

                     int VAR_3, int VAR_4, int VAR_5)

{

    int VAR_6 = get_qPy_pred(VAR_0, VAR_1, VAR_2, VAR_3, VAR_4, VAR_5);



    if (VAR_0->HEVClc->tu.cu_qp_delta != 0) {

        int VAR_7 = VAR_0->sps->qp_bd_offset;

        VAR_0->HEVClc->VAR_6 = ((VAR_6 + VAR_0->HEVClc->tu.cu_qp_delta + 52 + 2 * VAR_7) %

                          (52 + VAR_7)) - VAR_7;

    } else

        VAR_0->HEVClc->VAR_6 = VAR_6;

}

void FUNC_0(HEVCContext *VAR_0, int VAR_1, int VAR_2,
int VAR_3, int VAR_4, int VAR_5)
{ int VAR_6 = get_qPy_pred(VAR_0, VAR_1, VAR_2, VAR_3, VAR_4, VAR_5); if (VAR_0->HEVClc->tu.cu_qp_delta != 0) { int VAR_7 = VAR_0->sps->qp_bd_offset; VAR_0->HEVClc->VAR_6 = ((VAR_6 + VAR_0->HEVClc->tu.cu_qp_delta + 52 + 2 * VAR_7) %
(52 + VAR_7)) - VAR_7; } else VAR_0->HEVClc->VAR_6 = VAR_6; }