summaryrefslogtreecommitdiffstats
path: root/core/Mpeg2Decoder.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/Mpeg2Decoder.h')
-rw-r--r--core/Mpeg2Decoder.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/core/Mpeg2Decoder.h b/core/Mpeg2Decoder.h
new file mode 100644
index 000000000..2e1a46b3d
--- /dev/null
+++ b/core/Mpeg2Decoder.h
@@ -0,0 +1,34 @@
+/* $Id: Mpeg2Decoder.h,v 1.10 2003/09/30 14:38:15 titer Exp $
+
+ This file is part of the HandBrake source code.
+ Homepage: <http://beos.titer.org/handbrake/>.
+ It may be used under the terms of the GNU General Public License. */
+
+#ifndef HB_MPEG2_DECODER_H
+#define HB_MPEG2_DECODER_H
+
+#include "Common.h"
+#include "Thread.h"
+
+class HBMpeg2Decoder : public HBThread
+{
+ public:
+ HBMpeg2Decoder( HBManager * manager,
+ HBTitle * title );
+
+ private:
+ void DoWork();
+ void Init();
+ void Close();
+ void DecodeBuffer();
+
+ HBManager * fManager;
+ HBTitle * fTitle;
+
+ uint32_t fPass;
+ HBBuffer * fMpeg2Buffer;
+ mpeg2dec_t * fHandle;
+ bool fLateField;
+};
+
+#endif