win32: update windows files via make win32-update

Updates win32 files using the new system/hook, and defines HAVE_PROCESS_H,
which fixes the build of pbutils on windows (#574319).
This commit is contained in:
Tim-Philipp Müller 2009-03-06 10:05:11 +00:00
parent 4a4791d1e3
commit 112aac3bde
8 changed files with 283 additions and 404 deletions

View file

@ -1,286 +1,9 @@
#ifndef _GST_PLUGINS_BASE__STDINT_H
#define _GST_PLUGINS_BASE__STDINT_H 1
#ifndef _GENERATED_STDINT_H
#define _GENERATED_STDINT_H "gst-plugins-base 0.10.3.1"
/* generated using gnu compiler gcc (GCC) 4.0.2 20051125 (Red Hat 4.0.2-8) */
#define _GENERATED_STDINT_H "gst-plugins-base 0.10.22.1"
/* generated using gnu compiler gcc (Ubuntu 4.3.2-1ubuntu12) 4.3.2 */
#define _STDINT_HAVE_STDINT_H 1
/* ................... shortcircuit part ........................... */
#if defined HAVE_STDINT_H || defined _STDINT_HAVE_STDINT_H
#include <stdint.h>
#else
#include <stddef.h>
/* .................... configured part ............................ */
/* whether we have a C99 compatible stdint header file */
/* #undef _STDINT_HEADER_INTPTR */
/* whether we have a C96 compatible inttypes header file */
/* #undef _STDINT_HEADER_UINT32 */
/* whether we have a BSD compatible inet types header */
/* #undef _STDINT_HEADER_U_INT32 */
/* which 64bit typedef has been found */
/* #undef _STDINT_HAVE_UINT64_T */
/* #undef _STDINT_HAVE_U_INT64_T */
/* which type model has been detected */
/* #undef _STDINT_CHAR_MODEL // skipped */
/* #undef _STDINT_LONG_MODEL // skipped */
/* whether int_least types were detected */
/* #undef _STDINT_HAVE_INT_LEAST32_T */
/* whether int_fast types were detected */
/* #undef _STDINT_HAVE_INT_FAST32_T */
/* whether intmax_t type was detected */
/* #undef _STDINT_HAVE_INTMAX_T */
/* .................... detections part ............................ */
/* whether we need to define bitspecific types from compiler base types */
#ifndef _STDINT_HEADER_INTPTR
#ifndef _STDINT_HEADER_UINT32
#ifndef _STDINT_HEADER_U_INT32
#define _STDINT_NEED_INT_MODEL_T
#else
#define _STDINT_HAVE_U_INT_TYPES
#endif
#endif
#endif
#ifdef _STDINT_HAVE_U_INT_TYPES
#undef _STDINT_NEED_INT_MODEL_T
#endif
#ifdef _STDINT_CHAR_MODEL
#if _STDINT_CHAR_MODEL+0 == 122 || _STDINT_CHAR_MODEL+0 == 124
#ifndef _STDINT_BYTE_MODEL
#define _STDINT_BYTE_MODEL 12
#endif
#endif
#endif
#ifndef _STDINT_HAVE_INT_LEAST32_T
#define _STDINT_NEED_INT_LEAST_T
#endif
#ifndef _STDINT_HAVE_INT_FAST32_T
#define _STDINT_NEED_INT_FAST_T
#endif
#ifndef _STDINT_HEADER_INTPTR
#define _STDINT_NEED_INTPTR_T
#ifndef _STDINT_HAVE_INTMAX_T
#define _STDINT_NEED_INTMAX_T
#endif
#endif
/* .................... definition part ............................ */
/* some system headers have good uint64_t */
#ifndef _HAVE_UINT64_T
#if defined _STDINT_HAVE_UINT64_T || defined HAVE_UINT64_T
#define _HAVE_UINT64_T
#elif defined _STDINT_HAVE_U_INT64_T || defined HAVE_U_INT64_T
#define _HAVE_UINT64_T
typedef u_int64_t uint64_t;
#endif
#endif
#ifndef _HAVE_UINT64_T
/* .. here are some common heuristics using compiler runtime specifics */
#if defined __STDC_VERSION__ && defined __STDC_VERSION__ >= 199901L
#define _HAVE_UINT64_T
typedef long long int64_t;
typedef unsigned long long uint64_t;
#elif !defined __STRICT_ANSI__
#if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
#define _HAVE_UINT64_T
typedef __int64 int64_t;
typedef unsigned __int64 uint64_t;
#elif defined __GNUC__ || defined __MWERKS__ || defined __ELF__
/* note: all ELF-systems seem to have loff-support which needs 64-bit */
#if !defined _NO_LONGLONG
#define _HAVE_UINT64_T
typedef long long int64_t;
typedef unsigned long long uint64_t;
#endif
#elif defined __alpha || (defined __mips && defined _ABIN32)
#if !defined _NO_LONGLONG
typedef long int64_t;
typedef unsigned long uint64_t;
#endif
/* compiler/cpu type to define int64_t */
#endif
#endif
#endif
#if defined _STDINT_HAVE_U_INT_TYPES
/* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */
typedef u_int8_t uint8_t;
typedef u_int16_t uint16_t;
typedef u_int32_t uint32_t;
/* glibc compatibility */
#ifndef __int8_t_defined
#define __int8_t_defined
#endif
#endif
#ifdef _STDINT_NEED_INT_MODEL_T
/* we must guess all the basic types. Apart from byte-adressable system, */
/* there a few 32-bit-only dsp-systems that we guard with BYTE_MODEL 8-} */
/* (btw, those nibble-addressable systems are way off, or so we assume) */
#if defined _STDINT_BYTE_MODEL
#if _STDINT_LONG_MODEL+0 == 242
/* 2:4:2 = IP16 = a normal 16-bit system */
typedef unsigned char uint8_t;
typedef unsigned short uint16_t;
typedef unsigned long uint32_t;
#ifndef __int8_t_defined
#define __int8_t_defined
typedef char int8_t;
typedef short int16_t;
typedef long int32_t;
#endif
#elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL == 444
/* 2:4:4 = LP32 = a 32-bit system derived from a 16-bit */
/* 4:4:4 = ILP32 = a normal 32-bit system */
typedef unsigned char uint8_t;
typedef unsigned short uint16_t;
typedef unsigned int uint32_t;
#ifndef __int8_t_defined
#define __int8_t_defined
typedef char int8_t;
typedef short int16_t;
typedef int int32_t;
#endif
#elif _STDINT_LONG_MODEL+0 == 484 || _STDINT_LONG_MODEL+0 == 488
/* 4:8:4 = IP32 = a 32-bit system prepared for 64-bit */
/* 4:8:8 = LP64 = a normal 64-bit system */
typedef unsigned char uint8_t;
typedef unsigned short uint16_t;
typedef unsigned int uint32_t;
#ifndef __int8_t_defined
#define __int8_t_defined
typedef char int8_t;
typedef short int16_t;
typedef int int32_t;
#endif
/* this system has a "long" of 64bit */
#ifndef _HAVE_UINT64_T
#define _HAVE_UINT64_T
typedef unsigned long uint64_t;
typedef long int64_t;
#endif
#elif _STDINT_LONG_MODEL+0 == 448
/* LLP64 a 64-bit system derived from a 32-bit system */
typedef unsigned char uint8_t;
typedef unsigned short uint16_t;
typedef unsigned int uint32_t;
#ifndef __int8_t_defined
#define __int8_t_defined
typedef char int8_t;
typedef short int16_t;
typedef int int32_t;
#endif
/* assuming the system has a "long long" */
#ifndef _HAVE_UINT64_T
#define _HAVE_UINT64_T
typedef unsigned long long uint64_t;
typedef long long int64_t;
#endif
#else
#define _STDINT_NO_INT32_T
#endif
#else
#define _STDINT_NO_INT8_T
#define _STDINT_NO_INT32_T
#endif
#endif
/*
* quote from SunOS-5.8 sys/inttypes.h:
* Use at your own risk. As of February 1996, the committee is squarely
* behind the fixed sized types; the "least" and "fast" types are still being
* discussed. The probability that the "fast" types may be removed before
* the standard is finalized is high enough that they are not currently
* implemented.
*/
#if defined _STDINT_NEED_INT_LEAST_T
typedef int8_t int_least8_t;
typedef int16_t int_least16_t;
typedef int32_t int_least32_t;
#ifdef _HAVE_UINT64_T
typedef int64_t int_least64_t;
#endif
typedef uint8_t uint_least8_t;
typedef uint16_t uint_least16_t;
typedef uint32_t uint_least32_t;
#ifdef _HAVE_UINT64_T
typedef uint64_t uint_least64_t;
#endif
/* least types */
#endif
#if defined _STDINT_NEED_INT_FAST_T
typedef int8_t int_fast8_t;
typedef int int_fast16_t;
typedef int32_t int_fast32_t;
#ifdef _HAVE_UINT64_T
typedef int64_t int_fast64_t;
#endif
typedef uint8_t uint_fast8_t;
typedef unsigned uint_fast16_t;
typedef uint32_t uint_fast32_t;
#ifdef _HAVE_UINT64_T
typedef uint64_t uint_fast64_t;
#endif
/* fast types */
#endif
#ifdef _STDINT_NEED_INTMAX_T
#ifdef _HAVE_UINT64_T
typedef int64_t intmax_t;
typedef uint64_t uintmax_t;
#else
typedef long intmax_t;
typedef unsigned long uintmax_t;
#endif
#endif
#ifdef _STDINT_NEED_INTPTR_T
#ifndef __intptr_t_defined
#define __intptr_t_defined
/* we encourage using "long" to store pointer values, never use "int" ! */
#if _STDINT_LONG_MODEL+0 == 242 || _STDINT_LONG_MODEL+0 == 484
typedef unsinged int uintptr_t;
typedef int intptr_t;
#elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL+0 == 444
typedef unsigned long uintptr_t;
typedef long intptr_t;
#elif _STDINT_LONG_MODEL+0 == 448 && defined _HAVE_UINT64_T
typedef uint64_t uintptr_t;
typedef int64_t intptr_t;
#else /* matches typical system types ILP32 and LP64 - but not IP16 or LLP64 */
typedef unsigned long uintptr_t;
typedef long intptr_t;
#endif
#endif
#endif
/* shortcircuit*/
#endif
/* once */
#endif
#endif

View file

@ -1,5 +1,19 @@
/* config.h.in. Generated from configure.ac by autoheader. */
/* This copy of config.h.in is specifically for win32 Visual Studio builds */
/* Autogenerated config.h created for win32 Visual Studio builds */
/* PREFIX -- specifically added for Windows for easier moving */
#define PREFIX "C:\\gstreamer"
#define GST_INSTALL_PLUGINS_HELPER PREFIX "\\libexec\\gst-install-plugins-helper.exe"
/* The implementation that should be used for integer audio resampling witll
be benchmarked at runtime */
#undef AUDIORESAMPLE_FORMAT_AUTO
/* The float implementation should be used for integer audio resampling */
#undef AUDIORESAMPLE_FORMAT_FLOAT
/* The int implementation should be used for integer audio resampling */
#undef AUDIORESAMPLE_FORMAT_INT
/* defined if cdda headers are in a cdda/ directory */
#undef CDPARANOIA_HEADERS_IN_DIR
@ -26,11 +40,26 @@
/* gettext package name */
#define GETTEXT_PACKAGE "gst-plugins-base-0.10"
/* The GIO library directory. */
#undef GIO_LIBDIR
/* The GIO modules directory. */
#undef GIO_MODULE_DIR
/* The GnomeVFS modules directory. */
#undef GNOME_VFS_MODULES_DIR
/* macro to use to show function name */
#undef GST_FUNCTION
/* Defined if gcov is enabled to force a rebuild due to config.h changing */
#undef GST_GCOV_ENABLED
/* plugin install helper script */
#undef GST_INSTALL_PLUGINS_HELPER
/* Default errorlevel to use */
#undef GST_LEVEL_DEFAULT
#define GST_LEVEL_DEFAULT GST_LEVEL_ERROR
/* GStreamer license */
#define GST_LICENSE "LGPL"
@ -41,23 +70,37 @@
/* package origin */
#define GST_PACKAGE_ORIGIN "Unknown package origin"
/* support for features: gstalsa */
/* Define to enable ALSA (used by alsa). */
#undef HAVE_ALSA
/* support for features: cdparanoia */
/* Define to enable CDParanoia (used by cdparanoia). */
#undef HAVE_CDPARANOIA
/* Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the
CoreFoundation framework. */
#undef HAVE_CFLOCALECOPYCURRENT
/* Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in
the CoreFoundation framework. */
#undef HAVE_CFPREFERENCESCOPYAPPVALUE
/* Define if the host CPU is an Alpha */
#undef HAVE_CPU_ALPHA
/* Define if the host CPU is an ARM */
#undef HAVE_CPU_ARM
/* Define if the host CPU is a CRIS */
#undef HAVE_CPU_CRIS
/* Define if the host CPU is a CRISv32 */
#undef HAVE_CPU_CRISV32
/* Define if the host CPU is a HPPA */
#undef HAVE_CPU_HPPA
/* Define if the host CPU is an x86 */
#undef HAVE_CPU_I386
#define HAVE_CPU_I386 1
/* Define if the host CPU is a IA64 */
#undef HAVE_CPU_IA64
@ -71,6 +114,9 @@
/* Define if the host CPU is a PowerPC */
#undef HAVE_CPU_PPC
/* Define if the host CPU is a 64 bit PowerPC */
#undef HAVE_CPU_PPC64
/* Define if the host CPU is a S390 */
#undef HAVE_CPU_S390
@ -87,7 +133,10 @@
/* Define to 1 if you have the <dlfcn.h> header file. */
#undef HAVE_DLFCN_H
/* support for features: */
/* Define to enable building of experimental plug-ins. */
#undef HAVE_EXPERIMENTAL
/* Define to enable building of plug-ins with external deps. */
#undef HAVE_EXTERNAL
/* FIONREAD ioctl found in sys/filio.h */
@ -96,6 +145,9 @@
/* FIONREAD ioctl found in sys/ioclt.h */
#undef HAVE_FIONREAD_IN_SYS_IOCTL
/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
#undef HAVE_FSEEKO
/* defined if the compiler implements __func__ */
#undef HAVE_FUNC
@ -105,13 +157,19 @@
/* Define if the GNU gettext() function is already present or preinstalled. */
#undef HAVE_GETTEXT
/* support for features: gnomevfssrc */
/* Define to enable GIO library (used by gio). */
#undef HAVE_GIO
/* Define to 1 if you have the `gmtime_r' function. */
#undef HAVE_GMTIME_R
/* Define to enable GNOME VFS (used by gnomevfs). */
#undef HAVE_GNOME_VFS
/* support for features: v4lsrc v4lmjpegsrc v4lmjpegsink */
/* Define to enable Video 4 Linux (used by video4linux). */
#undef HAVE_GST_V4L
/* Define if you have the iconv() function. */
/* Define if you have the iconv() function and it works. */
#undef HAVE_ICONV
/* Define to 1 if you have the <inttypes.h> header file. */
@ -120,9 +178,21 @@
/* Define to 1 if you have the `asound' library (-lasound). */
#undef HAVE_LIBASOUND
/* support for features: libvisual */
/* Define to 1 if you have the `nsl' library (-lnsl). */
#undef HAVE_LIBNSL
/* Define to 1 if you have the `resolv' library (-lresolv). */
#undef HAVE_LIBRESOLV
/* Define to 1 if you have the `socket' library (-lsocket). */
#undef HAVE_LIBSOCKET
/* Define to enable libvisual visualization library (used by libvisual). */
#undef HAVE_LIBVISUAL
/* Define to 1 if you have the `localtime_r' function. */
#undef HAVE_LOCALTIME_R
/* Define if you have C99's lrint function. */
#undef HAVE_LRINT
@ -135,15 +205,18 @@
/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H
/* support for features: oggdemux oggmux */
/* Define to enable Xiph Ogg library (used by ogg). */
#undef HAVE_OGG
/* support for features: pango */
/* Define to enable Pango font rendering (used by pango). */
#undef HAVE_PANGO
/* defined if the compiler implements __PRETTY_FUNCTION__ */
#undef HAVE_PRETTY_FUNCTION
/* Define to 1 if you have the <process.h> header file. */
#define HAVE_PROCESS_H 1
/* Define if RDTSC is available */
#undef HAVE_RDTSC
@ -166,12 +239,15 @@
#undef HAVE_SYS_SOCKET_H
/* Define to 1 if you have the <sys/stat.h> header file. */
#undef HAVE_SYS_STAT_H
#define HAVE_SYS_STAT_H 1
/* Define to 1 if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H
#define HAVE_SYS_TYPES_H 1
/* support for features: theoradec theoraenc */
/* Define to 1 if you have the <sys/wait.h> header file. */
#undef HAVE_SYS_WAIT_H
/* Define to enable Xiph Theora video codec (used by theora). */
#undef HAVE_THEORA
/* Define to 1 if you have the <unistd.h> header file. */
@ -180,24 +256,43 @@
/* Define if valgrind should be used */
#undef HAVE_VALGRIND
/* support for features: vorbisenc vorbisdec */
/* Define to enable Xiph Vorbis audio codec (used by vorbis). */
#undef HAVE_VORBIS
/* defined if vorbis_synthesis_restart is present */
#undef HAVE_VORBIS_SYNTHESIS_RESTART
/* support for features: ximagesink */
/* Define to 1 if you have the <winsock2.h> header file. */
#define HAVE_WINSOCK2_H 1
/* Define to enable X libraries and plugins (used by ximagesink). */
#undef HAVE_X
/* support for features: xshm */
/* Define to enable X Shared Memory extension. */
#undef HAVE_XSHM
/* support for features: xvimagesink */
/* Define to enable X11 XVideo extensions (used by xvimagesink). */
#undef HAVE_XVIDEO
/* the host CPU */
#define HOST_CPU "i686"
/* directory in which the detected libvisual's plugins are located */
#undef LIBVISUAL_PLUGINSBASEDIR
/* gettext locale dir */
#define LOCALEDIR PREFIX "\\share\\locale"
/* Define to the sub-directory in which libtool stores uninstalled libraries.
*/
#undef LT_OBJDIR
/* Define if you have no native hstrerror() function. */
#undef NO_HSTRERROR
/* Define to 1 if your C compiler doesn't accept -c and -o together. */
#undef NO_MINUS_C_MINUS_O
/* Name of package */
#define PACKAGE "gst-plugins-base"
@ -217,21 +312,25 @@
#define PACKAGE_VERSION "0.10.22.1"
/* directory where plugins are located */
#undef PLUGINDIR
#ifdef _DEBUG
# define PLUGINDIR PREFIX "\\debug\\lib\\gstreamer-0.10"
#else
# define PLUGINDIR PREFIX "\\lib\\gstreamer-0.10"
#endif
/* The size of a `char', as computed by sizeof. */
/* The size of `char', as computed by sizeof. */
#undef SIZEOF_CHAR
/* The size of a `int', as computed by sizeof. */
/* The size of `int', as computed by sizeof. */
#undef SIZEOF_INT
/* The size of a `long', as computed by sizeof. */
/* The size of `long', as computed by sizeof. */
#undef SIZEOF_LONG
/* The size of a `short', as computed by sizeof. */
/* The size of `short', as computed by sizeof. */
#undef SIZEOF_SHORT
/* The size of a `void*', as computed by sizeof. */
/* The size of `void*', as computed by sizeof. */
#undef SIZEOF_VOIDP
/* Define to 1 if you have the ANSI C header files. */
@ -247,15 +346,17 @@
/* Define to 1 if the X Window System is missing or not being used. */
#undef X_DISPLAY_MISSING
/* Number of bits in a file offset, on hosts where this is settable. */
#undef _FILE_OFFSET_BITS
/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
#undef _LARGEFILE_SOURCE
/* Define for large files, on AIX-style hosts. */
#undef _LARGE_FILES
/* Define to `__inline__' or `__inline' if that's what the C compiler
calls it, or to nothing if 'inline' is not supported under any name. */
#ifndef __cplusplus
#undef inline
#endif
/* PREFIX - specifically added for Windows for easier moving (same as in core) */
#define PREFIX "C:\\gstreamer"
#define GST_INSTALL_PLUGINS_HELPER PREFIX "\\libexec\\gst-install-plugins-helper.exe"

View file

@ -10,7 +10,6 @@ GType
gst_rtsp_result_get_type (void)
{
static GType etype = 0;
if (etype == 0) {
static const GEnumValue values[] = {
{GST_RTSP_OK, "GST_RTSP_OK", "ok"},
@ -28,6 +27,8 @@ gst_rtsp_result_get_type (void)
{GST_RTSP_ENET, "GST_RTSP_ENET", "enet"},
{GST_RTSP_ENOTIP, "GST_RTSP_ENOTIP", "enotip"},
{GST_RTSP_ETIMEOUT, "GST_RTSP_ETIMEOUT", "etimeout"},
{GST_RTSP_ETGET, "GST_RTSP_ETGET", "etget"},
{GST_RTSP_ETPOST, "GST_RTSP_ETPOST", "etpost"},
{GST_RTSP_ELAST, "GST_RTSP_ELAST", "elast"},
{0, NULL, NULL}
};
@ -40,7 +41,6 @@ GType
gst_rtsp_event_get_type (void)
{
static GType etype = 0;
if (etype == 0) {
static const GFlagsValue values[] = {
{GST_RTSP_EV_READ, "GST_RTSP_EV_READ", "read"},
@ -56,7 +56,6 @@ GType
gst_rtsp_family_get_type (void)
{
static GType etype = 0;
if (etype == 0) {
static const GEnumValue values[] = {
{GST_RTSP_FAM_NONE, "GST_RTSP_FAM_NONE", "none"},
@ -73,7 +72,6 @@ GType
gst_rtsp_state_get_type (void)
{
static GType etype = 0;
if (etype == 0) {
static const GEnumValue values[] = {
{GST_RTSP_STATE_INVALID, "GST_RTSP_STATE_INVALID", "invalid"},
@ -93,7 +91,6 @@ GType
gst_rtsp_version_get_type (void)
{
static GType etype = 0;
if (etype == 0) {
static const GEnumValue values[] = {
{GST_RTSP_VERSION_INVALID, "GST_RTSP_VERSION_INVALID", "invalid"},
@ -109,7 +106,6 @@ GType
gst_rtsp_method_get_type (void)
{
static GType etype = 0;
if (etype == 0) {
static const GFlagsValue values[] = {
{GST_RTSP_INVALID, "GST_RTSP_INVALID", "invalid"},
@ -135,7 +131,6 @@ GType
gst_rtsp_auth_method_get_type (void)
{
static GType etype = 0;
if (etype == 0) {
static const GEnumValue values[] = {
{GST_RTSP_AUTH_NONE, "GST_RTSP_AUTH_NONE", "none"},
@ -152,46 +147,45 @@ GType
gst_rtsp_header_field_get_type (void)
{
static GType etype = 0;
if (etype == 0) {
static const GEnumValue values[] = {
{GST_RTSP_HDR_INVALID, "GST_RTSP_HDR_INVALID", "invalid"},
{GST_RTSP_HDR_ACCEPT, "GST_RTSP_HDR_ACCEPT", "accept"},
{GST_RTSP_HDR_ACCEPT_ENCODING, "GST_RTSP_HDR_ACCEPT_ENCODING",
"accept-encoding"},
"accept-encoding"},
{GST_RTSP_HDR_ACCEPT_LANGUAGE, "GST_RTSP_HDR_ACCEPT_LANGUAGE",
"accept-language"},
"accept-language"},
{GST_RTSP_HDR_ALLOW, "GST_RTSP_HDR_ALLOW", "allow"},
{GST_RTSP_HDR_AUTHORIZATION, "GST_RTSP_HDR_AUTHORIZATION",
"authorization"},
"authorization"},
{GST_RTSP_HDR_BANDWIDTH, "GST_RTSP_HDR_BANDWIDTH", "bandwidth"},
{GST_RTSP_HDR_BLOCKSIZE, "GST_RTSP_HDR_BLOCKSIZE", "blocksize"},
{GST_RTSP_HDR_CACHE_CONTROL, "GST_RTSP_HDR_CACHE_CONTROL",
"cache-control"},
"cache-control"},
{GST_RTSP_HDR_CONFERENCE, "GST_RTSP_HDR_CONFERENCE", "conference"},
{GST_RTSP_HDR_CONNECTION, "GST_RTSP_HDR_CONNECTION", "connection"},
{GST_RTSP_HDR_CONTENT_BASE, "GST_RTSP_HDR_CONTENT_BASE", "content-base"},
{GST_RTSP_HDR_CONTENT_ENCODING, "GST_RTSP_HDR_CONTENT_ENCODING",
"content-encoding"},
"content-encoding"},
{GST_RTSP_HDR_CONTENT_LANGUAGE, "GST_RTSP_HDR_CONTENT_LANGUAGE",
"content-language"},
"content-language"},
{GST_RTSP_HDR_CONTENT_LENGTH, "GST_RTSP_HDR_CONTENT_LENGTH",
"content-length"},
"content-length"},
{GST_RTSP_HDR_CONTENT_LOCATION, "GST_RTSP_HDR_CONTENT_LOCATION",
"content-location"},
"content-location"},
{GST_RTSP_HDR_CONTENT_TYPE, "GST_RTSP_HDR_CONTENT_TYPE", "content-type"},
{GST_RTSP_HDR_CSEQ, "GST_RTSP_HDR_CSEQ", "cseq"},
{GST_RTSP_HDR_DATE, "GST_RTSP_HDR_DATE", "date"},
{GST_RTSP_HDR_EXPIRES, "GST_RTSP_HDR_EXPIRES", "expires"},
{GST_RTSP_HDR_FROM, "GST_RTSP_HDR_FROM", "from"},
{GST_RTSP_HDR_IF_MODIFIED_SINCE, "GST_RTSP_HDR_IF_MODIFIED_SINCE",
"if-modified-since"},
"if-modified-since"},
{GST_RTSP_HDR_LAST_MODIFIED, "GST_RTSP_HDR_LAST_MODIFIED",
"last-modified"},
"last-modified"},
{GST_RTSP_HDR_PROXY_AUTHENTICATE, "GST_RTSP_HDR_PROXY_AUTHENTICATE",
"proxy-authenticate"},
"proxy-authenticate"},
{GST_RTSP_HDR_PROXY_REQUIRE, "GST_RTSP_HDR_PROXY_REQUIRE",
"proxy-require"},
"proxy-require"},
{GST_RTSP_HDR_PUBLIC, "GST_RTSP_HDR_PUBLIC", "public"},
{GST_RTSP_HDR_RANGE, "GST_RTSP_HDR_RANGE", "range"},
{GST_RTSP_HDR_REFERER, "GST_RTSP_HDR_REFERER", "referer"},
@ -207,15 +201,15 @@ gst_rtsp_header_field_get_type (void)
{GST_RTSP_HDR_USER_AGENT, "GST_RTSP_HDR_USER_AGENT", "user-agent"},
{GST_RTSP_HDR_VIA, "GST_RTSP_HDR_VIA", "via"},
{GST_RTSP_HDR_WWW_AUTHENTICATE, "GST_RTSP_HDR_WWW_AUTHENTICATE",
"www-authenticate"},
"www-authenticate"},
{GST_RTSP_HDR_CLIENT_CHALLENGE, "GST_RTSP_HDR_CLIENT_CHALLENGE",
"client-challenge"},
"client-challenge"},
{GST_RTSP_HDR_REAL_CHALLENGE1, "GST_RTSP_HDR_REAL_CHALLENGE1",
"real-challenge1"},
"real-challenge1"},
{GST_RTSP_HDR_REAL_CHALLENGE2, "GST_RTSP_HDR_REAL_CHALLENGE2",
"real-challenge2"},
"real-challenge2"},
{GST_RTSP_HDR_REAL_CHALLENGE3, "GST_RTSP_HDR_REAL_CHALLENGE3",
"real-challenge3"},
"real-challenge3"},
{GST_RTSP_HDR_SUBSCRIBE, "GST_RTSP_HDR_SUBSCRIBE", "subscribe"},
{GST_RTSP_HDR_ALERT, "GST_RTSP_HDR_ALERT", "alert"},
{GST_RTSP_HDR_CLIENT_ID, "GST_RTSP_HDR_CLIENT_ID", "client-id"},
@ -223,10 +217,10 @@ gst_rtsp_header_field_get_type (void)
{GST_RTSP_HDR_GUID, "GST_RTSP_HDR_GUID", "guid"},
{GST_RTSP_HDR_REGION_DATA, "GST_RTSP_HDR_REGION_DATA", "region-data"},
{GST_RTSP_HDR_MAX_ASM_WIDTH, "GST_RTSP_HDR_MAX_ASM_WIDTH",
"max-asm-width"},
"max-asm-width"},
{GST_RTSP_HDR_LANGUAGE, "GST_RTSP_HDR_LANGUAGE", "language"},
{GST_RTSP_HDR_PLAYER_START_TIME, "GST_RTSP_HDR_PLAYER_START_TIME",
"player-start-time"},
"player-start-time"},
{GST_RTSP_HDR_LOCATION, "GST_RTSP_HDR_LOCATION", "location"},
{0, NULL, NULL}
};
@ -239,7 +233,6 @@ GType
gst_rtsp_status_code_get_type (void)
{
static GType etype = 0;
if (etype == 0) {
static const GEnumValue values[] = {
{GST_RTSP_STS_INVALID, "GST_RTSP_STS_INVALID", "invalid"},
@ -247,85 +240,85 @@ gst_rtsp_status_code_get_type (void)
{GST_RTSP_STS_OK, "GST_RTSP_STS_OK", "ok"},
{GST_RTSP_STS_CREATED, "GST_RTSP_STS_CREATED", "created"},
{GST_RTSP_STS_LOW_ON_STORAGE, "GST_RTSP_STS_LOW_ON_STORAGE",
"low-on-storage"},
"low-on-storage"},
{GST_RTSP_STS_MULTIPLE_CHOICES, "GST_RTSP_STS_MULTIPLE_CHOICES",
"multiple-choices"},
"multiple-choices"},
{GST_RTSP_STS_MOVED_PERMANENTLY, "GST_RTSP_STS_MOVED_PERMANENTLY",
"moved-permanently"},
"moved-permanently"},
{GST_RTSP_STS_MOVE_TEMPORARILY, "GST_RTSP_STS_MOVE_TEMPORARILY",
"move-temporarily"},
"move-temporarily"},
{GST_RTSP_STS_SEE_OTHER, "GST_RTSP_STS_SEE_OTHER", "see-other"},
{GST_RTSP_STS_NOT_MODIFIED, "GST_RTSP_STS_NOT_MODIFIED", "not-modified"},
{GST_RTSP_STS_USE_PROXY, "GST_RTSP_STS_USE_PROXY", "use-proxy"},
{GST_RTSP_STS_BAD_REQUEST, "GST_RTSP_STS_BAD_REQUEST", "bad-request"},
{GST_RTSP_STS_UNAUTHORIZED, "GST_RTSP_STS_UNAUTHORIZED", "unauthorized"},
{GST_RTSP_STS_PAYMENT_REQUIRED, "GST_RTSP_STS_PAYMENT_REQUIRED",
"payment-required"},
"payment-required"},
{GST_RTSP_STS_FORBIDDEN, "GST_RTSP_STS_FORBIDDEN", "forbidden"},
{GST_RTSP_STS_NOT_FOUND, "GST_RTSP_STS_NOT_FOUND", "not-found"},
{GST_RTSP_STS_METHOD_NOT_ALLOWED, "GST_RTSP_STS_METHOD_NOT_ALLOWED",
"method-not-allowed"},
"method-not-allowed"},
{GST_RTSP_STS_NOT_ACCEPTABLE, "GST_RTSP_STS_NOT_ACCEPTABLE",
"not-acceptable"},
"not-acceptable"},
{GST_RTSP_STS_PROXY_AUTH_REQUIRED, "GST_RTSP_STS_PROXY_AUTH_REQUIRED",
"proxy-auth-required"},
"proxy-auth-required"},
{GST_RTSP_STS_REQUEST_TIMEOUT, "GST_RTSP_STS_REQUEST_TIMEOUT",
"request-timeout"},
"request-timeout"},
{GST_RTSP_STS_GONE, "GST_RTSP_STS_GONE", "gone"},
{GST_RTSP_STS_LENGTH_REQUIRED, "GST_RTSP_STS_LENGTH_REQUIRED",
"length-required"},
"length-required"},
{GST_RTSP_STS_PRECONDITION_FAILED, "GST_RTSP_STS_PRECONDITION_FAILED",
"precondition-failed"},
"precondition-failed"},
{GST_RTSP_STS_REQUEST_ENTITY_TOO_LARGE,
"GST_RTSP_STS_REQUEST_ENTITY_TOO_LARGE",
"request-entity-too-large"},
"request-entity-too-large"},
{GST_RTSP_STS_REQUEST_URI_TOO_LARGE, "GST_RTSP_STS_REQUEST_URI_TOO_LARGE",
"request-uri-too-large"},
"request-uri-too-large"},
{GST_RTSP_STS_UNSUPPORTED_MEDIA_TYPE,
"GST_RTSP_STS_UNSUPPORTED_MEDIA_TYPE", "unsupported-media-type"},
"GST_RTSP_STS_UNSUPPORTED_MEDIA_TYPE", "unsupported-media-type"},
{GST_RTSP_STS_PARAMETER_NOT_UNDERSTOOD,
"GST_RTSP_STS_PARAMETER_NOT_UNDERSTOOD",
"parameter-not-understood"},
"parameter-not-understood"},
{GST_RTSP_STS_CONFERENCE_NOT_FOUND, "GST_RTSP_STS_CONFERENCE_NOT_FOUND",
"conference-not-found"},
"conference-not-found"},
{GST_RTSP_STS_NOT_ENOUGH_BANDWIDTH, "GST_RTSP_STS_NOT_ENOUGH_BANDWIDTH",
"not-enough-bandwidth"},
"not-enough-bandwidth"},
{GST_RTSP_STS_SESSION_NOT_FOUND, "GST_RTSP_STS_SESSION_NOT_FOUND",
"session-not-found"},
"session-not-found"},
{GST_RTSP_STS_METHOD_NOT_VALID_IN_THIS_STATE,
"GST_RTSP_STS_METHOD_NOT_VALID_IN_THIS_STATE",
"method-not-valid-in-this-state"},
"method-not-valid-in-this-state"},
{GST_RTSP_STS_HEADER_FIELD_NOT_VALID_FOR_RESOURCE,
"GST_RTSP_STS_HEADER_FIELD_NOT_VALID_FOR_RESOURCE",
"header-field-not-valid-for-resource"},
"header-field-not-valid-for-resource"},
{GST_RTSP_STS_INVALID_RANGE, "GST_RTSP_STS_INVALID_RANGE",
"invalid-range"},
"invalid-range"},
{GST_RTSP_STS_PARAMETER_IS_READONLY, "GST_RTSP_STS_PARAMETER_IS_READONLY",
"parameter-is-readonly"},
"parameter-is-readonly"},
{GST_RTSP_STS_AGGREGATE_OPERATION_NOT_ALLOWED,
"GST_RTSP_STS_AGGREGATE_OPERATION_NOT_ALLOWED",
"aggregate-operation-not-allowed"},
"aggregate-operation-not-allowed"},
{GST_RTSP_STS_ONLY_AGGREGATE_OPERATION_ALLOWED,
"GST_RTSP_STS_ONLY_AGGREGATE_OPERATION_ALLOWED",
"only-aggregate-operation-allowed"},
"only-aggregate-operation-allowed"},
{GST_RTSP_STS_UNSUPPORTED_TRANSPORT, "GST_RTSP_STS_UNSUPPORTED_TRANSPORT",
"unsupported-transport"},
"unsupported-transport"},
{GST_RTSP_STS_DESTINATION_UNREACHABLE,
"GST_RTSP_STS_DESTINATION_UNREACHABLE", "destination-unreachable"},
"GST_RTSP_STS_DESTINATION_UNREACHABLE", "destination-unreachable"},
{GST_RTSP_STS_INTERNAL_SERVER_ERROR, "GST_RTSP_STS_INTERNAL_SERVER_ERROR",
"internal-server-error"},
"internal-server-error"},
{GST_RTSP_STS_NOT_IMPLEMENTED, "GST_RTSP_STS_NOT_IMPLEMENTED",
"not-implemented"},
"not-implemented"},
{GST_RTSP_STS_BAD_GATEWAY, "GST_RTSP_STS_BAD_GATEWAY", "bad-gateway"},
{GST_RTSP_STS_SERVICE_UNAVAILABLE, "GST_RTSP_STS_SERVICE_UNAVAILABLE",
"service-unavailable"},
"service-unavailable"},
{GST_RTSP_STS_GATEWAY_TIMEOUT, "GST_RTSP_STS_GATEWAY_TIMEOUT",
"gateway-timeout"},
"gateway-timeout"},
{GST_RTSP_STS_RTSP_VERSION_NOT_SUPPORTED,
"GST_RTSP_STS_RTSP_VERSION_NOT_SUPPORTED",
"rtsp-version-not-supported"},
"rtsp-version-not-supported"},
{GST_RTSP_STS_OPTION_NOT_SUPPORTED, "GST_RTSP_STS_OPTION_NOT_SUPPORTED",
"option-not-supported"},
"option-not-supported"},
{0, NULL, NULL}
};
etype = g_enum_register_static ("GstRTSPStatusCode", values);

