static int test_scalarproduct_float(AVFloatDSPContext *fdsp, AVFloatDSPContext *cdsp,

                                    const float *v1, const float *v2)

{

    float cprod, oprod;

    int ret;



    cprod = cdsp->scalarproduct_float(v1, v2, LEN);

    oprod = fdsp->scalarproduct_float(v1, v2, LEN);



    if (ret = compare_floats(&cprod, &oprod, 1, ARBITRARY_SCALARPRODUCT_CONST))

        av_log(NULL, AV_LOG_ERROR, "scalarproduct_float failed\n");



    return ret;

}

static int test_scalarproduct_float(AVFloatDSPContext *fdsp, AVFloatDSPContext *cdsp,

                                    const float *v1, const float *v2)

{

    float cprod, oprod;

    int ret;



    cprod = cdsp->scalarproduct_float(v1, v2, LEN);

    oprod = fdsp->scalarproduct_float(v1, v2, LEN);



    if (ret = compare_floats(&cprod, &oprod, 1, ARBITRARY_SCALARPRODUCT_CONST))

        av_log(NULL, AV_LOG_ERROR, "scalarproduct_float failed\n");



    return ret;

}

static int FUNC_0(AVFloatDSPContext *VAR_0, AVFloatDSPContext *VAR_1,

                                    const float *VAR_2, const float *VAR_3)

{

    float VAR_4, VAR_5;

    int VAR_6;



    VAR_4 = VAR_1->scalarproduct_float(VAR_2, VAR_3, LEN);

    VAR_5 = VAR_0->scalarproduct_float(VAR_2, VAR_3, LEN);



    if (VAR_6 = compare_floats(&VAR_4, &VAR_5, 1, ARBITRARY_SCALARPRODUCT_CONST))

        av_log(NULL, AV_LOG_ERROR, "scalarproduct_float failed\n");



    return VAR_6;

}

static int FUNC_0(AVFloatDSPContext *VAR_0, AVFloatDSPContext *VAR_1,
const float *VAR_2, const float *VAR_3)
{ float VAR_4, VAR_5; int VAR_6; VAR_4 = VAR_1->scalarproduct_float(VAR_2, VAR_3, LEN); VAR_5 = VAR_0->scalarproduct_float(VAR_2, VAR_3, LEN); if (VAR_6 = compare_floats(&VAR_4, &VAR_5, 1, ARBITRARY_SCALARPRODUCT_CONST))
av_log(NULL, AV_LOG_ERROR, "scalarproduct_float failed\n"); return VAR_6; }