Choco OS  V.0.16.9.0
Join to the chocolate world
oc_pixel.h
Go to the documentation of this file.
1 
28 #ifndef SYSTEM_LIBRARIES_INC_OC_PIXEL_H_
29 #define SYSTEM_LIBRARIES_INC_OC_PIXEL_H_
30 
31 #include <oc_stdtypes.h>
32 #include <oc_color.h>
33 #include <oc_assert.h>
34 
35 typedef uint16_t oC_Pixel_ResolutionUInt_t;
36 typedef uint8_t oC_Pixel_Alpha_t;
37 
38 typedef enum
39 {
40  oC_PixelFormat_ARGB8888 ,
41  oC_PixelFormat_RGB888 ,
42  oC_PixelFormat_RGB565 ,
43  oC_PixelFormat_ARGB1555 ,
44  oC_PixelFormat_ARGB4444 ,
45  oC_PixelFormat_L8 ,
46  oC_PixelFormat_AL44 ,
47  oC_PixelFormat_AL88 ,
48 } oC_PixelFormat_t;
49 
50 typedef enum
51 {
52  oC_Pixel_Usage_NotUsed ,
53  oC_Pixel_Usage_Used
54 } oC_Pixel_Usage_t;
55 
56 typedef struct
57 {
58  oC_Color_t Color;
59  oC_Pixel_Alpha_t Alpha;
60  oC_Pixel_Usage_t Usage;
61 } oC_Pixel_t;
62 
63 typedef struct
64 {
65  oC_Pixel_ResolutionUInt_t X;
66  oC_Pixel_ResolutionUInt_t Y;
68 
69 #endif /* SYSTEM_LIBRARIES_INC_OC_PIXEL_H_ */
The file with interface for the color library.
FILE__DESCRIPTION
FILE__DESCRIPTION