Mercurial > mplayer.hg
comparison libmpcodecs/img_format.h @ 6576:b8ed96e21f2c
{RGB,BGR}{1,4}
author | michael |
---|---|
date | Thu, 27 Jun 2002 17:35:37 +0000 |
parents | 920796b6c7b1 |
children | 713182435a76 |
comparison
equal
deleted
inserted
replaced
6575:7622a58bbbe7 | 6576:b8ed96e21f2c |
---|---|
4 | 4 |
5 /* RGB/BGR Formats */ | 5 /* RGB/BGR Formats */ |
6 | 6 |
7 #define IMGFMT_RGB_MASK 0xFFFFFF00 | 7 #define IMGFMT_RGB_MASK 0xFFFFFF00 |
8 #define IMGFMT_RGB (('R'<<24)|('G'<<16)|('B'<<8)) | 8 #define IMGFMT_RGB (('R'<<24)|('G'<<16)|('B'<<8)) |
9 #define IMGFMT_RGB1 (IMGFMT_RGB|1) | |
10 #define IMGFMT_RGB4 (IMGFMT_RGB|4) | |
9 #define IMGFMT_RGB8 (IMGFMT_RGB|8) | 11 #define IMGFMT_RGB8 (IMGFMT_RGB|8) |
10 #define IMGFMT_RGB15 (IMGFMT_RGB|15) | 12 #define IMGFMT_RGB15 (IMGFMT_RGB|15) |
11 #define IMGFMT_RGB16 (IMGFMT_RGB|16) | 13 #define IMGFMT_RGB16 (IMGFMT_RGB|16) |
12 #define IMGFMT_RGB24 (IMGFMT_RGB|24) | 14 #define IMGFMT_RGB24 (IMGFMT_RGB|24) |
13 #define IMGFMT_RGB32 (IMGFMT_RGB|32) | 15 #define IMGFMT_RGB32 (IMGFMT_RGB|32) |
14 | 16 |
15 #define IMGFMT_BGR_MASK 0xFFFFFF00 | 17 #define IMGFMT_BGR_MASK 0xFFFFFF00 |
16 #define IMGFMT_BGR (('B'<<24)|('G'<<16)|('R'<<8)) | 18 #define IMGFMT_BGR (('B'<<24)|('G'<<16)|('R'<<8)) |
19 #define IMGFMT_BGR1 (IMGFMT_BGR|1) | |
20 #define IMGFMT_BGR4 (IMGFMT_BGR|4) | |
17 #define IMGFMT_BGR8 (IMGFMT_BGR|8) | 21 #define IMGFMT_BGR8 (IMGFMT_BGR|8) |
18 #define IMGFMT_BGR15 (IMGFMT_BGR|15) | 22 #define IMGFMT_BGR15 (IMGFMT_BGR|15) |
19 #define IMGFMT_BGR16 (IMGFMT_BGR|16) | 23 #define IMGFMT_BGR16 (IMGFMT_BGR|16) |
20 #define IMGFMT_BGR24 (IMGFMT_BGR|24) | 24 #define IMGFMT_BGR24 (IMGFMT_BGR|24) |
21 #define IMGFMT_BGR32 (IMGFMT_BGR|32) | 25 #define IMGFMT_BGR32 (IMGFMT_BGR|32) |