]> git.vomp.tv Git - vompclient-marten.git/blob - mtdmvp.h
Fix bug in demuxer widescreen signaling
[vompclient-marten.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., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, 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 "mtd.h"
47
48 class MtdMVP : public Mtd
49 {
50   public:
51     MtdMVP();
52     ~MtdMVP();
53
54     int init();
55     int shutdown();
56
57     short getPALorNTSC();
58
59     /*
60     short getAspect();
61     short getFlicker();
62     short getBootLogoOutput();
63     short getBootLogoDisplayVideoLeft();
64     short getBootLogoDisplayVideoUpper();
65     short getBootLogoDisplayVideoWidth();
66     short getBootLogoDisplayVideoHeight();
67
68     void logit();
69     */
70
71   private:
72     int initted;
73
74     short data[4096];
75 };
76
77 #endif