don't mix tabs and spaces

Original commit message from CVS:
don't mix tabs and spaces
This commit is contained in:
Thomas Vander Stichele 2004-03-15 19:32:27 +00:00
parent 9f4226fe55
commit 4fd57bbe3f
173 changed files with 8097 additions and 7987 deletions

View file

@ -1,3 +1,7 @@
2004-03-15 Thomas Vander Stichele <thomas at apestaart dot org>
* *.c, *.cc: don't mix tabs and spaces
2004-03-15 Thomas Vander Stichele <thomas at apestaart dot org>
* gst-libs/gst/play/play.c: (gst_play_pipeline_setup):

View file

@ -60,7 +60,8 @@ typedef struct
GstElement *bin;
GstElement *pipeline;
GstIndex *index;
} dyn_link;
}
dyn_link;
static void
dynamic_link (GstPadTemplate * templ, GstPad * newpad, gpointer data)

View file

@ -47,7 +47,8 @@ typedef struct
{
const gchar *name;
const GstFormat format;
} seek_format;
}
seek_format;
static seek_format seek_formats[] = {
{"tim", GST_FORMAT_TIME},

View file

@ -28,7 +28,8 @@ typedef struct
const gchar *padname;
GstPad *target;
GstElement *bin;
} dyn_link;
}
dyn_link;
static GstElement *
gst_element_factory_make_or_warn (gchar * type, gchar * name)
@ -572,7 +573,8 @@ typedef struct
{
const gchar *name;
const GstFormat format;
} seek_format;
}
seek_format;
static seek_format seek_formats[] = {
{"tim", GST_FORMAT_TIME},
@ -808,7 +810,8 @@ typedef struct
{
gchar *name;
GstElement *(*func) (const gchar * location);
} Pipeline;
}
Pipeline;
static Pipeline pipelines[] = {
{"mp3", make_mp3_pipeline},

View file

@ -91,7 +91,8 @@ typedef struct
{
const gchar *name;
const GstFormat format;
} seek_format;
}
seek_format;
static seek_format seek_formats[] = {
{"tim", GST_FORMAT_TIME},

View file

@ -93,6 +93,7 @@ gst_arts_get_type (void)
0,
(GInstanceInitFunc) gst_arts_init,
};
gst_arts_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstArts", &gst_arts_info, 0);
}

View file

@ -91,6 +91,7 @@ gst_artsdsink_get_type (void)
0,
(GInstanceInitFunc) gst_artsdsink_init,
};
artsdsink_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstArtsdsink",
&artsdsink_info, 0);

View file

@ -112,6 +112,7 @@ gst_afparse_get_type (void)
0,
(GInstanceInitFunc) gst_afparse_init,
};
afparse_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstAFParse", &afparse_info,
0);

View file

@ -136,6 +136,7 @@ gst_afsink_get_type (void)
0,
(GInstanceInitFunc) gst_afsink_init,
};
afsink_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstAFSink", &afsink_info, 0);
}

View file

@ -133,6 +133,7 @@ gst_afsrc_get_type (void)
0,
(GInstanceInitFunc) gst_afsrc_init,
};
afsrc_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstAFSrc", &afsrc_info, 0);
}

View file

@ -134,6 +134,7 @@ gst_cdaudio_get_type (void)
(GInstanceInitFunc) gst_cdaudio_init,
NULL
};
gst_cdaudio_type =
g_type_register_static (GST_TYPE_BIN, "GstCDAudio", &gst_cdaudio_info,
0);
@ -441,6 +442,7 @@ gst_cdaudio_get_query_types (GstElement * element)
GST_QUERY_SEGMENT_END,
0
};
return query_types;
}

View file

