summaryrefslogtreecommitdiff
path: root/client/player.h
diff options
context:
space:
mode:
Diffstat (limited to 'client/player.h')
-rw-r--r--client/player.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/client/player.h b/client/player.h
index 59e1f70..d3db533 100644
--- a/client/player.h
+++ b/client/player.h
@@ -30,23 +30,38 @@
#include <QTimer>
#include "videowidget.h"
+#include "decoder.h"
+
+#include "dv1394.h"
#include <X11/Xlib.h>
#include <X11/extensions/Xvlib.h>
+// Use libdv
+#include <libdv/dv.h>
+#include <libdv/dv_types.h>
+
#include "xvaccelrenderer.h"
class Player : public QTimer
{
Q_OBJECT
public:
- Player(VideoWidget *widget);
+ Player(VideoWidget *widget, Decoder *decoder);
~Player();
public slots:
void show_frame();
private:
+ // dv1394 reader;
+
+ int pitches[3];
+ unsigned char* yuv[3];
+
+ dv_decoder_t *dvdecoder;
+
+ Decoder *decoder;
VideoWidget *widget;
XvAccelRender render;