Revision 5fafdf24 hw/omap_lcd_template.h

b/hw/omap_lcd_template.h
29 29

  
30 30
#if DEPTH == 8
31 31
# define BPP 1
32
# define PIXEL_TYPE uint8_t 
32
# define PIXEL_TYPE uint8_t
33 33
#elif DEPTH == 15 || DEPTH == 16
34 34
# define BPP 2
35
# define PIXEL_TYPE uint16_t 
35
# define PIXEL_TYPE uint16_t
36 36
#elif DEPTH == 32
37 37
# define BPP 4
38
# define PIXEL_TYPE uint32_t 
38
# define PIXEL_TYPE uint32_t
39 39
#else
40 40
# error unsupport depth
41 41
#endif
42 42

  
43
/* 
43
/*
44 44
 * 2-bit colour
45 45
 */
46 46
static void glue(draw_line2_, DEPTH)(
......
78 78
    } while (width > 0);
79 79
}
80 80

  
81
/* 
81
/*
82 82
 * 4-bit colour
83 83
 */
84 84
static void glue(draw_line4_, DEPTH)(
......
104 104
    } while (width > 0);
105 105
}
106 106

  
107
/* 
107
/*
108 108
 * 8-bit colour
109 109
 */
110 110
static void glue(draw_line8_, DEPTH)(
......
123 123
    } while (-- width != 0);
124 124
}
125 125

  
126
/* 
126
/*
127 127
 * 12-bit colour
128 128
 */
129 129
static void glue(draw_line12_, DEPTH)(
......
143 143
    } while (-- width != 0);
144 144
}
145 145

  
146
/* 
146
/*
147 147
 * 16-bit colour
148 148
 */
149 149
static void glue(draw_line16_, DEPTH)(

Also available in: Unified diff