void ff_vp3_v_loop_filter_c(uint8_t *first_pixel, int stride, int *bounding_values)

{

    unsigned char *end;

    int filter_value;

    const int nstride= -stride;



    for (end= first_pixel + 8; first_pixel < end; first_pixel++) {

        filter_value =

            (first_pixel[2 * nstride] - first_pixel[ stride])

         +3*(first_pixel[0          ] - first_pixel[nstride]);

        filter_value = bounding_values[(filter_value + 4) >> 3];

        first_pixel[nstride] = av_clip_uint8(first_pixel[nstride] + filter_value);

        first_pixel[0] = av_clip_uint8(first_pixel[0] - filter_value);

    }

}

void ff_vp3_v_loop_filter_c(uint8_t *first_pixel, int stride, int *bounding_values)

{

    unsigned char *end;

    int filter_value;

    const int nstride= -stride;



    for (end= first_pixel + 8; first_pixel < end; first_pixel++) {

        filter_value =

            (first_pixel[2 * nstride] - first_pixel[ stride])

         +3*(first_pixel[0          ] - first_pixel[nstride]);

        filter_value = bounding_values[(filter_value + 4) >> 3];

        first_pixel[nstride] = av_clip_uint8(first_pixel[nstride] + filter_value);

        first_pixel[0] = av_clip_uint8(first_pixel[0] - filter_value);

    }

}

void FUNC_0(uint8_t *VAR_0, int VAR_1, int *VAR_2)

{

    unsigned char *VAR_3;

    int VAR_4;

    const int VAR_5= -VAR_1;



    for (VAR_3= VAR_0 + 8; VAR_0 < VAR_3; VAR_0++) {

        VAR_4 =

            (VAR_0[2 * VAR_5] - VAR_0[ VAR_1])

         +3*(VAR_0[0          ] - VAR_0[VAR_5]);

        VAR_4 = VAR_2[(VAR_4 + 4) >> 3];

        VAR_0[VAR_5] = av_clip_uint8(VAR_0[VAR_5] + VAR_4);

        VAR_0[0] = av_clip_uint8(VAR_0[0] - VAR_4);

    }

}

void FUNC_0(uint8_t *VAR_0, int VAR_1, int *VAR_2)
{ unsigned char *VAR_3; int VAR_4; const int VAR_5= -VAR_1; for (VAR_3= VAR_0 + 8; VAR_0 < VAR_3; VAR_0++) { VAR_4 =
(VAR_0[2 * VAR_5] - VAR_0[ VAR_1])
+3*(VAR_0[0          ] - VAR_0[VAR_5]); VAR_4 = VAR_2[(VAR_4 + 4) >> 3]; VAR_0[VAR_5] = av_clip_uint8(VAR_0[VAR_5] + VAR_4); VAR_0[0] = av_clip_uint8(VAR_0[0] - VAR_4); } }