summaryrefslogtreecommitdiffstats
path: root/core/Scanner.h
blob: dbdb587c404b16967aea1d6b0ceb405044cc9436 (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
/* $Id: Scanner.h,v 1.5 2003/09/30 21:21:32 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_SCANNER_H
#define HB_SCANNER_H

#include "Common.h"
#include "Thread.h"

class HBScanner : public HBThread
{
    public:
                    HBScanner( HBManager * manager, char * device );

    private:
        void        DoWork();
        bool        ScanTitle( HBTitle * title, dvdplay_ptr vmg );
        bool        DecodeFrame( HBTitle * title, dvdplay_ptr vmg, int i );

        HBManager * fManager;
        char      * fDevice;
};

#endif