View file

@ -21,7 +21,6 @@ GType
gst_color_balance_type_get_type (void)
{
static GType etype = 0;
if (etype == 0) {
static const GEnumValue values[] = {
{GST_COLOR_BALANCE_HARDWARE, "GST_COLOR_BALANCE_HARDWARE", "hardware"},
@ -38,7 +37,6 @@ GType
gst_mixer_type_get_type (void)
{
static GType etype = 0;
if (etype == 0) {
static const GEnumValue values[] = {
{GST_MIXER_HARDWARE, "GST_MIXER_HARDWARE", "hardware"},
@ -54,18 +52,21 @@ GType
gst_mixer_message_type_get_type (void)
{
static GType etype = 0;
if (etype == 0) {
static const GEnumValue values[] = {
{GST_MIXER_MESSAGE_INVALID, "GST_MIXER_MESSAGE_INVALID", "invalid"},
{GST_MIXER_MESSAGE_MUTE_TOGGLED, "GST_MIXER_MESSAGE_MUTE_TOGGLED",
"mute-toggled"},
"mute-toggled"},
{GST_MIXER_MESSAGE_RECORD_TOGGLED, "GST_MIXER_MESSAGE_RECORD_TOGGLED",
"record-toggled"},
"record-toggled"},
{GST_MIXER_MESSAGE_VOLUME_CHANGED, "GST_MIXER_MESSAGE_VOLUME_CHANGED",
"volume-changed"},
"volume-changed"},
{GST_MIXER_MESSAGE_OPTION_CHANGED, "GST_MIXER_MESSAGE_OPTION_CHANGED",
"option-changed"},
"option-changed"},
{GST_MIXER_MESSAGE_OPTIONS_LIST_CHANGED,
"GST_MIXER_MESSAGE_OPTIONS_LIST_CHANGED", "options-list-changed"},
{GST_MIXER_MESSAGE_MIXER_CHANGED, "GST_MIXER_MESSAGE_MIXER_CHANGED",
"mixer-changed"},
{0, NULL, NULL}
};
etype = g_enum_register_static ("GstMixerMessageType", values);
@ -77,12 +78,14 @@ GType
gst_mixer_flags_get_type (void)
{
static GType etype = 0;
if (etype == 0) {
static const GFlagsValue values[] = {
{GST_MIXER_FLAG_NONE, "GST_MIXER_FLAG_NONE", "none"},
{GST_MIXER_FLAG_AUTO_NOTIFICATIONS, "GST_MIXER_FLAG_AUTO_NOTIFICATIONS",
"auto-notifications"},
"auto-notifications"},
{GST_MIXER_FLAG_HAS_WHITELIST, "GST_MIXER_FLAG_HAS_WHITELIST",
"has-whitelist"},
{GST_MIXER_FLAG_GROUPING, "GST_MIXER_FLAG_GROUPING", "grouping"},
{0, NULL, NULL}
};
etype = g_flags_register_static ("GstMixerFlags", values);
@ -95,7 +98,6 @@ GType
gst_mixer_track_flags_get_type (void)
{
static GType etype = 0;
if (etype == 0) {
static const GFlagsValue values[] = {
{GST_MIXER_TRACK_INPUT, "GST_MIXER_TRACK_INPUT", "input"},
@ -104,6 +106,9 @@ gst_mixer_track_flags_get_type (void)
{GST_MIXER_TRACK_RECORD, "GST_MIXER_TRACK_RECORD", "record"},
{GST_MIXER_TRACK_MASTER, "GST_MIXER_TRACK_MASTER", "master"},
{GST_MIXER_TRACK_SOFTWARE, "GST_MIXER_TRACK_SOFTWARE", "software"},
{GST_MIXER_TRACK_NO_RECORD, "GST_MIXER_TRACK_NO_RECORD", "no-record"},
{GST_MIXER_TRACK_NO_MUTE, "GST_MIXER_TRACK_NO_MUTE", "no-mute"},
{GST_MIXER_TRACK_WHITELIST, "GST_MIXER_TRACK_WHITELIST", "whitelist"},
{0, NULL, NULL}
};
etype = g_flags_register_static ("GstMixerTrackFlags", values);
@ -116,7 +121,6 @@ GType
gst_tuner_channel_flags_get_type (void)
{
static GType etype = 0;
if (etype == 0) {
static const GFlagsValue values[] = {
{GST_TUNER_CHANNEL_INPUT, "GST_TUNER_CHANNEL_INPUT", "input"},

View file

@ -14,34 +14,34 @@ gst_audio_channel_position_get_type (void)
if (etype == 0) {
static const GEnumValue values[] = {
{GST_AUDIO_CHANNEL_POSITION_INVALID, "GST_AUDIO_CHANNEL_POSITION_INVALID",
"invalid"},
"invalid"},
{GST_AUDIO_CHANNEL_POSITION_FRONT_MONO,
"GST_AUDIO_CHANNEL_POSITION_FRONT_MONO", "front-mono"},
"GST_AUDIO_CHANNEL_POSITION_FRONT_MONO", "front-mono"},
{GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT,
"GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT", "front-left"},
"GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT", "front-left"},
{GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT,
"GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT", "front-right"},
"GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT", "front-right"},
{GST_AUDIO_CHANNEL_POSITION_REAR_CENTER,
"GST_AUDIO_CHANNEL_POSITION_REAR_CENTER", "rear-center"},
"GST_AUDIO_CHANNEL_POSITION_REAR_CENTER", "rear-center"},
{GST_AUDIO_CHANNEL_POSITION_REAR_LEFT,
"GST_AUDIO_CHANNEL_POSITION_REAR_LEFT", "rear-left"},
"GST_AUDIO_CHANNEL_POSITION_REAR_LEFT", "rear-left"},
{GST_AUDIO_CHANNEL_POSITION_REAR_RIGHT,
"GST_AUDIO_CHANNEL_POSITION_REAR_RIGHT", "rear-right"},
"GST_AUDIO_CHANNEL_POSITION_REAR_RIGHT", "rear-right"},
{GST_AUDIO_CHANNEL_POSITION_LFE, "GST_AUDIO_CHANNEL_POSITION_LFE", "lfe"},
{GST_AUDIO_CHANNEL_POSITION_FRONT_CENTER,
"GST_AUDIO_CHANNEL_POSITION_FRONT_CENTER", "front-center"},
"GST_AUDIO_CHANNEL_POSITION_FRONT_CENTER", "front-center"},
{GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT_OF_CENTER,
"GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT_OF_CENTER",
"front-left-of-center"},
"front-left-of-center"},
{GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT_OF_CENTER,
"GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT_OF_CENTER",
"front-right-of-center"},
"front-right-of-center"},
{GST_AUDIO_CHANNEL_POSITION_SIDE_LEFT,
"GST_AUDIO_CHANNEL_POSITION_SIDE_LEFT", "side-left"},
"GST_AUDIO_CHANNEL_POSITION_SIDE_LEFT", "side-left"},
{GST_AUDIO_CHANNEL_POSITION_SIDE_RIGHT,
"GST_AUDIO_CHANNEL_POSITION_SIDE_RIGHT", "side-right"},
"GST_AUDIO_CHANNEL_POSITION_SIDE_RIGHT", "side-right"},
{GST_AUDIO_CHANNEL_POSITION_NONE, "GST_AUDIO_CHANNEL_POSITION_NONE",
"none"},
"none"},
{GST_AUDIO_CHANNEL_POSITION_NUM, "GST_AUDIO_CHANNEL_POSITION_NUM", "num"},
{0, NULL, NULL}
};

