summaryrefslogtreecommitdiff
path: root/win32/common/photography-enumtypes.c
blob: 45e7e83374d438c76d849157df4b6e56c6e5808c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179

/* Generated data (by glib-mkenums) */

#include "photography-enumtypes.h"

#include "photography.h"

/* enumerations from "photography.h" */
GType
gst_white_balance_mode_get_type (void)
{
  static GType etype = 0;
  if (etype == 0) {
    static const GEnumValue values[] = {
      {GST_PHOTOGRAPHY_WB_MODE_AUTO, "GST_PHOTOGRAPHY_WB_MODE_AUTO", "auto"},
      {GST_PHOTOGRAPHY_WB_MODE_DAYLIGHT, "GST_PHOTOGRAPHY_WB_MODE_DAYLIGHT",
          "daylight"},
      {GST_PHOTOGRAPHY_WB_MODE_CLOUDY, "GST_PHOTOGRAPHY_WB_MODE_CLOUDY",
          "cloudy"},
      {GST_PHOTOGRAPHY_WB_MODE_SUNSET, "GST_PHOTOGRAPHY_WB_MODE_SUNSET",
          "sunset"},
      {GST_PHOTOGRAPHY_WB_MODE_TUNGSTEN, "GST_PHOTOGRAPHY_WB_MODE_TUNGSTEN",
          "tungsten"},
      {GST_PHOTOGRAPHY_WB_MODE_FLUORESCENT,
          "GST_PHOTOGRAPHY_WB_MODE_FLUORESCENT", "fluorescent"},
      {0, NULL, NULL}
    };
    etype = g_enum_register_static ("GstWhiteBalanceMode", values);
  }
  return etype;
}

GType
gst_colour_tone_mode_get_type (void)
{
  static GType etype = 0;
  if (etype == 0) {
    static const GEnumValue values[] = {
      {GST_PHOTOGRAPHY_COLOUR_TONE_MODE_NORMAL,
          "GST_PHOTOGRAPHY_COLOUR_TONE_MODE_NORMAL", "normal"},
      {GST_PHOTOGRAPHY_COLOUR_TONE_MODE_SEPIA,
          "GST_PHOTOGRAPHY_COLOUR_TONE_MODE_SEPIA", "sepia"},
      {GST_PHOTOGRAPHY_COLOUR_TONE_MODE_NEGATIVE,
          "GST_PHOTOGRAPHY_COLOUR_TONE_MODE_NEGATIVE", "negative"},
      {GST_PHOTOGRAPHY_COLOUR_TONE_MODE_GRAYSCALE,
          "GST_PHOTOGRAPHY_COLOUR_TONE_MODE_GRAYSCALE", "grayscale"},
      {GST_PHOTOGRAPHY_COLOUR_TONE_MODE_NATURAL,
          "GST_PHOTOGRAPHY_COLOUR_TONE_MODE_NATURAL", "natural"},
      {GST_PHOTOGRAPHY_COLOUR_TONE_MODE_VIVID,
          "GST_PHOTOGRAPHY_COLOUR_TONE_MODE_VIVID", "vivid"},
      {GST_PHOTOGRAPHY_COLOUR_TONE_MODE_COLORSWAP,
          "GST_PHOTOGRAPHY_COLOUR_TONE_MODE_COLORSWAP", "colorswap"},
      {GST_PHOTOGRAPHY_COLOUR_TONE_MODE_SOLARIZE,
          "GST_PHOTOGRAPHY_COLOUR_TONE_MODE_SOLARIZE", "solarize"},
      {GST_PHOTOGRAPHY_COLOUR_TONE_MODE_OUT_OF_FOCUS,
          "GST_PHOTOGRAPHY_COLOUR_TONE_MODE_OUT_OF_FOCUS", "out-of-focus"},
      {0, NULL, NULL}
    };
    etype = g_enum_register_static ("GstColourToneMode", values);
  }
  return etype;
}

GType
gst_scene_mode_get_type (void)
{
  static GType etype = 0;
  if (etype == 0) {
    static const GEnumValue values[] = {
      {GST_PHOTOGRAPHY_SCENE_MODE_MANUAL, "GST_PHOTOGRAPHY_SCENE_MODE_MANUAL",
          "manual"},
      {GST_PHOTOGRAPHY_SCENE_MODE_CLOSEUP, "GST_PHOTOGRAPHY_SCENE_MODE_CLOSEUP",
          "closeup"},
      {GST_PHOTOGRAPHY_SCENE_MODE_PORTRAIT,
          "GST_PHOTOGRAPHY_SCENE_MODE_PORTRAIT", "portrait"},
      {GST_PHOTOGRAPHY_SCENE_MODE_LANDSCAPE,
          "GST_PHOTOGRAPHY_SCENE_MODE_LANDSCAPE", "landscape"},
      {GST_PHOTOGRAPHY_SCENE_MODE_SPORT, "GST_PHOTOGRAPHY_SCENE_MODE_SPORT",
          "sport"},
      {GST_PHOTOGRAPHY_SCENE_MODE_NIGHT, "GST_PHOTOGRAPHY_SCENE_MODE_NIGHT",
          "night"},
      {GST_PHOTOGRAPHY_SCENE_MODE_AUTO, "GST_PHOTOGRAPHY_SCENE_MODE_AUTO",
          "auto"},
      {0, NULL, NULL}
    };
    etype = g_enum_register_static ("GstSceneMode", values);
  }
  return etype;
}