@ -125,6 +125,7 @@ gst_divxdec_get_type (void)
0,
(GInstanceInitFunc) gst_divxdec_init,
};
divxdec_type = g_type_register_static (GST_TYPE_ELEMENT,
"GstDivxDec", &divxdec_info, 0);
}
@ -395,16 +396,22 @@ gst_divxdec_negotiate (GstDivxDec * divxdec)
gint depth, bpp;
guint32 csp;
gint bitcnt;
} fmt_list[] = {
}
fmt_list[] =
{
{
GST_MAKE_FOURCC ('Y', 'U', 'Y', '2'), 16, 16,
GST_MAKE_FOURCC ('Y', 'U', 'Y', '2'), 0}, {
GST_MAKE_FOURCC ('Y', 'U', 'Y', '2'), 0}
, {
GST_MAKE_FOURCC ('U', 'Y', 'V', 'Y'), 16, 16,
GST_MAKE_FOURCC ('U', 'Y', 'V', 'Y'), 0}, {
GST_MAKE_FOURCC ('U', 'Y', 'V', 'Y'), 0}
, {
GST_MAKE_FOURCC ('I', '4', '2', '0'), 12, 12,
GST_MAKE_FOURCC ('I', '4', '2', '0'), 0}, {
GST_MAKE_FOURCC ('I', '4', '2', '0'), 0}
, {
GST_MAKE_FOURCC ('Y', 'V', '1', '2'), 12, 12,
GST_MAKE_FOURCC ('Y', 'V', '1', '2'), 0}, {
GST_MAKE_FOURCC ('Y', 'V', '1', '2'), 0}
, {
0, 0, 0, 0, 0}
};
gint i;

View file

@ -137,6 +137,7 @@ gst_divxenc_get_type (void)
0,
(GInstanceInitFunc) gst_divxenc_init,
};
divxenc_type = g_type_register_static (GST_TYPE_ELEMENT,
"GstDivxEnc", &divxenc_info, 0);
}

View file

@ -75,6 +75,7 @@ gst_gsmdec_get_type (void)
0,
(GInstanceInitFunc) gst_gsmdec_init,
};
gsmdec_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstGSMDec", &gsmdec_info, 0);
}

View file

@ -75,6 +75,7 @@ gst_gsmenc_get_type (void)
0,
(GInstanceInitFunc) gst_gsmenc_init,
};
gsmenc_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstGSMEnc", &gsmenc_info, 0);
}

View file

@ -48,7 +48,8 @@ typedef enum
GST_HERMES_COLORSPACE_RGB32_I420,
GST_HERMES_COLORSPACE_RGB32_YV12,
GST_HERMES_COLORSPACE_420_SWAP,
} GstColorSpaceConverterType;
}
GstColorSpaceConverterType;
struct _GstHermesColorspace
{
@ -85,7 +86,8 @@ typedef struct _GstHermesColorspaceFormat
{
GstStaticCaps caps;
} GstHermesColorspaceFormat;
}
GstHermesColorspaceFormat;
static GstHermesColorspaceFormat gst_hermes_colorspace_formats[] = {
{GST_STATIC_CAPS (GST_VIDEO_CAPS_xRGB)},
@ -469,6 +471,7 @@ gst_hermes_colorspace_get_type (void)
0,
(GInstanceInitFunc) gst_hermes_colorspace_init,
};
colorspace_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstHermesColorspace",
&colorspace_info, 0);

View file

@ -858,6 +858,7 @@ gst_ivorbisfile_get_query_types (GstPad * pad)
GST_QUERY_POSITION,
0
};
return types;
}
@ -956,6 +957,7 @@ gst_ivorbisfile_get_event_masks (GstPad * pad)
{GST_EVENT_SEEK, GST_SEEK_METHOD_SET | GST_SEEK_FLAG_ACCURATE},
{0,}
};
return masks;
}

View file

@ -106,6 +106,7 @@ gst_jack_get_type (void)
0,
NULL,
};
jack_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstJack", &jack_info, 0);
}
@ -129,6 +130,7 @@ gst_jack_sink_get_type (void)
0,
(GInstanceInitFunc) gst_jack_init,
};
jack_type =
g_type_register_static (GST_TYPE_JACK, "GstJackSink", &jack_info, 0);
}
@ -152,6 +154,7 @@ gst_jack_src_get_type (void)
0,
(GInstanceInitFunc) gst_jack_init,
};
jack_type =
g_type_register_static (GST_TYPE_JACK, "GstJackSrc", &jack_info, 0);
}

