summaryrefslogtreecommitdiffstats
path: root/ext/dts/gstdtsdec.h
diff options
context:
space:
mode:
authorEdgard Lima <edgard.lima@indt.org.br>2005-12-14 20:54:06 +0000
committerEdgard Lima <edgard.lima@indt.org.br>2005-12-14 20:54:06 +0000
commit03fa6ba8b1f88536ac49265c2b373392e633ca14 (patch)
tree106eaefc0502d3b7f64d5b5a7d8084b79737af20 /ext/dts/gstdtsdec.h
parent6435014c2605e1e22d22fb58f135347bc13e412a (diff)
downloadgst-plugins-bad-03fa6ba8b1f88536ac49265c2b373392e633ca14.tar.gz
gst-plugins-bad-03fa6ba8b1f88536ac49265c2b373392e633ca14.tar.bz2
gst-plugins-bad-03fa6ba8b1f88536ac49265c2b373392e633ca14.zip
dtsdec ported to 0.10
Original commit message from CVS: dtsdec ported to 0.10
Diffstat (limited to 'ext/dts/gstdtsdec.h')
-rw-r--r--ext/dts/gstdtsdec.h35
1 files changed, 19 insertions, 16 deletions
diff --git a/ext/dts/gstdtsdec.h b/ext/dts/gstdtsdec.h
index 6da751ed..48283b05 100644
--- a/ext/dts/gstdtsdec.h
+++ b/ext/dts/gstdtsdec.h
@@ -22,7 +22,6 @@
#define __GST_DTSDEC_H__
#include <gst/gst.h>
-#include <gst/bytestream/bytestream.h>
G_BEGIN_DECLS
@@ -41,37 +40,41 @@ 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 {
GstElementClass parent_class;
+
+ guint32 dts_cpuflags;
};
+GType gst_dtsdec_get_type(void);
+
G_END_DECLS
#endif /* __GST_DTSDEC_H__ */