expand tabs

Original commit message from CVS:
expand tabs
parent 04ad447f
2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
* docs/plugins/gst-plugins-bad-plugins-undocumented.txt:
* ext/audiofile/gstafparse.h:
* ext/audiofile/gstafsink.c: (gst_afsink_chain):
* ext/audiofile/gstafsink.h:
* ext/audiofile/gstafsrc.c: (gst_afsrc_close_file):
* ext/audiofile/gstafsrc.h:
* ext/cdaudio/gstcdaudio.c:
* ext/divx/gstdivxenc.c:
* ext/dts/gstdtsdec.h:
* ext/faac/gstfaac.h:
* ext/ivorbis/vorbisenc.h:
* ext/ivorbis/vorbisfile.c:
* ext/musepack/gstmusepackdec.h:
* ext/nas/nassink.c:
* ext/snapshot/gstsnapshot.c:
* ext/sndfile/gstsf.h:
* ext/tarkin/gsttarkindec.h:
* ext/tarkin/gsttarkinenc.h:
* ext/xine/gstxine.h:
* ext/xine/xinecaps.c:
* ext/xvid/gstxvid.h:
* gst-libs/gst/play/play.h:
* gst/apetag/apedemux.h:
* gst/cdxaparse/gstcdxaparse.h:
* gst/cdxaparse/gstcdxastrip.h:
* gst/colorspace/yuv2rgb.c:
* gst/colorspace/yuv2rgb.h:
* gst/equalizer/gstiirequalizer.c:
* gst/festival/gstfestival.h:
* gst/games/gstpuzzle.c:
* gst/games/gstvideoimage.c:
* gst/games/gstvideoimage.h:
* gst/modplug/gstmodplug.h:
* gst/modplug/libmodplug/it_defs.h:
* gst/modplug/libmodplug/modplug.h:
* gst/modplug/libmodplug/sndfile.h:
* gst/modplug/libmodplug/stdafx.h:
* gst/mpeg1sys/buffer.c:
* gst/mpeg1sys/gstmpeg1systemencode.h:
* gst/mpeg1sys/main.h:
* gst/mpeg1sys/systems.c:
* gst/mpeg1videoparse/gstmp1videoparse.h:
* gst/mpeg2sub/gstmpeg2subt.h:
* gst/mpegaudioparse/gstmpegaudioparse.c: (gst_mp3parse_chain):
* gst/mpegaudioparse/gstmpegaudioparse.h:
* gst/multifilesink/gstmultifilesink.h:
* gst/overlay/gstoverlay.h:
* gst/qtdemux/qtdemux.c:
* gst/qtdemux/qtdemux.h:
* gst/rtjpeg/RTjpeg.c: (RTjpeg_dctY), (RTjpeg_idct):
* gst/rtjpeg/RTjpeg.h:
* gst/tta/crc32.h:
* gst/tta/filters.h:
* gst/tta/ttadec.h:
* gst/videodrop/gstvideodrop.h:
* sys/cdrom/gstcdplayer.h:
* sys/cdrom/gstcdplayer_ioctl.c:
* sys/cdrom/gstcdplayer_ioctl.h:
* sys/cdrom/gstcdplayer_ioctl_bsd.h:
* sys/cdrom/gstcdplayer_ioctl_irix.h:
* sys/cdrom/gstcdplayer_ioctl_solaris.h:
* sys/dxr3/dxr3audiosink.c:
* sys/dxr3/dxr3audiosink.h:
* sys/dxr3/dxr3spusink.c:
* sys/dxr3/dxr3spusink.h:
* sys/dxr3/dxr3videosink.c:
* sys/dxr3/dxr3videosink.h:
* sys/qcam/dark.c:
* sys/qcam/gstqcamsrc.c:
* sys/v4l2/gstv4l2colorbalance.h:
* sys/v4l2/gstv4l2element.h:
* sys/v4l2/gstv4l2src.h:
* sys/v4l2/gstv4l2tuner.h:
* sys/v4l2/gstv4l2xoverlay.h:
* sys/v4l2/v4l2_calls.c:
* sys/v4l2/v4l2_calls.h:
* sys/v4l2/v4l2src_calls.c:
* sys/v4l2/v4l2src_calls.h:
* sys/vcd/vcdsrc.h:
expand tabs
=== release 0.10.0 ===
2005-12-05 <thomas (at) apestaart (dot) org>
......
50% symbol docs coverage.
1 symbols documented.
75% symbol docs coverage.
3 symbols documented.
0 symbols incomplete.
1 not documented.
GstDfbVideoSink
......@@ -27,7 +27,7 @@
#include <gst/gst.h>
#include <gst/bytestream/bytestream.h>
#include <audiofile.h> /* what else are we to do */
#include <audiofile.h> /* what else are we to do */
#include <af_vfs.h>
......@@ -56,7 +56,7 @@ typedef struct _GstAFParseClass GstAFParseClass;
typedef enum {
GST_AFPARSE_OPEN = (GST_ELEMENT_FLAG_LAST << 0),
GST_AFPARSE_FLAG_LAST = (GST_ELEMENT_FLAG_LAST << 2),
GST_AFPARSE_FLAG_LAST = (GST_ELEMENT_FLAG_LAST << 2),
} GstAFParseFlags;
struct _GstAFParse {
......@@ -71,9 +71,9 @@ struct _GstAFParse {
int width;
unsigned int rate;
gboolean is_signed;
int type; /* type of output, compare to audiofile.h
* RAW, AIFF, AIFFC, NEXTSND, WAVE
*/
int type; /* type of output, compare to audiofile.h
* RAW, AIFF, AIFFC, NEXTSND, WAVE
*/
/* blocking */
gulong curoffset;
gulong bytes_per_read;
......@@ -82,7 +82,7 @@ struct _GstAFParse {
gulong seq;
gint64 timestamp;
/* FIXME : endianness is a little cryptic at this point */
int endianness_data; /* 4321 or 1234 */
int endianness_data; /* 4321 or 1234 */
int endianness_wanted; /* same thing, but what the output format wants */
int endianness_output; /* what the output endianness will be */
};
......@@ -94,7 +94,7 @@ struct _GstAFParseClass {
void (*handoff) (GstElement *element,GstPad *pad);
};
gboolean gst_afparse_plugin_init (GstPlugin *plugin);
gboolean gst_afparse_plugin_init (GstPlugin *plugin);
#ifdef __cplusplus
}
......
......@@ -399,7 +399,7 @@ gst_afsink_chain (GstPad * pad, GstData * _data)
if (bytes_written < GST_BUFFER_SIZE (buf))
{
printf ("afsink : Warning : %d bytes should be written, only %d bytes written\n",
GST_BUFFER_SIZE (buf), bytes_written);
GST_BUFFER_SIZE (buf), bytes_written);
}
}
*/
......
......@@ -26,7 +26,7 @@
#include <gst/gst.h>
#include <audiofile.h> /* what else are we to do */
#include <audiofile.h> /* what else are we to do */
#ifdef __cplusplus
......@@ -54,7 +54,7 @@ typedef struct _GstAFSinkClass GstAFSinkClass;
typedef enum {
GST_AFSINK_OPEN = (GST_ELEMENT_FLAG_LAST << 0),
GST_AFSINK_FLAG_LAST = (GST_ELEMENT_FLAG_LAST << 2),
GST_AFSINK_FLAG_LAST = (GST_ELEMENT_FLAG_LAST << 2),
} GstAFSinkFlags;
struct _GstAFSink {
......@@ -71,11 +71,11 @@ struct _GstAFSink {
int width;
unsigned int rate;
gboolean is_signed;
int type; /* type of output, compare to audiofile.h
* RAW, AIFF, AIFFC, NEXTSND, WAVE
*/
int type; /* type of output, compare to audiofile.h
* RAW, AIFF, AIFFC, NEXTSND, WAVE
*/
/* FIXME : endianness is a little cryptic at this point */
int endianness_data; /* 4321 or 1234 */
int endianness_data; /* 4321 or 1234 */
int endianness_wanted; /* same thing, but what the output format wants */
int endianness_output; /* what the output endianness will be */
};
......@@ -87,8 +87,8 @@ struct _GstAFSinkClass {
void (*handoff) (GstElement *element,GstPad *pad);
};
GType gst_afsink_get_type (void);
gboolean gst_afsink_plugin_init (GstPlugin *plugin);
GType gst_afsink_get_type (void);
gboolean gst_afsink_plugin_init (GstPlugin *plugin);
......
......@@ -364,7 +364,7 @@ gst_afsrc_close_file (GstAFSrc * src)
/* g_print ("DEBUG: closing srcfile...\n"); */
g_return_if_fail (GST_OBJECT_FLAG_IS_SET (src, GST_AFSRC_OPEN));
/* g_print ("DEBUG: past flag test\n"); */
/* if (fclose (src->file) != 0) */
/* if (fclose (src->file) != 0) */
if (afCloseFile (src->file) != 0) {
GST_ELEMENT_ERROR (src, RESOURCE, CLOSE,
(_("Error closing file \"%s\"."), src->filename), GST_ERROR_SYSTEM);
......
......@@ -26,7 +26,7 @@
#include <gst/gst.h>
#include <audiofile.h> /* what else are we to do */
#include <audiofile.h> /* what else are we to do */
#ifdef __cplusplus
......@@ -54,7 +54,7 @@ typedef struct _GstAFSrcClass GstAFSrcClass;
typedef enum {
GST_AFSRC_OPEN = (GST_ELEMENT_FLAG_LAST << 0),
GST_AFSRC_FLAG_LAST = (GST_ELEMENT_FLAG_LAST << 2),
GST_AFSRC_FLAG_LAST = (GST_ELEMENT_FLAG_LAST << 2),
} GstAFSrcFlags;
struct _GstAFSrc {
......@@ -71,9 +71,9 @@ struct _GstAFSrc {
int width;
unsigned int rate;
gboolean is_signed;
int type; /* type of output, compare to audiofile.h
* RAW, AIFF, AIFFC, NEXTSND, WAVE
*/
int type; /* type of output, compare to audiofile.h
* RAW, AIFF, AIFFC, NEXTSND, WAVE
*/
/* blocking */
gulong curoffset;
gulong bytes_per_read;
......@@ -81,7 +81,7 @@ struct _GstAFSrc {
gulong seq;
guint64 framestamp;
/* FIXME : endianness is a little cryptic at this point */
int endianness_data; /* 4321 or 1234 */
int endianness_data; /* 4321 or 1234 */
int endianness_wanted; /* same thing, but what the output format wants */
int endianness_output; /* what the output endianness will be */
};
......@@ -93,7 +93,7 @@ struct _GstAFSrcClass {
void (*handoff) (GstElement *element,GstPad *pad);
};
GType gst_afsrc_get_type (void);
GType gst_afsrc_get_type (void);
gboolean gst_afsrc_plugin_init (GstPlugin *plugin);
......
......@@ -25,11 +25,11 @@
#include <gst/gst.h>
#define GST_TYPE_CDAUDIO (gst_cdaudio_get_type())
#define GST_CDAUDIO(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_CDAUDIO,GstCDAudio))
#define GST_CDAUDIO_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_CDAUDIO,GstCDAudioClass))
#define GST_IS_CDAUDIO(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_CDAUDIO))
#define GST_IS_CDAUDIO_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_CDAUDIO))
#define GST_TYPE_CDAUDIO (gst_cdaudio_get_type())
#define GST_CDAUDIO(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_CDAUDIO,GstCDAudio))
#define GST_CDAUDIO_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_CDAUDIO,GstCDAudioClass))
#define GST_IS_CDAUDIO(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_CDAUDIO))
#define GST_IS_CDAUDIO_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_CDAUDIO))
typedef struct _GstCDAudio GstCDAudio;
typedef struct _GstCDAudioClass GstCDAudioClass;
......
......@@ -366,14 +366,14 @@ gst_divxenc_chain (GstPad * pad, GstData * _data)
case GST_MAKE_FOURCC ('R', 'G', 'B', ' '):
gst_caps_get_int (caps, "depth", &d);
switch (d) {
case 24:
divx_cs = 0;
bitcnt = 24;
break;
case 32:
divx_cs = 0;
bitcnt = 32;
break;
case 24:
divx_cs = 0;
bitcnt = 24;
break;
case 32:
divx_cs = 0;
bitcnt = 32;
break;
*/
static GstPadLinkReturn
......
......@@ -41,31 +41,31 @@ typedef struct _GstDtsDec GstDtsDec;
typedef struct _GstDtsDecClass GstDtsDecClass;
struct _GstDtsDec {
GstElement element;
GstElement element;
/* pads */
GstPad *sinkpad,
*srcpad;
GstPad *sinkpad,
*srcpad;
/* stream properties */
gint bit_rate;
gint sample_rate;
gint stream_channels;
gint request_channels;
gint using_channels;
gint bit_rate;
gint sample_rate;
gint stream_channels;
gint request_channels;
gint using_channels;
/* decoding properties */
sample_t level;
sample_t bias;
gboolean dynamic_range_compression;
sample_t *samples;
dts_state_t *state;
sample_t level;
sample_t bias;
gboolean dynamic_range_compression;
sample_t *samples;
dts_state_t *state;
/* Data left over from the previous buffer */
GstBuffer *cache;
GstBuffer *cache;
/* keep track of time */
GstClockTime current_ts;
GstClockTime current_ts;
};
struct _GstDtsDecClass {
......
......@@ -52,9 +52,9 @@ typedef struct _GstFaac {
shortctl,
outputformat;
gboolean tns,
midside;
midside;
gulong bytes,
samples;
samples;
/* FAAC object */
faacEncHandle handle;
......
......@@ -45,18 +45,18 @@ typedef struct _VorbisEnc VorbisEnc;
typedef struct _VorbisEncClass VorbisEncClass;
struct _VorbisEnc {
GstElement element;
GstElement element;
GstPad *sinkpad,
*srcpad;
ogg_stream_state os; /* take physical pages, weld into a logical
stream of packets */
stream of packets */
ogg_page og; /* one Ogg bitstream page. Vorbis packets are inside */
ogg_packet op; /* one raw packet of data for decode */
vorbis_info vi; /* struct that stores all the static vorbis bitstream
settings */
settings */
vorbis_comment vc; /* struct that stores all the user comments */
vorbis_dsp_state vd; /* central working state for the packet->PCM decoder */
......@@ -69,20 +69,20 @@ struct _VorbisEnc {
gint min_bitrate;
gint max_bitrate;
gfloat quality;
gboolean quality_set;
gboolean quality_set;
gint serial;
gint channels;
gint frequency;
guint64 samples_in;
guint64 bytes_out;
guint64 samples_in;
guint64 bytes_out;
GstCaps *metadata;
gboolean setup;
gboolean flush_header;
gchar *last_message;
gchar *last_message;
};
struct _VorbisEncClass {
......
......@@ -31,15 +31,15 @@
GST_DEBUG_CATEGORY_STATIC (ivorbisfile_debug);
#define GST_CAT_DEFAULT ivorbisfile_debug
#define GST_TYPE_IVORBISFILE \
#define GST_TYPE_IVORBISFILE \
(ivorbisfile_get_type())
#define GST_IVORBISFILE(obj) \
#define GST_IVORBISFILE(obj) \
(G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_IVORBISFILE,Ivorbisfile))
#define GST_IVORBISFILE_CLASS(klass) \
#define GST_IVORBISFILE_CLASS(klass) \
(G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_IVORBISFILE,IvorbisfileClass))
#define GST_IS_IVORBISFILE(obj) \
#define GST_IS_IVORBISFILE(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_IVORBISFILE))
#define GST_IS_IVORBISFILE_CLASS(obj) \
#define GST_IS_IVORBISFILE_CLASS(obj) \
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_IVORBISFILE))
typedef struct _Ivorbisfile Ivorbisfile;
......
......@@ -71,8 +71,8 @@ typedef struct _GstMusepackDecClass {
GType gst_musepackdec_get_type (void);
extern gboolean gst_musepackdec_src_convert (GstPad * pad,
GstFormat src_format,
gint64 src_value, GstFormat * dest_format, gint64 * dest_value);
GstFormat src_format,
gint64 src_value, GstFormat * dest_format, gint64 * dest_value);
G_END_DECLS
......
......@@ -30,7 +30,7 @@
#include <audio/soundlib.h>
#include "nassink.h"
#define NAS_SOUND_PORT_DURATION (2)
#define NAS_SOUND_PORT_DURATION (2)
GST_DEBUG_CATEGORY (NAS);
/* Signals and args */
......
......@@ -26,7 +26,7 @@
#include "gstsnapshot.h"
#include <gst/video/video.h>
#define MAX_HEIGHT 2048
#define MAX_HEIGHT 2048
/* elementfactory information */
static GstElementDetails snapshot_details = {
......
......@@ -66,8 +66,8 @@ typedef struct _GstSF GstSF;
typedef struct _GstSFClass GstSFClass;
typedef enum {
GST_SF_OPEN = (GST_ELEMENT_FLAG_LAST << 0),
GST_SF_FLAG_LAST = (GST_ELEMENT_FLAG_LAST << 2),
GST_SF_OPEN = (GST_ELEMENT_FLAG_LAST << 0),
GST_SF_FLAG_LAST = (GST_ELEMENT_FLAG_LAST << 2),
} GstSFlags;
typedef struct {
......@@ -106,9 +106,9 @@ struct _GstSFClass {
GstElementClass parent_class;
};
GType gst_sf_get_type (void);
GType gst_sfsrc_get_type (void);
GType gst_sfsink_get_type (void);
GType gst_sf_get_type (void);
GType gst_sfsrc_get_type (void);
GType gst_sfsink_get_type (void);
G_END_DECLS
......
......@@ -49,18 +49,18 @@ struct _TarkinDec {
GstPad *sinkpad,*srcpad;
ogg_sync_state oy;
ogg_stream_state os;
ogg_page og;
ogg_packet op;
TarkinStream *tarkin_stream;
TarkinComment tc;
TarkinInfo ti;
TarkinVideoLayerDesc layer[1];
gint frame_num;
gint nheader;
ogg_sync_state oy;
ogg_stream_state os;
ogg_page og;
ogg_packet op;
TarkinStream *tarkin_stream;
TarkinComment tc;
TarkinInfo ti;
TarkinVideoLayerDesc layer[1];
gint frame_num;
gint nheader;
gboolean eos;
gint bitrate;
......
......@@ -49,17 +49,17 @@ struct _TarkinEnc {
GstPad *sinkpad,*srcpad;
ogg_stream_state os; /* take physical pages, weld into a logical
stream of packets */
ogg_page og; /* one Ogg bitstream page. Tarkin packets are inside */
ogg_packet op[3]; /* one raw packet of data for decode */
ogg_stream_state os; /* take physical pages, weld into a logical
stream of packets */
ogg_page og; /* one Ogg bitstream page. Tarkin packets are inside */
ogg_packet op[3]; /* one raw packet of data for decode */
TarkinStream *tarkin_stream;
TarkinComment tc;
TarkinInfo ti;
TarkinVideoLayerDesc layer[1];
TarkinStream *tarkin_stream;
TarkinComment tc;
TarkinInfo ti;
TarkinVideoLayerDesc layer[1];
gint frame_num;
gint frame_num;
gboolean eos;
gint bitrate;
......
......@@ -44,40 +44,40 @@ typedef struct _GstXineClass GstXineClass;
struct _GstXine
{
GstElement element;
GstElement element;
xine_stream_t * stream;
xine_ao_driver_t * audio_driver;
xine_vo_driver_t * video_driver;
xine_stream_t * stream;
xine_ao_driver_t * audio_driver;
xine_vo_driver_t * video_driver;
};
struct _GstXineClass
{
GstElementClass parent_class;
GstElementClass parent_class;
xine_t * xine;
xine_t * xine;
xine_ao_driver_t * (* create_audio_driver) (GstXine * xine);
xine_vo_driver_t * (* create_video_driver) (GstXine * xine);
xine_ao_driver_t * (* create_audio_driver) (GstXine * xine);
xine_vo_driver_t * (* create_video_driver) (GstXine * xine);
};
GType gst_xine_get_type (void);
GType gst_xine_get_type (void);
xine_stream_t * gst_xine_get_stream (GstXine *xine);
void gst_xine_free_stream (GstXine *xine);
xine_stream_t * gst_xine_get_stream (GstXine *xine);
void gst_xine_free_stream (GstXine *xine);
void gst_buffer_to_xine_buffer (buf_element_t *element, GstBuffer *buffer);
void gst_buffer_to_xine_buffer (buf_element_t *element, GstBuffer *buffer);
/* conversion functions from xinecaps.c */
const gchar * gst_xine_get_caps_for_format (guint32 format);
guint32 gst_xine_get_format_for_caps (const GstCaps *caps);
const gchar * gst_xine_get_caps_for_format (guint32 format);
guint32 gst_xine_get_format_for_caps (const GstCaps *caps);
/* init functions for the plugins */
gboolean gst_xine_audio_sink_init_plugin (GstPlugin *plugin);
gboolean gst_xine_audio_dec_init_plugin (GstPlugin *plugin);
gboolean gst_xine_input_init_plugin (GstPlugin *plugin);
gboolean gst_xine_audio_sink_init_plugin (GstPlugin *plugin);
gboolean gst_xine_audio_dec_init_plugin (GstPlugin *plugin);
gboolean gst_xine_input_init_plugin (GstPlugin *plugin);
G_END_DECLS
......
......@@ -29,56 +29,56 @@ typedef struct
static GstXineCapsMap _gst_xine_caps_map[] = {
{BUF_AUDIO_QDESIGN2, "audio/x-qdm2"},
/* FIXME:
#define BUF_AUDIO_A52 0x03000000
#define BUF_AUDIO_MPEG 0x03010000
#define BUF_AUDIO_LPCM_BE 0x03020000
#define BUF_AUDIO_LPCM_LE 0x03030000
#define BUF_AUDIO_WMAV1 0x03040000
#define BUF_AUDIO_DTS 0x03050000
#define BUF_AUDIO_MSADPCM 0x03060000
#define BUF_AUDIO_MSIMAADPCM 0x03070000
#define BUF_AUDIO_MSGSM 0x03080000
#define BUF_AUDIO_A52 0x03000000
#define BUF_AUDIO_MPEG 0x03010000
#define BUF_AUDIO_LPCM_BE 0x03020000
#define BUF_AUDIO_LPCM_LE 0x03030000
#define BUF_AUDIO_WMAV1 0x03040000
#define BUF_AUDIO_DTS 0x03050000
#define BUF_AUDIO_MSADPCM 0x03060000
#define BUF_AUDIO_MSIMAADPCM 0x03070000
#define BUF_AUDIO_MSGSM 0x03080000
#define BUF_AUDIO_VORBIS 0x03090000
#define BUF_AUDIO_IMC 0x030a0000
#define BUF_AUDIO_LH 0x030b0000
#define BUF_AUDIO_VOXWARE 0x030c0000
#define BUF_AUDIO_ACELPNET 0x030d0000
#define BUF_AUDIO_AAC 0x030e0000
#define BUF_AUDIO_DNET 0x030f0000
#define BUF_AUDIO_DNET 0x030f0000
#define BUF_AUDIO_VIVOG723 0x03100000
#define BUF_AUDIO_DK3ADPCM 0x03110000
#define BUF_AUDIO_DK4ADPCM 0x03120000
#define BUF_AUDIO_ROQ 0x03130000