Changeset 2722
- Timestamp:
- Aug 15, 2008, 1:11:12 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpipi/trunk/pipi/pipi.h
r2718 r2722 21 21 22 22 #include <stdio.h> 23 #include <string.h> 23 24 24 25 #ifdef __cplusplus … … 51 52 } 52 53 pipi_format_t; 54 55 struct pixel_u32 56 { 57 uint8_t r, g, b, a; 58 }; 59 struct pixel_float 60 { 61 float r, g, b, a; 62 }; 63 64 typedef struct 65 { 66 union 67 { 68 struct pixel_u32 pixel_u32; 69 struct pixel_float pixel_float; 70 }; 71 } 72 pipi_pixel_t; 53 73 54 74 /* pipi_pixels_t: this structure stores a pixel view of an image. */ … … 118 138 extern void pipi_dither_24to16(pipi_image_t *); 119 139 140 120 141 #ifdef __cplusplus 121 142 }
Note: See TracChangeset
for help on using the changeset viewer.