static void float_to_int16_stride_altivec(int16_t *dst, const float *src,

                                          long len, int stride)

{

    int i, j;

    vector signed short d, s;



    for (i = 0; i < len - 7; i += 8) {

        d = float_to_int16_one_altivec(src + i);

        for (j = 0; j < 8; j++) {

            s = vec_splat(d, j);

            vec_ste(s, 0, dst);

            dst += stride;

        }

    }

}

static void float_to_int16_stride_altivec(int16_t *dst, const float *src,

                                          long len, int stride)

{

    int i, j;

    vector signed short d, s;



    for (i = 0; i < len - 7; i += 8) {

        d = float_to_int16_one_altivec(src + i);

        for (j = 0; j < 8; j++) {

            s = vec_splat(d, j);

            vec_ste(s, 0, dst);

            dst += stride;

        }

    }

}

static void FUNC_0(int16_t *VAR_0, const float *VAR_1,

                                          long VAR_2, int VAR_3)

{

    int VAR_4, VAR_5;

    vector signed short d, s;



    for (VAR_4 = 0; VAR_4 < VAR_2 - 7; VAR_4 += 8) {

        d = float_to_int16_one_altivec(VAR_1 + VAR_4);

        for (VAR_5 = 0; VAR_5 < 8; VAR_5++) {

            s = vec_splat(d, VAR_5);

            vec_ste(s, 0, VAR_0);

            VAR_0 += VAR_3;

        }

    }

}

static void FUNC_0(int16_t *VAR_0, const float *VAR_1,
long VAR_2, int VAR_3)
{ int VAR_4, VAR_5; vector signed short d, s; for (VAR_4 = 0; VAR_4 < VAR_2 - 7; VAR_4 += 8) { d = float_to_int16_one_altivec(VAR_1 + VAR_4); for (VAR_5 = 0; VAR_5 < 8; VAR_5++) { s = vec_splat(d, VAR_5); vec_ste(s, 0, VAR_0); VAR_0 += VAR_3; } } }