GType
gst_flash_mode_get_type (void)
{
  static GType etype = 0;
  if (etype == 0) {
    static const GEnumValue values[] = {
      {GST_PHOTOGRAPHY_FLASH_MODE_AUTO, "GST_PHOTOGRAPHY_FLASH_MODE_AUTO",
          "auto"},
      {GST_PHOTOGRAPHY_FLASH_MODE_OFF, "GST_PHOTOGRAPHY_FLASH_MODE_OFF", "off"},
      {GST_PHOTOGRAPHY_FLASH_MODE_ON, "GST_PHOTOGRAPHY_FLASH_MODE_ON", "on"},
      {GST_PHOTOGRAPHY_FLASH_MODE_FILL_IN, "GST_PHOTOGRAPHY_FLASH_MODE_FILL_IN",
          "fill-in"},
      {GST_PHOTOGRAPHY_FLASH_MODE_RED_EYE, "GST_PHOTOGRAPHY_FLASH_MODE_RED_EYE",
          "red-eye"},
      {0, NULL, NULL}
    };
    etype = g_enum_register_static ("GstFlashMode", values);
  }
  return etype;
}

GType
gst_focus_status_get_type (void)
{
  static GType etype = 0;
  if (etype == 0) {
    static const GEnumValue values[] = {
      {GST_PHOTOGRAPHY_FOCUS_STATUS_NONE, "GST_PHOTOGRAPHY_FOCUS_STATUS_NONE",
          "none"},
      {GST_PHOTOGRAPHY_FOCUS_STATUS_RUNNING,
          "GST_PHOTOGRAPHY_FOCUS_STATUS_RUNNING", "running"},
      {GST_PHOTOGRAPHY_FOCUS_STATUS_FAIL, "GST_PHOTOGRAPHY_FOCUS_STATUS_FAIL",
          "fail"},
      {GST_PHOTOGRAPHY_FOCUS_STATUS_SUCCESS,
          "GST_PHOTOGRAPHY_FOCUS_STATUS_SUCCESS", "success"},
      {0, NULL, NULL}
    };
    etype = g_enum_register_static ("GstFocusStatus", values);
  }
  return etype;
}

GType
gst_photo_caps_get_type (void)
{
  static GType etype = 0;
  if (etype == 0) {
    static const GFlagsValue values[] = {
      {GST_PHOTOGRAPHY_CAPS_NONE, "GST_PHOTOGRAPHY_CAPS_NONE", "none"},
      {GST_PHOTOGRAPHY_CAPS_EV_COMP, "GST_PHOTOGRAPHY_CAPS_EV_COMP", "ev-comp"},
      {GST_PHOTOGRAPHY_CAPS_ISO_SPEED, "GST_PHOTOGRAPHY_CAPS_ISO_SPEED",
          "iso-speed"},
      {GST_PHOTOGRAPHY_CAPS_WB_MODE, "GST_PHOTOGRAPHY_CAPS_WB_MODE", "wb-mode"},
      {GST_PHOTOGRAPHY_CAPS_TONE, "GST_PHOTOGRAPHY_CAPS_TONE", "tone"},
      {GST_PHOTOGRAPHY_CAPS_SCENE, "GST_PHOTOGRAPHY_CAPS_SCENE", "scene"},
      {GST_PHOTOGRAPHY_CAPS_FLASH, "GST_PHOTOGRAPHY_CAPS_FLASH", "flash"},
      {GST_PHOTOGRAPHY_CAPS_ZOOM, "GST_PHOTOGRAPHY_CAPS_ZOOM", "zoom"},
      {GST_PHOTOGRAPHY_CAPS_FOCUS, "GST_PHOTOGRAPHY_CAPS_FOCUS", "focus"},
      {GST_PHOTOGRAPHY_CAPS_APERTURE, "GST_PHOTOGRAPHY_CAPS_APERTURE",
          "aperture"},
      {GST_PHOTOGRAPHY_CAPS_EXPOSURE, "GST_PHOTOGRAPHY_CAPS_EXPOSURE",
          "exposure"},
      {GST_PHOTOGRAPHY_CAPS_SHAKE, "GST_PHOTOGRAPHY_CAPS_SHAKE", "shake"},
      {0, NULL, NULL}
    };
    etype = g_flags_register_static ("GstPhotoCaps", values);
  }
  return etype;
}

GType
gst_photo_shake_risk_get_type (void)
{
  static GType etype = 0;
  if (etype == 0) {
    static const GEnumValue values[] = {
      {GST_PHOTOGRAPHY_SHAKE_RISK_LOW, "GST_PHOTOGRAPHY_SHAKE_RISK_LOW", "low"},
      {GST_PHOTOGRAPHY_SHAKE_RISK_MEDIUM, "GST_PHOTOGRAPHY_SHAKE_RISK_MEDIUM",
          "medium"},
      {GST_PHOTOGRAPHY_SHAKE_RISK_HIGH, "GST_PHOTOGRAPHY_SHAKE_RISK_HIGH",
          "high"},
      {0, NULL, NULL}
    };
    etype = g_enum_register_static ("GstPhotoShakeRisk", values);
  }
  return etype;
}

/* Generated data ends here */