View file

@ -64,6 +64,7 @@ gst_jack_bin_get_type (void)
0,
(GInstanceInitFunc) gst_jack_bin_init,
};
jack_bin_type =
g_type_register_static (GST_TYPE_BIN, "GstJackBin", &jack_bin_info, 0);
}

View file

@ -329,6 +329,7 @@ gst_colorspace_get_type (void)
0,
(GInstanceInitFunc) gst_colorspace_init,
};
colorspace_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstColorspaceLCS",
&colorspace_info, 0);

View file

@ -90,7 +90,8 @@ typedef struct
{
gint num;
gint den;
} frame_rate_entry;
}
frame_rate_entry;
static const frame_rate_entry frame_rates[] = {
{0, 0},
@ -161,6 +162,7 @@ gst_fameenc_get_type (void)
0,
(GInstanceInitFunc) gst_fameenc_init,
};
fameenc_type = g_type_register_static (GST_TYPE_ELEMENT,
"GstFameEnc", &fameenc_info, 0);
}

View file

@ -33,7 +33,8 @@ static void
add_fps (GstCaps * caps)
{
GstStructure *structure = gst_caps_get_structure (caps, 0);
GValue list = { 0 }, fps = {
GValue list = { 0 }, fps =
{
0};
gdouble fpss[] = { 24.0 / 1.001, 24.0, 25.0,
30.0 / 1.001, 30.0, 50.0,

View file

@ -85,7 +85,9 @@ bool GstMpeg2EncPictureReader::LoadFrame ()
GstData *
data;
GstBuffer *
buf = NULL;
buf =
NULL;
gint
i,
x,
@ -93,10 +95,15 @@ bool GstMpeg2EncPictureReader::LoadFrame ()
n;
guint8 *
frame;
GstFormat
fmt = GST_FORMAT_DEFAULT;
fmt =
GST_FORMAT_DEFAULT;
gint64
pos = 0, tot = 0;
pos =
0,
tot =
0;
gst_pad_query (GST_PAD_PEER (pad), GST_QUERY_POSITION, &fmt, &pos);
gst_pad_query (GST_PAD_PEER (pad), GST_QUERY_TOTAL, &fmt, &tot);

View file

@ -70,6 +70,7 @@ size_t GstMplexIBitStream::ReadStreamBytes (uint8_t * buf, size_t size)
{
guint8 *
data;
guint
read;
@ -79,6 +80,7 @@ size_t GstMplexIBitStream::ReadStreamBytes (uint8_t * buf, size_t size)
if ((read = gst_bytestream_peek_bytes (bs, &data, size)) != size) {
GstEvent *
event;
guint
pending;

View file

@ -106,7 +106,8 @@ GstMplexJob::initProperties (GObjectClass * klass)
#if 0
{
"video-buffer", 1, 0, 'b'},
"video-buffer", 1, 0, 'b'}
,
#endif
/* some boolean stuff for headers */
g_object_class_install_property (klass, ARG_VBR,

View file

@ -102,6 +102,7 @@ gst_musicbrainz_get_type (void)
0,
(GInstanceInitFunc) gst_musicbrainz_init,
};
musicbrainz_type = g_type_register_static (GST_TYPE_ELEMENT,
"GstMusicBrainz", &musicbrainz_info, 0);
}

View file

@ -111,6 +111,7 @@ gst_nassink_get_type (void)
0,
(GInstanceInitFunc) gst_nassink_init,
};
nassink_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstNassink", &nassink_info,
0);

View file

@ -104,6 +104,7 @@ gst_icecastsend_get_type (void)
sizeof (GstIcecastSend), 0,
(GInstanceInitFunc) gst_icecastsend_init,
};
icecastsend_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstIcecastSend",
&icecastsend_info, 0);

View file

