Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(91)

Side by Side Diff: include/dev/display.h

Issue 1755273004: [display] Add DISPLAY_FORMAT_RGB_x111 (Closed) Base URL: https://github.com/littlekernel/lk.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | target/dartuinoP0/display/LS013B7DH06.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2008-2010 Travis Geiselbrecht 2 * Copyright (c) 2008-2010 Travis Geiselbrecht
3 * 3 *
4 * Permission is hereby granted, free of charge, to any person obtaining 4 * Permission is hereby granted, free of charge, to any person obtaining
5 * a copy of this software and associated documentation files 5 * a copy of this software and associated documentation files
6 * (the "Software"), to deal in the Software without restriction, 6 * (the "Software"), to deal in the Software without restriction,
7 * including without limitation the rights to use, copy, modify, merge, 7 * including without limitation the rights to use, copy, modify, merge,
8 * publish, distribute, sublicense, and/or sell copies of the Software, 8 * publish, distribute, sublicense, and/or sell copies of the Software,
9 * and to permit persons to whom the Software is furnished to do so, 9 * and to permit persons to whom the Software is furnished to do so,
10 * subject to the following conditions: 10 * subject to the following conditions:
(...skipping 23 matching lines...) Expand all
34 int display_enable(bool enable); 34 int display_enable(bool enable);
35 void display_pre_freq_change(void); 35 void display_pre_freq_change(void);
36 void display_post_freq_change(void); 36 void display_post_freq_change(void);
37 37
38 #define DISPLAY_FORMAT_NONE (-1) 38 #define DISPLAY_FORMAT_NONE (-1)
39 #define DISPLAY_FORMAT_RGB_565 (0) 39 #define DISPLAY_FORMAT_RGB_565 (0)
40 #define DISPLAY_FORMAT_RGB_332 (1) 40 #define DISPLAY_FORMAT_RGB_332 (1)
41 #define DISPLAY_FORMAT_RGB_2220 (2) 41 #define DISPLAY_FORMAT_RGB_2220 (2)
42 #define DISPLAY_FORMAT_ARGB_8888 (3) 42 #define DISPLAY_FORMAT_ARGB_8888 (3)
43 #define DISPLAY_FORMAT_RGB_x888 (4) 43 #define DISPLAY_FORMAT_RGB_x888 (4)
44 #define DISPLAY_FORMAT_MONO_1 (5) 44 #define DISPLAY_FORMAT_RGB_x111 (5)
45 #define DISPLAY_FORMAT_MONO_8 (6) 45 #define DISPLAY_FORMAT_MONO_1 (6)
46 #define DISPLAY_FORMAT_MONO_8 (7)
46 47
47 struct display_info { 48 struct display_info {
48 void *framebuffer; 49 void *framebuffer;
49 int format; 50 int format;
50 uint width; 51 uint width;
51 uint height; 52 uint height;
52 uint stride; 53 uint stride;
53 54
54 // Update function 55 // Update function
55 void (*flush)(uint starty, uint endy); 56 void (*flush)(uint starty, uint endy);
56 }; 57 };
57 58
58 status_t display_get_info(struct display_info *info); 59 status_t display_get_info(struct display_info *info);
59 60
60 __END_CDECLS 61 __END_CDECLS
61 62
62 #endif 63 #endif
63 64
OLDNEW
« no previous file with comments | « no previous file | target/dartuinoP0/display/LS013B7DH06.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698