static void horizontal_filter(unsigned char *first_pixel, int stride,

    int *bounding_values)

{

    unsigned char *end;

    int filter_value;



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

        filter_value =

            (first_pixel[-2] - first_pixel[ 1])

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

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

        first_pixel[-1] = clip_uint8(first_pixel[-1] + filter_value);

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

    }

}

static void horizontal_filter(unsigned char *first_pixel, int stride,

    int *bounding_values)

{

    unsigned char *end;

    int filter_value;



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

        filter_value =

            (first_pixel[-2] - first_pixel[ 1])

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

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

        first_pixel[-1] = clip_uint8(first_pixel[-1] + filter_value);

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

    }

}

static void FUNC_0(unsigned char *VAR_0, int VAR_1,

    int *VAR_2)

{

    unsigned char *VAR_3;

    int VAR_4;



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

        VAR_4 =

            (VAR_0[-2] - VAR_0[ 1])

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

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

        VAR_0[-1] = clip_uint8(VAR_0[-1] + VAR_4);

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

    }

}

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