View file

@ -13,27 +13,26 @@ GType
gst_install_plugins_return_get_type (void)
{
static GType etype = 0;
if (etype == 0) {
static const GEnumValue values[] = {
{GST_INSTALL_PLUGINS_SUCCESS, "GST_INSTALL_PLUGINS_SUCCESS", "success"},
{GST_INSTALL_PLUGINS_NOT_FOUND, "GST_INSTALL_PLUGINS_NOT_FOUND",
"not-found"},
"not-found"},
{GST_INSTALL_PLUGINS_ERROR, "GST_INSTALL_PLUGINS_ERROR", "error"},
{GST_INSTALL_PLUGINS_PARTIAL_SUCCESS,
"GST_INSTALL_PLUGINS_PARTIAL_SUCCESS", "partial-success"},
"GST_INSTALL_PLUGINS_PARTIAL_SUCCESS", "partial-success"},
{GST_INSTALL_PLUGINS_USER_ABORT, "GST_INSTALL_PLUGINS_USER_ABORT",
"user-abort"},
"user-abort"},
{GST_INSTALL_PLUGINS_CRASHED, "GST_INSTALL_PLUGINS_CRASHED", "crashed"},
{GST_INSTALL_PLUGINS_INVALID, "GST_INSTALL_PLUGINS_INVALID", "invalid"},
{GST_INSTALL_PLUGINS_STARTED_OK, "GST_INSTALL_PLUGINS_STARTED_OK",
"started-ok"},
"started-ok"},
{GST_INSTALL_PLUGINS_INTERNAL_FAILURE,
"GST_INSTALL_PLUGINS_INTERNAL_FAILURE", "internal-failure"},
"GST_INSTALL_PLUGINS_INTERNAL_FAILURE", "internal-failure"},
{GST_INSTALL_PLUGINS_HELPER_MISSING, "GST_INSTALL_PLUGINS_HELPER_MISSING",
"helper-missing"},
"helper-missing"},
{GST_INSTALL_PLUGINS_INSTALL_IN_PROGRESS,
"GST_INSTALL_PLUGINS_INSTALL_IN_PROGRESS", "install-in-progress"},
"GST_INSTALL_PLUGINS_INSTALL_IN_PROGRESS", "install-in-progress"},
{0, NULL, NULL}
};
etype = g_enum_register_static ("GstInstallPluginsReturn", values);