@ -80,6 +80,7 @@ gst_smoothwave_get_type (void)
0,
(GInstanceInitFunc) gst_smoothwave_init,
};
smoothwave_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstSmoothWave",
&smoothwave_info, 0);

View file

@ -112,6 +112,7 @@ gst_snapshot_get_type (void)
0,
(GInstanceInitFunc) gst_snapshot_init,
};
snapshot_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstSnapshot", &snapshot_info,
0);

View file

@ -193,6 +193,7 @@ gst_sf_get_type (void)
0,
(GInstanceInitFunc) NULL /* abstract base class */
};
sf_type = g_type_register_static (GST_TYPE_ELEMENT, "GstSF", &sf_info, 0);
}
return sf_type;
@ -215,6 +216,7 @@ gst_sfsrc_get_type (void)
0,
(GInstanceInitFunc) gst_sf_init,
};
sfsrc_type =
g_type_register_static (GST_TYPE_SF, "GstSFSrc", &sfsrc_info, 0);
}
@ -238,6 +240,7 @@ gst_sfsink_get_type (void)
0,
(GInstanceInitFunc) gst_sf_init,
};
sfsink_type =
g_type_register_static (GST_TYPE_SF, "GstSFSink", &sfsink_info, 0);
}

View file

@ -118,6 +118,7 @@ gst_swfdec_get_type (void)
0,
(GInstanceInitFunc) gst_swfdec_init,
};
swfdec_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstSwfdec", &swfdec_info, 0);
}
@ -532,6 +533,7 @@ gst_swfdec_src_event (GstPad * pad, GstEvent * event)
gboolean res = TRUE;
GstSwfdec *swfdec;
static const GstFormat formats[] = { GST_FORMAT_TIME, GST_FORMAT_BYTES };
#define MAX_SEEK_FORMATS 1 /* we can only do time seeking for now */
gint i;

View file

@ -16,7 +16,8 @@ typedef struct
char *allocated_in_func;
char *allocated_in_file;
unsigned int allocated_in_line;
} MemDesc;
}
MemDesc;
static int initialized = 0;

View file

@ -67,7 +67,8 @@ typedef struct
xine_ao_driver_t driver;
GstXineAudioDec *xine;
gboolean open;
} GstXineAudioDriver;
}
GstXineAudioDriver;
static guint32
_driver_get_capabilities (xine_ao_driver_t * driver)

View file

@ -103,6 +103,7 @@ gst_xviddec_get_type (void)
0,
(GInstanceInitFunc) gst_xviddec_init,
};
xviddec_type = g_type_register_static (GST_TYPE_ELEMENT,
"GstXvidDec", &xviddec_info, 0);
}

View file

@ -150,6 +150,7 @@ gst_xvidenc_get_type (void)
0,
(GInstanceInitFunc) gst_xvidenc_init,
};
xvidenc_type = g_type_register_static (GST_TYPE_ELEMENT,
"GstXvidEnc", &xvidenc_info, 0);
}

View file

@ -57,6 +57,7 @@ gst_audio_clock_get_type (void)
(GInstanceInitFunc) gst_audio_clock_init,
NULL
};
clock_type = g_type_register_static (GST_TYPE_SYSTEM_CLOCK, "GstAudioClock",
&clock_info, 0);
}

View file

@ -73,6 +73,7 @@ gst_audiofilter_get_type (void)
0,
gst_audiofilter_init,
};
audiofilter_type = g_type_register_static (GST_TYPE_ELEMENT,
"GstAudiofilter", &audiofilter_info, G_TYPE_FLAG_ABSTRACT);
}

View file

@ -107,6 +107,7 @@ gst_audiofilter_template_get_type (void)
0,
NULL,
};
audiofilter_template_type = g_type_register_static (GST_TYPE_AUDIOFILTER,
"GstAudiofilterTemplate", &audiofilter_template_info, 0);
}

View file

@ -686,3 +686,5 @@ gst_idct_mmx32_idct (short *blk)
emms (); /* restore processor state */
/* all done */
}

View file

