libweed 0.6.0

- Main Page
- Data Structures
- Files

- File List
- Globals

All Data Structures Files Functions Variables Typedefs Macros
weed-palettes.h
Go to the documentation of this file.
1 /* WEED is free software; you can redistribute it and/or
2 modify it under the terms of the GNU Lesser General Public
3 License as published by the Free Software Foundation; either
4 version 3 of the License, or (at your option) any later version.
5
6 Weed is distributed in the hope that it will be useful,
7 but WITHOUT ANY WARRANTY; without even the implied warranty of
8 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
9 Lesser General Public License for more details.
10
11 You should have received a copy of the GNU Lesser General Public
12 License along with this source code; if not, write to the Free Software
13 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
14
15
16 Weed is developed by:
17
18 Gabriel "Salsaman" Finch - http://lives.sourceforge.net
19
20 mainly based on LiViDO, which is developed by:
21
22
23 Niels Elburg - http://veejay.sf.net
24
25 Gabriel "Salsaman" Finch - http://lives.sourceforge.net
26
27 Denis "Jaromil" Rojo - http://freej.dyne.org
28
29 Tom Schouten - http://zwizwa.fartit.com
30
31 Andraz Tori - http://cvs.cinelerra.org
32
33 reviewed with suggestions and contributions from:
34
35 Silvano "Kysucix" Galliani - http://freej.dyne.org
36
37 Kentaro Fukuchi - http://megaui.net/fukuchi
38
39 Jun Iio - http://www.malib.net
40
41 Carlo Prelz - http://www2.fluido.as:8080/
42
43 */
44
45 /* (C) Gabriel "Salsaman" Finch, 2005 - 2010 */
46
47
48 #ifndef __WEED_PALETTES_H__
49 #define __WEED_PALETTES_H__
50
51 #ifdef __cplusplus
52 extern "C"
53 {
54 #endif /* __cplusplus */
55
56
57 /* Palette types */
58 /* RGB palettes */
59 #define WEED_PALETTE_END 0
60 #define WEED_PALETTE_RGB888 1
61 #define WEED_PALETTE_RGB24 1
62 #define WEED_PALETTE_BGR888 2
63 #define WEED_PALETTE_BGR24 2
64 #define WEED_PALETTE_RGBA8888 3
65 #define WEED_PALETTE_RGBA32 3
66 #define WEED_PALETTE_ARGB8888 4
67 #define WEED_PALETTE_ARGB32 4
68 #define WEED_PALETTE_RGBFLOAT 5
69 #define WEED_PALETTE_RGBAFLOAT 6
70 #define WEED_PALETTE_BGRA8888 7
71 #define WEED_PALETTE_BGRA32 7
72
73 /* YUV palettes */
74 #define WEED_PALETTE_YUV422P 513
75 #define WEED_PALETTE_YV16 513
76 #define WEED_PALETTE_YUV420P 514
77 #define WEED_PALETTE_YV12 514
78 #define WEED_PALETTE_YVU420P 515
79 #define WEED_PALETTE_I420 515
80 #define WEED_PALETTE_IYUV 515
81 #define WEED_PALETTE_YUV444P 516
82 #define WEED_PALETTE_YUVA4444P 517
83 #define WEED_PALETTE_YUYV8888 518
84 #define WEED_PALETTE_YUYV 518
85 #define WEED_PALETTE_YUY2 518
86 #define WEED_PALETTE_UYVY8888 519
87 #define WEED_PALETTE_UYVY 519
88 #define WEED_PALETTE_YUV411 520
89 #define WEED_PALETTE_IYU1 520
90 #define WEED_PALETTE_YUV888 521
91 #define WEED_PALETTE_IYU2 521
92 #define WEED_PALETTE_YUVA8888 522
93
94 /* Alpha palettes */
95 #define WEED_PALETTE_A1 1025
96 #define WEED_PALETTE_A8 1026
97 #define WEED_PALETTE_AFLOAT 1027
98
99
100 /* YUV sampling types */
101 // see http://www.mir.com/DMG/chroma.html
102 #define WEED_YUV_SAMPLING_DEFAULT 0
103 #define WEED_YUV_SAMPLING_JPEG 0
104 #define WEED_YUV_SAMPLING_MPEG 1
105 #define WEED_YUV_SAMPLING_DVPAL 2
106 #define WEED_YUV_SAMPLING_DVNTSC 3
107
108 /* YUV clamping types */
109 #define WEED_YUV_CLAMPING_CLAMPED 0
110 #define WEED_YUV_CLAMPING_UNCLAMPED 1
111
112 /* YUV subspace types */
113 #define WEED_YUV_SUBSPACE_YUV 0
114 #define WEED_YUV_SUBSPACE_YCBCR 1
115 #define WEED_YUV_SUBSPACE_BT709 2
116
117
118 #ifdef __cplusplus
119 }
120 #endif /* __cplusplus */
121
122 #endif