blob: 2e1a46b3dd19071b7877fde78ec6e5ec7bd2c751 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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
|