static inline int get_lowest_part_list_y(H264Context *h, Picture *pic, int n,

                                         int height, int y_offset, int list)

{

    int raw_my        = h->mv_cache[list][scan8[n]][1];

    int filter_height = (raw_my & 3) ? 2 : 0;

    int full_my       = (raw_my >> 2) + y_offset;

    int top           = full_my - filter_height;

    int bottom        = full_my + filter_height + height;



    return FFMAX(abs(top), bottom);

}

static inline int get_lowest_part_list_y(H264Context *h, Picture *pic, int n,

                                         int height, int y_offset, int list)

{

    int raw_my        = h->mv_cache[list][scan8[n]][1];

    int filter_height = (raw_my & 3) ? 2 : 0;

    int full_my       = (raw_my >> 2) + y_offset;

    int top           = full_my - filter_height;

    int bottom        = full_my + filter_height + height;



    return FFMAX(abs(top), bottom);

}

    int filter_height = (raw_my & 3) ? 2 : 0;     int top           = full_my - filter_height;     int bottom        = full_my + filter_height + height;
static inline int FUNC_0(H264Context *VAR_0, Picture *VAR_1, int VAR_2,

                                         int VAR_3, int VAR_4, int VAR_5)

{

    int VAR_6        = VAR_0->mv_cache[VAR_5][scan8[VAR_2]][1];

    int VAR_7 = (VAR_6 & 3) ? 2 : 0;

    int VAR_8       = (VAR_6 >> 2) + VAR_4;

    int VAR_9           = VAR_8 - VAR_7;

    int VAR_10        = VAR_8 + VAR_7 + VAR_3;



    return FFMAX(abs(VAR_9), VAR_10);

}

static inline int FUNC_0(H264Context *VAR_0, Picture *VAR_1, int VAR_2,
int VAR_3, int VAR_4, int VAR_5)
{ int VAR_6        = VAR_0->mv_cache[VAR_5][scan8[VAR_2]][1]; int VAR_7 = (VAR_6 & 3) ? 2 : 0; int VAR_8       = (VAR_6 >> 2) + VAR_4; int VAR_9           = VAR_8 - VAR_7; int VAR_10        = VAR_8 + VAR_7 + VAR_3; return FFMAX(abs(VAR_9), VAR_10); }