View file

@ -0,0 +1,40 @@
/* Generated data (by glib-mkenums) */
#include "video-enumtypes.h"
#include "video.h"
/* enumerations from "video.h" */
GType
gst_video_format_get_type (void)
{
static GType etype = 0;
if (etype == 0) {
static const GEnumValue values[] = {
{GST_VIDEO_FORMAT_UNKNOWN, "GST_VIDEO_FORMAT_UNKNOWN", "unknown"},
{GST_VIDEO_FORMAT_I420, "GST_VIDEO_FORMAT_I420", "i420"},
{GST_VIDEO_FORMAT_YV12, "GST_VIDEO_FORMAT_YV12", "yv12"},
{GST_VIDEO_FORMAT_YUY2, "GST_VIDEO_FORMAT_YUY2", "yuy2"},
{GST_VIDEO_FORMAT_UYVY, "GST_VIDEO_FORMAT_UYVY", "uyvy"},
{GST_VIDEO_FORMAT_AYUV, "GST_VIDEO_FORMAT_AYUV", "ayuv"},
{GST_VIDEO_FORMAT_RGBx, "GST_VIDEO_FORMAT_RGBx", "rgbx"},
{GST_VIDEO_FORMAT_BGRx, "GST_VIDEO_FORMAT_BGRx", "bgrx"},
{GST_VIDEO_FORMAT_xRGB, "GST_VIDEO_FORMAT_xRGB", "xrgb"},
{GST_VIDEO_FORMAT_xBGR, "GST_VIDEO_FORMAT_xBGR", "xbgr"},
{GST_VIDEO_FORMAT_RGBA, "GST_VIDEO_FORMAT_RGBA", "rgba"},
{GST_VIDEO_FORMAT_BGRA, "GST_VIDEO_FORMAT_BGRA", "bgra"},
{GST_VIDEO_FORMAT_ARGB, "GST_VIDEO_FORMAT_ARGB", "argb"},
{GST_VIDEO_FORMAT_ABGR, "GST_VIDEO_FORMAT_ABGR", "abgr"},
{GST_VIDEO_FORMAT_RGB, "GST_VIDEO_FORMAT_RGB", "rgb"},
{GST_VIDEO_FORMAT_BGR, "GST_VIDEO_FORMAT_BGR", "bgr"},
{GST_VIDEO_FORMAT_Y41B, "GST_VIDEO_FORMAT_Y41B", "y41b"},
{GST_VIDEO_FORMAT_Y42B, "GST_VIDEO_FORMAT_Y42B", "y42b"},
{0, NULL, NULL}
};
etype = g_enum_register_static ("GstVideoFormat", values);
}
return etype;
}
/* Generated data ends here */

View file

@ -0,0 +1,19 @@
/* Generated data (by glib-mkenums) */
#ifndef __GST_VIDEO_ENUM_TYPES_H__
#define __GST_VIDEO_ENUM_TYPES_H__
#include <glib-object.h>
G_BEGIN_DECLS
/* enumerations from "video.h" */
GType gst_video_format_get_type (void);
#define GST_TYPE_VIDEO_FORMAT (gst_video_format_get_type())
G_END_DECLS
#endif /* __GST_VIDEO_ENUM_TYPES_H__ */
/* Generated data ends here */