static inline int coeff_unpack_golomb(GetBitContext *gb, int qfactor, int qoffset)

{

    int coeff = dirac_get_se_golomb(gb);

    const int sign = FFSIGN(coeff);

    if (coeff)

        coeff = sign*((sign * coeff * qfactor + qoffset) >> 2);

    return coeff;

}

static inline int coeff_unpack_golomb(GetBitContext *gb, int qfactor, int qoffset)

{

    int coeff = dirac_get_se_golomb(gb);

    const int sign = FFSIGN(coeff);

    if (coeff)

        coeff = sign*((sign * coeff * qfactor + qoffset) >> 2);

    return coeff;

}

    const int sign = FFSIGN(coeff);
static inline int FUNC_0(GetBitContext *VAR_0, int VAR_1, int VAR_2)

{

    int VAR_3 = dirac_get_se_golomb(VAR_0);

    const int VAR_4 = FFSIGN(VAR_3);

    if (VAR_3)

        VAR_3 = VAR_4*((VAR_4 * VAR_3 * VAR_1 + VAR_2) >> 2);

    return VAR_3;

}

static inline int FUNC_0(GetBitContext *VAR_0, int VAR_1, int VAR_2)
{ int VAR_3 = dirac_get_se_golomb(VAR_0); const int VAR_4 = FFSIGN(VAR_3); if (VAR_3)
VAR_3 = VAR_4*((VAR_4 * VAR_3 * VAR_1 + VAR_2) >> 2); return VAR_3; }