blob: f6d4a4568d77e54b2a4f4b3f9bd3f4d9e4c1223a (
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
|
/* $Id: Resizer.h,v 1.5 2003/10/07 22:48:31 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_RESIZER_H
#define HB_RESIZER_H
#include "Common.h"
class HBResizer
{
public:
HBResizer( HBManager * manager, HBTitle * title );
~HBResizer();
bool Work();
private:
bool Lock();
void Unlock();
HBManager * fManager;
HBTitle * fTitle;
HBLock * fLock;
bool fUsed;
ImgReSampleContext * fResampleContext;
HBBuffer * fRawBuffer;
HBBuffer * fDeinterlacedBuffer;
HBBuffer * fResizedBuffer;
AVPicture * fRawPicture;
AVPicture * fDeinterlacedPicture;
AVPicture * fResizedPicture;
};
#endif
|