]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/omap_lcd_template.h
find -type f | xargs sed -i 's/[\t ]$//g' # on most files
[mirror_qemu.git] / hw / omap_lcd_template.h
index cdfa5620f7f4c2f80d4033b6ae151b871a589594..4e84fa1d9a0a7c1fa8194e39f4c686cd4d434d8a 100644 (file)
 
 #if DEPTH == 8
 # define BPP 1
-# define PIXEL_TYPE uint8_t 
+# define PIXEL_TYPE uint8_t
 #elif DEPTH == 15 || DEPTH == 16
 # define BPP 2
-# define PIXEL_TYPE uint16_t 
+# define PIXEL_TYPE uint16_t
 #elif DEPTH == 32
 # define BPP 4
-# define PIXEL_TYPE uint32_t 
+# define PIXEL_TYPE uint32_t
 #else
 # error unsupport depth
 #endif
 
-/* 
+/*
  * 2-bit colour
  */
 static void glue(draw_line2_, DEPTH)(
@@ -78,7 +78,7 @@ static void glue(draw_line2_, DEPTH)(
     } while (width > 0);
 }
 
-/* 
+/*
  * 4-bit colour
  */
 static void glue(draw_line4_, DEPTH)(
@@ -104,7 +104,7 @@ static void glue(draw_line4_, DEPTH)(
     } while (width > 0);
 }
 
-/* 
+/*
  * 8-bit colour
  */
 static void glue(draw_line8_, DEPTH)(
@@ -123,7 +123,7 @@ static void glue(draw_line8_, DEPTH)(
     } while (-- width != 0);
 }
 
-/* 
+/*
  * 12-bit colour
  */
 static void glue(draw_line12_, DEPTH)(
@@ -143,7 +143,7 @@ static void glue(draw_line12_, DEPTH)(
     } while (-- width != 0);
 }
 
-/* 
+/*
  * 16-bit colour
  */
 static void glue(draw_line16_, DEPTH)(