LCOV - code coverage report
Current view: top level - gst-plugins-base/gst-libs/gst/interfaces - interfaces-enumtypes.c (source / functions) Hit Total Coverage
Test: GStreamer Lines: 55 55 100.0 %
Date: 2011-03-25 Functions: 11 11 100.0 %
Branches: 12 22 54.5 %

           Branch data     Line data    Source code
       1                 :            : 
       2                 :            : 
       3                 :            : 
       4                 :            : #include "interfaces-enumtypes.h"
       5                 :            : 
       6                 :            : #include "colorbalance.h" 
       7                 :            : #include "colorbalancechannel.h" 
       8                 :            : #include "mixer.h" 
       9                 :            : #include "mixeroptions.h" 
      10                 :            : #include "mixertrack.h" 
      11                 :            : #include "navigation.h" 
      12                 :            : #include "propertyprobe.h" 
      13                 :            : #include "streamvolume.h" 
      14                 :            : #include "tuner.h" 
      15                 :            : #include "tunernorm.h" 
      16                 :            : #include "tunerchannel.h" 
      17                 :            : #include "videoorientation.h" 
      18                 :            : #include "xoverlay.h"
      19                 :            : 
      20                 :            : /* enumerations from "colorbalance.h" */
      21                 :            : GType
      22                 :          2 : gst_color_balance_type_get_type (void)
      23                 :            : {
      24                 :            :   static volatile gsize g_define_type_id__volatile = 0;
      25         [ +  - ]:          2 :   if (g_once_init_enter (&g_define_type_id__volatile)) {
      26                 :            :     static const GEnumValue values[] = {
      27                 :            :       { GST_COLOR_BALANCE_HARDWARE, "GST_COLOR_BALANCE_HARDWARE", "hardware" },
      28                 :            :       { GST_COLOR_BALANCE_SOFTWARE, "GST_COLOR_BALANCE_SOFTWARE", "software" },
      29                 :            :       { 0, NULL, NULL }
      30                 :            :     };
      31                 :          2 :     GType g_define_type_id = g_enum_register_static ("GstColorBalanceType", values);
      32                 :          2 :     g_once_init_leave (&g_define_type_id__volatile, g_define_type_id);
      33                 :            :   }
      34                 :          2 :   return g_define_type_id__volatile;
      35                 :            : }
      36                 :            : 
      37                 :            : /* enumerations from "mixer.h" */
      38                 :            : GType
      39                 :          2 : gst_mixer_type_get_type (void)
      40                 :            : {
      41                 :            :   static volatile gsize g_define_type_id__volatile = 0;
      42         [ +  - ]:          2 :   if (g_once_init_enter (&g_define_type_id__volatile)) {
      43                 :            :     static const GEnumValue values[] = {
      44                 :            :       { GST_MIXER_HARDWARE, "GST_MIXER_HARDWARE", "hardware" },
      45                 :            :       { GST_MIXER_SOFTWARE, "GST_MIXER_SOFTWARE", "software" },
      46                 :            :       { 0, NULL, NULL }
      47                 :            :     };
      48                 :          2 :     GType g_define_type_id = g_enum_register_static ("GstMixerType", values);
      49                 :          2 :     g_once_init_leave (&g_define_type_id__volatile, g_define_type_id);
      50                 :            :   }
      51                 :          2 :   return g_define_type_id__volatile;
      52                 :            : }
      53                 :            : GType
      54                 :          2 : gst_mixer_message_type_get_type (void)
      55                 :            : {
      56                 :            :   static volatile gsize g_define_type_id__volatile = 0;
      57         [ +  - ]:          2 :   if (g_once_init_enter (&g_define_type_id__volatile)) {
      58                 :            :     static const GEnumValue values[] = {
      59                 :            :       { GST_MIXER_MESSAGE_INVALID, "GST_MIXER_MESSAGE_INVALID", "invalid" },
      60                 :            :       { GST_MIXER_MESSAGE_MUTE_TOGGLED, "GST_MIXER_MESSAGE_MUTE_TOGGLED", "mute-toggled" },
      61                 :            :       { GST_MIXER_MESSAGE_RECORD_TOGGLED, "GST_MIXER_MESSAGE_RECORD_TOGGLED", "record-toggled" },
      62                 :            :       { GST_MIXER_MESSAGE_VOLUME_CHANGED, "GST_MIXER_MESSAGE_VOLUME_CHANGED", "volume-changed" },
      63                 :            :       { GST_MIXER_MESSAGE_OPTION_CHANGED, "GST_MIXER_MESSAGE_OPTION_CHANGED", "option-changed" },
      64                 :            :       { GST_MIXER_MESSAGE_OPTIONS_LIST_CHANGED, "GST_MIXER_MESSAGE_OPTIONS_LIST_CHANGED", "options-list-changed" },
      65                 :            :       { GST_MIXER_MESSAGE_MIXER_CHANGED, "GST_MIXER_MESSAGE_MIXER_CHANGED", "mixer-changed" },
      66                 :            :       { 0, NULL, NULL }
      67                 :            :     };
      68                 :          2 :     GType g_define_type_id = g_enum_register_static ("GstMixerMessageType", values);
      69                 :          2 :     g_once_init_leave (&g_define_type_id__volatile, g_define_type_id);
      70                 :            :   }
      71                 :          2 :   return g_define_type_id__volatile;
      72                 :            : }
      73                 :            : GType
      74                 :          2 : gst_mixer_flags_get_type (void)
      75                 :            : {
      76                 :            :   static volatile gsize g_define_type_id__volatile = 0;
      77         [ +  - ]:          2 :   if (g_once_init_enter (&g_define_type_id__volatile)) {
      78                 :            :     static const GFlagsValue values[] = {
      79                 :            :       { GST_MIXER_FLAG_NONE, "GST_MIXER_FLAG_NONE", "none" },
      80                 :            :       { GST_MIXER_FLAG_AUTO_NOTIFICATIONS, "GST_MIXER_FLAG_AUTO_NOTIFICATIONS", "auto-notifications" },
      81                 :            :       { GST_MIXER_FLAG_HAS_WHITELIST, "GST_MIXER_FLAG_HAS_WHITELIST", "has-whitelist" },
      82                 :            :       { GST_MIXER_FLAG_GROUPING, "GST_MIXER_FLAG_GROUPING", "grouping" },
      83                 :            :       { 0, NULL, NULL }
      84                 :            :     };
      85                 :          2 :     GType g_define_type_id = g_flags_register_static ("GstMixerFlags", values);
      86                 :          2 :     g_once_init_leave (&g_define_type_id__volatile, g_define_type_id);
      87                 :            :   }
      88                 :          2 :   return g_define_type_id__volatile;
      89                 :            : }
      90                 :            : 
      91                 :            : /* enumerations from "mixertrack.h" */
      92                 :            : GType
      93                 :          2 : gst_mixer_track_flags_get_type (void)
      94                 :            : {
      95                 :            :   static volatile gsize g_define_type_id__volatile = 0;
      96         [ +  - ]:          2 :   if (g_once_init_enter (&g_define_type_id__volatile)) {
      97                 :            :     static const GFlagsValue values[] = {
      98                 :            :       { GST_MIXER_TRACK_INPUT, "GST_MIXER_TRACK_INPUT", "input" },
      99                 :            :       { GST_MIXER_TRACK_OUTPUT, "GST_MIXER_TRACK_OUTPUT", "output" },
     100                 :            :       { GST_MIXER_TRACK_MUTE, "GST_MIXER_TRACK_MUTE", "mute" },
     101                 :            :       { GST_MIXER_TRACK_RECORD, "GST_MIXER_TRACK_RECORD", "record" },
     102                 :            :       { GST_MIXER_TRACK_MASTER, "GST_MIXER_TRACK_MASTER", "master" },
     103                 :            :       { GST_MIXER_TRACK_SOFTWARE, "GST_MIXER_TRACK_SOFTWARE", "software" },
     104                 :            :       { GST_MIXER_TRACK_NO_RECORD, "GST_MIXER_TRACK_NO_RECORD", "no-record" },
     105                 :            :       { GST_MIXER_TRACK_NO_MUTE, "GST_MIXER_TRACK_NO_MUTE", "no-mute" },
     106                 :            :       { GST_MIXER_TRACK_WHITELIST, "GST_MIXER_TRACK_WHITELIST", "whitelist" },
     107                 :            :       { GST_MIXER_TRACK_READONLY, "GST_MIXER_TRACK_READONLY", "readonly" },
     108                 :            :       { GST_MIXER_TRACK_WRITEONLY, "GST_MIXER_TRACK_WRITEONLY", "writeonly" },
     109                 :            :       { 0, NULL, NULL }
     110                 :            :     };
     111                 :          2 :     GType g_define_type_id = g_flags_register_static ("GstMixerTrackFlags", values);
     112                 :          2 :     g_once_init_leave (&g_define_type_id__volatile, g_define_type_id);
     113                 :            :   }
     114                 :          2 :   return g_define_type_id__volatile;
     115                 :            : }
     116                 :            : 
     117                 :            : /* enumerations from "navigation.h" */
     118                 :            : GType
     119                 :          5 : gst_navigation_command_get_type (void)
     120                 :            : {
     121                 :            :   static volatile gsize g_define_type_id__volatile = 0;
     122         [ +  + ]:          5 :   if (g_once_init_enter (&g_define_type_id__volatile)) {
     123                 :            :     static const GEnumValue values[] = {
     124                 :            :       { GST_NAVIGATION_COMMAND_INVALID, "GST_NAVIGATION_COMMAND_INVALID", "invalid" },
     125                 :            :       { GST_NAVIGATION_COMMAND_MENU1, "GST_NAVIGATION_COMMAND_MENU1", "menu1" },
     126                 :            :       { GST_NAVIGATION_COMMAND_MENU2, "GST_NAVIGATION_COMMAND_MENU2", "menu2" },
     127                 :            :       { GST_NAVIGATION_COMMAND_MENU3, "GST_NAVIGATION_COMMAND_MENU3", "menu3" },
     128                 :            :       { GST_NAVIGATION_COMMAND_MENU4, "GST_NAVIGATION_COMMAND_MENU4", "menu4" },
     129                 :            :       { GST_NAVIGATION_COMMAND_MENU5, "GST_NAVIGATION_COMMAND_MENU5", "menu5" },
     130                 :            :       { GST_NAVIGATION_COMMAND_MENU6, "GST_NAVIGATION_COMMAND_MENU6", "menu6" },
     131                 :            :       { GST_NAVIGATION_COMMAND_MENU7, "GST_NAVIGATION_COMMAND_MENU7", "menu7" },
     132                 :            :       { GST_NAVIGATION_COMMAND_LEFT, "GST_NAVIGATION_COMMAND_LEFT", "left" },
     133                 :            :       { GST_NAVIGATION_COMMAND_RIGHT, "GST_NAVIGATION_COMMAND_RIGHT", "right" },
     134                 :            :       { GST_NAVIGATION_COMMAND_UP, "GST_NAVIGATION_COMMAND_UP", "up" },
     135                 :            :       { GST_NAVIGATION_COMMAND_DOWN, "GST_NAVIGATION_COMMAND_DOWN", "down" },
     136                 :            :       { GST_NAVIGATION_COMMAND_ACTIVATE, "GST_NAVIGATION_COMMAND_ACTIVATE", "activate" },
     137                 :            :       { GST_NAVIGATION_COMMAND_PREV_ANGLE, "GST_NAVIGATION_COMMAND_PREV_ANGLE", "prev-angle" },
     138                 :            :       { GST_NAVIGATION_COMMAND_NEXT_ANGLE, "GST_NAVIGATION_COMMAND_NEXT_ANGLE", "next-angle" },
     139                 :            :       { 0, NULL, NULL }
     140                 :            :     };
     141                 :          3 :     GType g_define_type_id = g_enum_register_static ("GstNavigationCommand", values);
     142                 :          3 :     g_once_init_leave (&g_define_type_id__volatile, g_define_type_id);
     143                 :            :   }
     144                 :          5 :   return g_define_type_id__volatile;
     145                 :            : }
     146                 :            : GType
     147                 :          2 : gst_navigation_query_type_get_type (void)
     148                 :            : {
     149                 :            :   static volatile gsize g_define_type_id__volatile = 0;
     150         [ +  - ]:          2 :   if (g_once_init_enter (&g_define_type_id__volatile)) {
     151                 :            :     static const GEnumValue values[] = {
     152                 :            :       { GST_NAVIGATION_QUERY_INVALID, "GST_NAVIGATION_QUERY_INVALID", "invalid" },
     153                 :            :       { GST_NAVIGATION_QUERY_COMMANDS, "GST_NAVIGATION_QUERY_COMMANDS", "commands" },
     154                 :            :       { GST_NAVIGATION_QUERY_ANGLES, "GST_NAVIGATION_QUERY_ANGLES", "angles" },
     155                 :            :       { 0, NULL, NULL }
     156                 :            :     };
     157                 :          2 :     GType g_define_type_id = g_enum_register_static ("GstNavigationQueryType", values);
     158                 :          2 :     g_once_init_leave (&g_define_type_id__volatile, g_define_type_id);
     159                 :            :   }
     160                 :          2 :   return g_define_type_id__volatile;
     161                 :            : }
     162                 :            : GType
     163                 :          2 : gst_navigation_message_type_get_type (void)
     164                 :            : {
     165                 :            :   static volatile gsize g_define_type_id__volatile = 0;
     166         [ +  - ]:          2 :   if (g_once_init_enter (&g_define_type_id__volatile)) {
     167                 :            :     static const GEnumValue values[] = {
     168                 :            :       { GST_NAVIGATION_MESSAGE_INVALID, "GST_NAVIGATION_MESSAGE_INVALID", "invalid" },
     169                 :            :       { GST_NAVIGATION_MESSAGE_MOUSE_OVER, "GST_NAVIGATION_MESSAGE_MOUSE_OVER", "mouse-over" },
     170                 :            :       { GST_NAVIGATION_MESSAGE_COMMANDS_CHANGED, "GST_NAVIGATION_MESSAGE_COMMANDS_CHANGED", "commands-changed" },
     171                 :            :       { GST_NAVIGATION_MESSAGE_ANGLES_CHANGED, "GST_NAVIGATION_MESSAGE_ANGLES_CHANGED", "angles-changed" },
     172                 :            :       { 0, NULL, NULL }
     173                 :            :     };
     174                 :          2 :     GType g_define_type_id = g_enum_register_static ("GstNavigationMessageType", values);
     175                 :          2 :     g_once_init_leave (&g_define_type_id__volatile, g_define_type_id);
     176                 :            :   }
     177                 :          2 :   return g_define_type_id__volatile;
     178                 :            : }
     179                 :            : GType
     180                 :          2 : gst_navigation_event_type_get_type (void)
     181                 :            : {
     182                 :            :   static volatile gsize g_define_type_id__volatile = 0;
     183         [ +  - ]:          2 :   if (g_once_init_enter (&g_define_type_id__volatile)) {
     184                 :            :     static const GEnumValue values[] = {
     185                 :            :       { GST_NAVIGATION_EVENT_INVALID, "GST_NAVIGATION_EVENT_INVALID", "invalid" },
     186                 :            :       { GST_NAVIGATION_EVENT_KEY_PRESS, "GST_NAVIGATION_EVENT_KEY_PRESS", "key-press" },
     187                 :            :       { GST_NAVIGATION_EVENT_KEY_RELEASE, "GST_NAVIGATION_EVENT_KEY_RELEASE", "key-release" },
     188                 :            :       { GST_NAVIGATION_EVENT_MOUSE_BUTTON_PRESS, "GST_NAVIGATION_EVENT_MOUSE_BUTTON_PRESS", "mouse-button-press" },
     189                 :            :       { GST_NAVIGATION_EVENT_MOUSE_BUTTON_RELEASE, "GST_NAVIGATION_EVENT_MOUSE_BUTTON_RELEASE", "mouse-button-release" },
     190                 :            :       { GST_NAVIGATION_EVENT_MOUSE_MOVE, "GST_NAVIGATION_EVENT_MOUSE_MOVE", "mouse-move" },
     191                 :            :       { GST_NAVIGATION_EVENT_COMMAND, "GST_NAVIGATION_EVENT_COMMAND", "command" },
     192                 :            :       { 0, NULL, NULL }
     193                 :            :     };
     194                 :          2 :     GType g_define_type_id = g_enum_register_static ("GstNavigationEventType", values);
     195                 :          2 :     g_once_init_leave (&g_define_type_id__volatile, g_define_type_id);
     196                 :            :   }
     197                 :          2 :   return g_define_type_id__volatile;
     198                 :            : }
     199                 :            : 
     200                 :            : /* enumerations from "streamvolume.h" */
     201                 :            : GType
     202                 :          2 : gst_stream_volume_format_get_type (void)
     203                 :            : {
     204                 :            :   static volatile gsize g_define_type_id__volatile = 0;
     205         [ +  - ]:          2 :   if (g_once_init_enter (&g_define_type_id__volatile)) {
     206                 :            :     static const GEnumValue values[] = {
     207                 :            :       { GST_STREAM_VOLUME_FORMAT_LINEAR, "GST_STREAM_VOLUME_FORMAT_LINEAR", "linear" },
     208                 :            :       { GST_STREAM_VOLUME_FORMAT_CUBIC, "GST_STREAM_VOLUME_FORMAT_CUBIC", "cubic" },
     209                 :            :       { GST_STREAM_VOLUME_FORMAT_DB, "GST_STREAM_VOLUME_FORMAT_DB", "db" },
     210                 :            :       { 0, NULL, NULL }
     211                 :            :     };
     212                 :          2 :     GType g_define_type_id = g_enum_register_static ("GstStreamVolumeFormat", values);
     213                 :          2 :     g_once_init_leave (&g_define_type_id__volatile, g_define_type_id);
     214                 :            :   }
     215                 :          2 :   return g_define_type_id__volatile;
     216                 :            : }
     217                 :            : 
     218                 :            : /* enumerations from "tunerchannel.h" */
     219                 :            : GType
     220                 :          2 : gst_tuner_channel_flags_get_type (void)
     221                 :            : {
     222                 :            :   static volatile gsize g_define_type_id__volatile = 0;
     223         [ +  - ]:          2 :   if (g_once_init_enter (&g_define_type_id__volatile)) {
     224                 :            :     static const GFlagsValue values[] = {
     225                 :            :       { GST_TUNER_CHANNEL_INPUT, "GST_TUNER_CHANNEL_INPUT", "input" },
     226                 :            :       { GST_TUNER_CHANNEL_OUTPUT, "GST_TUNER_CHANNEL_OUTPUT", "output" },
     227                 :            :       { GST_TUNER_CHANNEL_FREQUENCY, "GST_TUNER_CHANNEL_FREQUENCY", "frequency" },
     228                 :            :       { GST_TUNER_CHANNEL_AUDIO, "GST_TUNER_CHANNEL_AUDIO", "audio" },
     229                 :            :       { 0, NULL, NULL }
     230                 :            :     };
     231                 :          2 :     GType g_define_type_id = g_flags_register_static ("GstTunerChannelFlags", values);
     232                 :          2 :     g_once_init_leave (&g_define_type_id__volatile, g_define_type_id);
     233                 :            :   }
     234                 :          2 :   return g_define_type_id__volatile;
     235                 :            : }
     236                 :            : 
     237                 :            : 
     238                 :            : 

Generated by: LCOV version 1.9