blob: 6e20509a29ad7d9262471e5343f012922feebfe0 (
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
35
36
37
38
39
40
|
/* $Id: Mpeg2Decoder.h,v 1.16 2003/10/14 14:35:20 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"
class HBMpeg2Decoder
{
public:
HBMpeg2Decoder( HBManager * manager,
HBTitle * title );
bool Work();
private:
bool Lock();
void Unlock();
void Init();
void DecodeBuffer();
HBManager * fManager;
HBTitle * fTitle;
HBLock * fLock;
bool fUsed;
uint32_t fPass;
HBBuffer * fMpeg2Buffer;
HBBuffer * fRawBuffer;
HBList * fRawBufferList;
mpeg2dec_t * fHandle;
bool fLateField;
};
#endif
|