@ -151,7 +151,8 @@ typedef struct
{
guint meta;
guint encoded;
} TagFlagScore;
}
TagFlagScore;
static void
tag_flag_score (const GstTagList * list, const gchar * tag, gpointer user_data)

View file

@ -113,6 +113,7 @@ gst_media_info_get_type (void)
(GInstanceInitFunc) gst_media_info_instance_init,
NULL
};
gst_media_info_type = g_type_register_static (G_TYPE_OBJECT,
"GstMediaInfo", &gst_media_info_info, 0);
}

View file

@ -108,7 +108,8 @@ static union
{
int i[4];
float f[4];
} av_tmp __attribute__ ((__aligned__ (16)));
}
av_tmp __attribute__ ((__aligned__ (16)));
void
conv_double_short_altivec (double *dest, short *src, int n)

View file

@ -777,7 +777,8 @@ gst_riff_read_info (GstRiffRead * riff)
if (name && name[0] != '\0') {
GValue src = { 0 }
, dest = {
, dest =
{
0};
GType dest_type = gst_tag_get_type (type);

View file

@ -102,6 +102,7 @@ gst_cdxa_parse_get_type (void)
0,
(GInstanceInitFunc) gst_cdxa_parse_init,
};
cdxa_parse_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstCDXAParse",
&cdxa_parse_info, 0);
@ -202,7 +203,8 @@ typedef struct
gchar CDXA_tag[4];
gchar fmt_tag[4];
guint32 fmt_size;
} CDXAParseHeader;
}
CDXAParseHeader;
/*
A sectors is 2352 bytes long and is composed of:

View file

@ -136,6 +136,7 @@ gst_chart_get_type (void)
0,
(GInstanceInitFunc) gst_chart_init,
};
type = g_type_register_static (GST_TYPE_ELEMENT, "GstChart", &info, 0);
}
return type;

View file

@ -474,6 +474,7 @@ gst_colorspace_get_type (void)
0,
(GInstanceInitFunc) gst_colorspace_init,
};
colorspace_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstColorspace",
&colorspace_info, 0);

View file

@ -99,6 +99,7 @@ gst_deinterlace_get_type (void)
0,
(GInstanceInitFunc) gst_deinterlace_init,
};
deinterlace_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstDeInterlace",
&deinterlace_info, 0);

View file

@ -147,6 +147,7 @@ gst_festival_get_type (void)
0,
(GInstanceInitFunc) gst_festival_init,
};
festival_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstFestival", &festival_info,
0);

View file

@ -103,6 +103,7 @@ gst_flxdec_get_type (void)
0,
(GInstanceInitFunc) gst_flxdec_init,
};
flxdec_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstFlxDec", &flxdec_info, 0);
}

View file

@ -142,6 +142,7 @@ gst_mixmatrix_get_type (void)
0,
(GInstanceInitFunc) gst_mixmatrix_init,
};
mixmatrix_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstMixMatrix",
&mixmatrix_info, 0);

View file

@ -133,6 +133,7 @@ gst_modplug_get_type (void)
(GInstanceInitFunc) gst_modplug_init,
NULL
};
modplug_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstModPlug", &modplug_info,
(GTypeFlags) 0);
@ -233,8 +234,7 @@ gst_modplug_init (GstModPlug * modplug)
gst_pad_set_event_function (modplug->srcpad,
(GstPadEventFunction) GST_DEBUG_FUNCPTR (gst_modplug_src_event));
gst_pad_set_query_function (modplug->srcpad, gst_modplug_src_query);
gst_pad_set_query_type_function (modplug->srcpad,
(GstPadQueryTypeFunction)
gst_pad_set_query_type_function (modplug->srcpad, (GstPadQueryTypeFunction)
GST_DEBUG_FUNCPTR (gst_modplug_get_query_types));
gst_pad_set_formats_function (modplug->srcpad,
(GstPadFormatsFunction) GST_DEBUG_FUNCPTR (gst_modplug_get_formats));

View file

@ -107,6 +107,7 @@ gst_mpeg1_system_encode_get_type (void)
(GInstanceInitFunc) gst_system_encode_init,
NULL
};
system_encode_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstMPEG1SystemEncode",
&system_encode_info, 0);

View file

@ -106,6 +106,7 @@ mp1videoparse_get_type (void)
0,
(GInstanceInitFunc) gst_mp1videoparse_init,
};
mp1videoparse_type =
g_type_register_static (GST_TYPE_ELEMENT, "Mp1VideoParse",
&mp1videoparse_info, 0);

View file

@ -104,6 +104,7 @@ gst_mpeg2subt_get_type (void)
0,
(GInstanceInitFunc) gst_mpeg2subt_init,
};
mpeg2subt_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstMpeg2Subt",
&mpeg2subt_info, 0);

View file

@ -98,6 +98,7 @@ gst_mp3parse_get_type (void)
0,
(GInstanceInitFunc) gst_mp3parse_init,
};
mp3parse_type = g_type_register_static (GST_TYPE_ELEMENT,
"GstMPEGAudioParse", &mp3parse_info, 0);
}

View file

@ -105,6 +105,7 @@ gst_overlay_get_type (void)
0,
(GInstanceInitFunc) gst_overlay_init,
};
overlay_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstOverlay", &overlay_info,
0);

View file

@ -153,6 +153,7 @@ gst_passthrough_get_type (void)
0,
(GInstanceInitFunc) passthrough_init,
};
passthrough_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstPassthrough",
&passthrough_info, 0);

View file

@ -109,6 +109,7 @@ gst_play_on_demand_get_type (void)
0,
(GInstanceInitFunc) play_on_demand_init,
};
play_on_demand_type = g_type_register_static (GST_TYPE_ELEMENT,
"GstPlayOnDemand", &play_on_demand_info, 0);
}

View file

@ -173,6 +173,7 @@ gst_qtdemux_get_type (void)
NULL, NULL, sizeof (GstQTDemux), 0,
(GInstanceInitFunc) gst_qtdemux_init,
};
qtdemux_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstQTDemux", &qtdemux_info,
0);

View file

@ -74,6 +74,7 @@ gst_rtjpegdec_get_type (void)
0,
(GInstanceInitFunc) gst_rtjpegdec_init,
};
rtjpegdec_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstRTJpegDec",
&rtjpegdec_info, 0);

View file

@ -72,6 +72,7 @@ gst_rtjpegenc_get_type (void)
0,
(GInstanceInitFunc) gst_rtjpegenc_init,
};
rtjpegenc_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstRTJpegEnc",
&rtjpegenc_info, 0);

View file

@ -99,6 +99,7 @@ gst_smooth_get_type (void)
0,
(GInstanceInitFunc) gst_smooth_init,
};
smooth_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstSmooth", &smooth_info, 0);
}

View file

@ -80,6 +80,7 @@ gst_smoothwave_get_type (void)
0,
(GInstanceInitFunc) gst_smoothwave_init,
};
smoothwave_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstSmoothWave",
&smoothwave_info, 0);

View file

@ -140,6 +140,7 @@ gst_smpte_get_type (void)
0,
(GInstanceInitFunc) gst_smpte_init,
};
smpte_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstSMPTE", &smpte_info, 0);
}

View file

@ -82,6 +82,7 @@ gst_spectrum_get_type (void)
0,
(GInstanceInitFunc) gst_spectrum_init,
};
spectrum_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstSpectrum", &spectrum_info,
0);

View file

@ -157,6 +157,7 @@ gst_speed_get_type (void)
0,
(GInstanceInitFunc) speed_init,
};
speed_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstSpeed", &speed_info, 0);
}

View file

@ -81,6 +81,7 @@ gst_stereo_get_type (void)
0,
(GInstanceInitFunc) gst_stereo_init,
};
stereo_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstStereo", &stereo_info, 0);
}

View file

@ -115,6 +115,7 @@ gst_vbidec_caption_type_get_type (void)
{CAPTURE_T4, "9", "Closed Caption T4"},
{0, NULL, NULL},
};
if (!vbidec_caption_type_type) {
vbidec_caption_type_type =
g_enum_register_static ("GstVBIDecCaptionTypeType",
@ -155,6 +156,7 @@ gst_vbidec_get_type (void)
0,
(GInstanceInitFunc) gst_vbidec_init,
};
vbidec_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstVBIDec", &vbidec_info, 0);
}

View file

@ -135,6 +135,7 @@ gst_video_crop_get_type (void)
0,
(GInstanceInitFunc) gst_video_crop_init,
};
video_crop_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstVideoCrop",
&video_crop_info, 0);

View file

@ -92,6 +92,7 @@ gst_y4mencode_get_type (void)
0,
(GInstanceInitFunc) gst_y4mencode_init,
};
y4mencode_type = g_type_register_static (GST_TYPE_ELEMENT,
"GstY4mEncode", &y4mencode_info, 0);
}

View file

@ -143,6 +143,7 @@ dxr3audiosink_get_type (void)
0,
(GInstanceInitFunc) dxr3audiosink_init,
};
dxr3audiosink_type = g_type_register_static (GST_TYPE_ELEMENT,
"Dxr3AudioSink", &dxr3audiosink_info, 0);
}

View file

@ -122,6 +122,7 @@ dxr3spusink_get_type (void)
0,
(GInstanceInitFunc) dxr3spusink_init,
};
dxr3spusink_type = g_type_register_static (GST_TYPE_ELEMENT,
"Dxr3SpuSink", &dxr3spusink_info, 0);
}

View file

@ -146,6 +146,7 @@ dxr3videosink_get_type (void)
0,
(GInstanceInitFunc) dxr3videosink_init,
};
dxr3videosink_type = g_type_register_static (GST_TYPE_ELEMENT,
"Dxr3VideoSink", &dxr3videosink_info, 0);
}

View file

@ -189,6 +189,7 @@ GST_PAD_TEMPLATE_FACTORY (gst_glsink_sink_template_factory,
0,
(GInstanceInitFunc) gst_glsink_init,
};
videosink_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstGLSink", &videosink_info,
0);

View file

@ -42,6 +42,7 @@ GenerateRGBTables (unsigned char *Ytable, // Y-palette
+1.130469478f, -0.450515935f, -0.812967512f,
+1.130469478f, +1.958477882f, 0.0f
};
#define COMPRESS(a)(0.5f*(a)+128.0f) // counter-piece to EXPAND_NORMAL
#define fCOMPRESS(a) (0.5f*(a)+0.5f);
#define XCLAMP(a) ((a)<0.0f ? 0.0f : ((a)>255.0f ? 255.0f : (a))) // should not be necessary, but what do you know.

View file

@ -73,6 +73,7 @@ gst_autoexp_mode_get_type (void)
{AE_NONE, "3", "None"},
{0, NULL, NULL},
};
if (!autoexp_mode_type) {
autoexp_mode_type =
g_enum_register_static ("GstAutoExposureMode", autoexp_modes);
@ -140,6 +141,7 @@ gst_qcamsrc_get_type (void)
(GInstanceInitFunc) gst_qcamsrc_init,
NULL
};
qcamsrc_type =
g_type_register_static (GST_TYPE_ELEMENT, "GstQCamSrc", &qcamsrc_info,
0);

View file

@ -150,6 +150,7 @@ gst_v4l2src_get_type (void)
gst_v4l2src_init,
NULL
};
v4l2src_type = g_type_register_static (GST_TYPE_V4L2ELEMENT,
"GstV4l2Src", &v4l2src_info, 0);
GST_DEBUG_CATEGORY_INIT (v4l2src_debug, "v4l2src", 0, "v4l2src element");

View file

@ -97,6 +97,7 @@ vcdsrc_get_type (void)
0,
(GInstanceInitFunc) vcdsrc_init,
};
vcdsrc_type =
g_type_register_static (GST_TYPE_ELEMENT, "VCDSrc", &vcdsrc_info, 0);
}