]> git.vomp.tv Git - vompclient.git/blob - mtdmvp.h
Prebuffering
[vompclient.git] / mtdmvp.h
1 /*
2     Copyright 2004-2005 Chris Tallon
3
4     This file is part of VOMP.
5
6     VOMP is free software; you can redistribute it and/or modify
7     it under the terms of the GNU General Public License as published by
8     the Free Software Foundation; either version 2 of the License, or
9     (at your option) any later version.
10
11     VOMP is distributed in the hope that it will be useful,
12     but WITHOUT ANY WARRANTY; without even the implied warranty of
13     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14     GNU General Public License for more details.
15
16     You should have received a copy of the GNU General Public License
17     along with VOMP; if not, write to the Free Software
18     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19 */
20
21 // Information for this class taken from the mvpmc project - thanks
22
23 /*
24  discussion on short positions:
25  http://www.shspvr.com/smf/index.php?topic=3765.30
26
27 It says:
28 1 = NTSC/composite
29 2 = PAL/Scart
30 3 = PAL/Composite
31
32 But with PAL/Scart/RGB I get a value of 1
33
34 So, am assuming:
35 0 = NTSC / composite
36 1 = PAL / scart rgb
37 2 = PAL / scart composite
38 */
39
40 #ifndef MTDMVP_H
41 #define MTDMVP_H
42
43 #include <unistd.h>
44 #include <fcntl.h>
45
46 #include "log.h"
47 #include "mtd.h"
48
49 class MtdMVP : public Mtd
50 {
51   public:
52     MtdMVP();
53     ~MtdMVP();
54
55     int init(char* device);
56     int shutdown();
57
58     short getPALorNTSC();
59
60     /*
61     short getAspect();
62     short getFlicker();
63     short getBootLogoOutput();
64     short getBootLogoDisplayVideoLeft();
65     short getBootLogoDisplayVideoUpper();
66     short getBootLogoDisplayVideoWidth();
67     short getBootLogoDisplayVideoHeight();
68
69     void logit();
70     */
71
72   private:
73     int initted;
74
75     short data[4096];
76 };
77
78 #endif