Changeset 30885b9 in mainline for kernel/genarch/include/fb/visuals.h


Ignore:
Timestamp:
2009-07-31T19:11:54Z (16 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a405563
Parents:
646b996
Message:

RGB conversion functions should work with a well-defined pixel format.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/genarch/include/fb/visuals.h

    r646b996 r30885b9  
    3636#define KERN_VISUALS_H_
    3737
    38 #define VISUAL_INDIRECT_8   0
    39 
    40 #define VISUAL_RGB_5_5_5    1
    41 #define VISUAL_RGB_5_6_5    2
    42 #define VISUAL_RGB_8_8_8    3
    43 #define VISUAL_RGB_8_8_8_0  4
    44 #define VISUAL_RGB_0_8_8_8  5
    45 
    46 #define VISUAL_BGR_0_8_8_8  6
    47 #define VISUAL_BGR_8_8_8    7
     38typedef enum {
     39        VISUAL_INDIRECT_8,
     40        VISUAL_BGR_5_5_5,
     41        VISUAL_BGR_5_6_5,
     42        VISUAL_BGR_8_8_8,
     43        VISUAL_BGR_0_8_8_8,
     44        VISUAL_BGR_8_8_8_0,
     45        VISUAL_RGB_8_8_8,
     46        VISUAL_RGB_0_8_8_8,
     47        VISUAL_RGB_8_8_8_0
     48} visual_t;
    4849
    4950#endif
Note: See TracChangeset for help on using the changeset viewer.