|
1 |
|
2 /* Generated data (by glib-mkenums) */ |
|
3 |
|
4 #include "photography-enumtypes.h" |
|
5 |
|
6 #include "photography.h" |
|
7 |
|
8 /* enumerations from "photography.h" */ |
|
9 GType |
|
10 gst_white_balance_mode_get_type (void) |
|
11 { |
|
12 static GType etype = 0; |
|
13 if (etype == 0) { |
|
14 static const GEnumValue values[] = { |
|
15 {GST_PHOTOGRAPHY_WB_MODE_AUTO, "GST_PHOTOGRAPHY_WB_MODE_AUTO", "auto"}, |
|
16 {GST_PHOTOGRAPHY_WB_MODE_DAYLIGHT, "GST_PHOTOGRAPHY_WB_MODE_DAYLIGHT", |
|
17 "daylight"}, |
|
18 {GST_PHOTOGRAPHY_WB_MODE_CLOUDY, "GST_PHOTOGRAPHY_WB_MODE_CLOUDY", |
|
19 "cloudy"}, |
|
20 {GST_PHOTOGRAPHY_WB_MODE_SUNSET, "GST_PHOTOGRAPHY_WB_MODE_SUNSET", |
|
21 "sunset"}, |
|
22 {GST_PHOTOGRAPHY_WB_MODE_TUNGSTEN, "GST_PHOTOGRAPHY_WB_MODE_TUNGSTEN", |
|
23 "tungsten"}, |
|
24 {GST_PHOTOGRAPHY_WB_MODE_FLUORESCENT, |
|
25 "GST_PHOTOGRAPHY_WB_MODE_FLUORESCENT", "fluorescent"}, |
|
26 {0, NULL, NULL} |
|
27 }; |
|
28 etype = g_enum_register_static ("GstWhiteBalanceMode", values); |
|
29 } |
|
30 return etype; |
|
31 } |
|
32 |
|
33 GType |
|
34 gst_colour_tone_mode_get_type (void) |
|
35 { |
|
36 static GType etype = 0; |
|
37 if (etype == 0) { |
|
38 static const GEnumValue values[] = { |
|
39 {GST_PHOTOGRAPHY_COLOUR_TONE_MODE_NORMAL, |
|
40 "GST_PHOTOGRAPHY_COLOUR_TONE_MODE_NORMAL", "normal"}, |
|
41 {GST_PHOTOGRAPHY_COLOUR_TONE_MODE_SEPIA, |
|
42 "GST_PHOTOGRAPHY_COLOUR_TONE_MODE_SEPIA", "sepia"}, |
|
43 {GST_PHOTOGRAPHY_COLOUR_TONE_MODE_NEGATIVE, |
|
44 "GST_PHOTOGRAPHY_COLOUR_TONE_MODE_NEGATIVE", "negative"}, |
|
45 {GST_PHOTOGRAPHY_COLOUR_TONE_MODE_GRAYSCALE, |
|
46 "GST_PHOTOGRAPHY_COLOUR_TONE_MODE_GRAYSCALE", "grayscale"}, |
|
47 {GST_PHOTOGRAPHY_COLOUR_TONE_MODE_NATURAL, |
|
48 "GST_PHOTOGRAPHY_COLOUR_TONE_MODE_NATURAL", "natural"}, |
|
49 {GST_PHOTOGRAPHY_COLOUR_TONE_MODE_VIVID, |
|
50 "GST_PHOTOGRAPHY_COLOUR_TONE_MODE_VIVID", "vivid"}, |
|
51 {GST_PHOTOGRAPHY_COLOUR_TONE_MODE_COLORSWAP, |
|
52 "GST_PHOTOGRAPHY_COLOUR_TONE_MODE_COLORSWAP", "colorswap"}, |
|
53 {GST_PHOTOGRAPHY_COLOUR_TONE_MODE_SOLARIZE, |
|
54 "GST_PHOTOGRAPHY_COLOUR_TONE_MODE_SOLARIZE", "solarize"}, |
|
55 {GST_PHOTOGRAPHY_COLOUR_TONE_MODE_OUT_OF_FOCUS, |
|
56 "GST_PHOTOGRAPHY_COLOUR_TONE_MODE_OUT_OF_FOCUS", "out-of-focus"}, |
|
57 {0, NULL, NULL} |
|
58 }; |
|
59 etype = g_enum_register_static ("GstColourToneMode", values); |
|
60 } |
|
61 return etype; |
|
62 } |
|
63 |
|
64 GType |
|
65 gst_scene_mode_get_type (void) |
|
66 { |
|
67 static GType etype = 0; |
|
68 if (etype == 0) { |
|
69 static const GEnumValue values[] = { |
|
70 {GST_PHOTOGRAPHY_SCENE_MODE_MANUAL, "GST_PHOTOGRAPHY_SCENE_MODE_MANUAL", |
|
71 "manual"}, |
|
72 {GST_PHOTOGRAPHY_SCENE_MODE_CLOSEUP, "GST_PHOTOGRAPHY_SCENE_MODE_CLOSEUP", |
|
73 "closeup"}, |
|
74 {GST_PHOTOGRAPHY_SCENE_MODE_PORTRAIT, |
|
75 "GST_PHOTOGRAPHY_SCENE_MODE_PORTRAIT", "portrait"}, |
|
76 {GST_PHOTOGRAPHY_SCENE_MODE_LANDSCAPE, |
|
77 "GST_PHOTOGRAPHY_SCENE_MODE_LANDSCAPE", "landscape"}, |
|
78 {GST_PHOTOGRAPHY_SCENE_MODE_SPORT, "GST_PHOTOGRAPHY_SCENE_MODE_SPORT", |
|
79 "sport"}, |
|
80 {GST_PHOTOGRAPHY_SCENE_MODE_NIGHT, "GST_PHOTOGRAPHY_SCENE_MODE_NIGHT", |
|
81 "night"}, |
|
82 {GST_PHOTOGRAPHY_SCENE_MODE_AUTO, "GST_PHOTOGRAPHY_SCENE_MODE_AUTO", |
|
83 "auto"}, |
|
84 {0, NULL, NULL} |
|
85 }; |
|
86 etype = g_enum_register_static ("GstSceneMode", values); |
|
87 } |
|
88 return etype; |
|
89 } |
|
90 |
|
91 GType |
|
92 gst_flash_mode_get_type (void) |
|
93 { |
|
94 static GType etype = 0; |
|
95 if (etype == 0) { |
|
96 static const GEnumValue values[] = { |
|
97 {GST_PHOTOGRAPHY_FLASH_MODE_AUTO, "GST_PHOTOGRAPHY_FLASH_MODE_AUTO", |
|
98 "auto"}, |
|
99 {GST_PHOTOGRAPHY_FLASH_MODE_OFF, "GST_PHOTOGRAPHY_FLASH_MODE_OFF", "off"}, |
|
100 {GST_PHOTOGRAPHY_FLASH_MODE_ON, "GST_PHOTOGRAPHY_FLASH_MODE_ON", "on"}, |
|
101 {GST_PHOTOGRAPHY_FLASH_MODE_FILL_IN, "GST_PHOTOGRAPHY_FLASH_MODE_FILL_IN", |
|
102 "fill-in"}, |
|
103 {GST_PHOTOGRAPHY_FLASH_MODE_RED_EYE, "GST_PHOTOGRAPHY_FLASH_MODE_RED_EYE", |
|
104 "red-eye"}, |
|
105 {0, NULL, NULL} |
|
106 }; |
|
107 etype = g_enum_register_static ("GstFlashMode", values); |
|
108 } |
|
109 return etype; |
|
110 } |
|
111 |
|
112 GType |
|
113 gst_focus_status_get_type (void) |
|
114 { |
|
115 static GType etype = 0; |
|
116 if (etype == 0) { |
|
117 static const GEnumValue values[] = { |
|
118 {GST_PHOTOGRAPHY_FOCUS_STATUS_NONE, "GST_PHOTOGRAPHY_FOCUS_STATUS_NONE", |
|
119 "none"}, |
|
120 {GST_PHOTOGRAPHY_FOCUS_STATUS_RUNNING, |
|
121 "GST_PHOTOGRAPHY_FOCUS_STATUS_RUNNING", "running"}, |
|
122 {GST_PHOTOGRAPHY_FOCUS_STATUS_FAIL, "GST_PHOTOGRAPHY_FOCUS_STATUS_FAIL", |
|
123 "fail"}, |
|
124 {GST_PHOTOGRAPHY_FOCUS_STATUS_SUCCESS, |
|
125 "GST_PHOTOGRAPHY_FOCUS_STATUS_SUCCESS", "success"}, |
|
126 {0, NULL, NULL} |
|
127 }; |
|
128 etype = g_enum_register_static ("GstFocusStatus", values); |
|
129 } |
|
130 return etype; |
|
131 } |
|
132 |
|
133 GType |
|
134 gst_photo_caps_get_type (void) |
|
135 { |
|
136 static GType etype = 0; |
|
137 if (etype == 0) { |
|
138 static const GFlagsValue values[] = { |
|
139 {GST_PHOTOGRAPHY_CAPS_NONE, "GST_PHOTOGRAPHY_CAPS_NONE", "none"}, |
|
140 {GST_PHOTOGRAPHY_CAPS_EV_COMP, "GST_PHOTOGRAPHY_CAPS_EV_COMP", "ev-comp"}, |
|
141 {GST_PHOTOGRAPHY_CAPS_ISO_SPEED, "GST_PHOTOGRAPHY_CAPS_ISO_SPEED", |
|
142 "iso-speed"}, |
|
143 {GST_PHOTOGRAPHY_CAPS_WB_MODE, "GST_PHOTOGRAPHY_CAPS_WB_MODE", "wb-mode"}, |
|
144 {GST_PHOTOGRAPHY_CAPS_TONE, "GST_PHOTOGRAPHY_CAPS_TONE", "tone"}, |
|
145 {GST_PHOTOGRAPHY_CAPS_SCENE, "GST_PHOTOGRAPHY_CAPS_SCENE", "scene"}, |
|
146 {GST_PHOTOGRAPHY_CAPS_FLASH, "GST_PHOTOGRAPHY_CAPS_FLASH", "flash"}, |
|
147 {GST_PHOTOGRAPHY_CAPS_ZOOM, "GST_PHOTOGRAPHY_CAPS_ZOOM", "zoom"}, |
|
148 {GST_PHOTOGRAPHY_CAPS_FOCUS, "GST_PHOTOGRAPHY_CAPS_FOCUS", "focus"}, |
|
149 {GST_PHOTOGRAPHY_CAPS_APERTURE, "GST_PHOTOGRAPHY_CAPS_APERTURE", |
|
150 "aperture"}, |
|
151 {GST_PHOTOGRAPHY_CAPS_EXPOSURE, "GST_PHOTOGRAPHY_CAPS_EXPOSURE", |
|
152 "exposure"}, |
|
153 {GST_PHOTOGRAPHY_CAPS_SHAKE, "GST_PHOTOGRAPHY_CAPS_SHAKE", "shake"}, |
|
154 {0, NULL, NULL} |
|
155 }; |
|
156 etype = g_flags_register_static ("GstPhotoCaps", values); |
|
157 } |
|
158 return etype; |
|
159 } |
|
160 |
|
161 GType |
|
162 gst_photo_shake_risk_get_type (void) |
|
163 { |
|
164 static GType etype = 0; |
|
165 if (etype == 0) { |
|
166 static const GEnumValue values[] = { |
|
167 {GST_PHOTOGRAPHY_SHAKE_RISK_LOW, "GST_PHOTOGRAPHY_SHAKE_RISK_LOW", "low"}, |
|
168 {GST_PHOTOGRAPHY_SHAKE_RISK_MEDIUM, "GST_PHOTOGRAPHY_SHAKE_RISK_MEDIUM", |
|
169 "medium"}, |
|
170 {GST_PHOTOGRAPHY_SHAKE_RISK_HIGH, "GST_PHOTOGRAPHY_SHAKE_RISK_HIGH", |
|
171 "high"}, |
|
172 {0, NULL, NULL} |
|
173 }; |
|
174 etype = g_enum_register_static ("GstPhotoShakeRisk", values); |
|
175 } |
|
176 return etype; |
|
177 } |
|
178 |
|
179 /* Generated data ends here */ |