Lines Matching refs:width
40 static inline void rotate_ud(const char *in, char *out, u32 width, u32 height) in rotate_ud() argument
43 int shift = (8 - (width % 8)) & 7; in rotate_ud()
45 width = (width + 7) & ~7; in rotate_ud()
48 for (j = 0; j < width - shift; j++) { in rotate_ud()
49 if (pattern_test_bit(j, i, width, in)) in rotate_ud()
50 pattern_set_bit(width - (1 + j + shift), in rotate_ud()
52 width, out); in rotate_ud()
58 static inline void rotate_cw(const char *in, char *out, u32 width, u32 height) in rotate_cw() argument
60 int i, j, h = height, w = width; in rotate_cw()
63 width = (width + 7) & ~7; in rotate_cw()
68 if (pattern_test_bit(j, i, width, in)) in rotate_cw()
76 static inline void rotate_ccw(const char *in, char *out, u32 width, u32 height) in rotate_ccw() argument
78 int i, j, h = height, w = width; in rotate_ccw()
79 int shift = (8 - (width % 8)) & 7; in rotate_ccw()
81 width = (width + 7) & ~7; in rotate_ccw()
86 if (pattern_test_bit(j, i, width, in)) in rotate_ccw()
87 pattern_set_bit(i, width - 1 - j - shift, in rotate_ccw()