Debian Codegraph @

mednafen/cdrom/CDAccess_Image.h

raw symbols SCIP
1 #cxx . . $ `<file>/mednafen/cdrom/CDAccess_Image.h`/ifndef __MDFN_CDACCESS_IMAGE_H
2 #define __MDFN_CDACCESS_IMAGE_Hcxx . . $ `mednafen/cdrom/CDAccess_Image.h:2:9`!
3
4 #include <map>
5
6 class Streamcxx . . $ Stream#;
7 class AudioReadercxx . . $ AudioReader#;
8
9 struct CDRFILE_TRACK_INFOcxx . . $ CDRFILE_TRACK_INFO#
10 {
11 int32cxx . . $ int32# LBAcxx . . $ CDRFILE_TRACK_INFO#LBA.;
12
13 uint32cxx . . $ uint32# DIFormatcxx . . $ CDRFILE_TRACK_INFO#DIFormat.;
14 uint8cxx . . $ uint8# subq_controlcxx . . $ CDRFILE_TRACK_INFO#subq_control.;
15
16 int32cxx . . $ int32# pregapcxx . . $ CDRFILE_TRACK_INFO#pregap.;
17 int32cxx . . $ int32# pregap_dvcxx . . $ CDRFILE_TRACK_INFO#pregap_dv.;
18
19 int32cxx . . $ int32# postgapcxx . . $ CDRFILE_TRACK_INFO#postgap.;
20
21 int32cxx . . $ int32# indexcxx . . $ CDRFILE_TRACK_INFO#index.[2];
22
23 int32cxx . . $ int32# sectorscxx . . $ CDRFILE_TRACK_INFO#sectors.; // Not including pregap sectors!
24 Streamcxx . . $ Stream# *fpcxx . . $ CDRFILE_TRACK_INFO#fp.;
25 bool FirstFileInstancecxx . . $ CDRFILE_TRACK_INFO#FirstFileInstance.;
26 bool RawAudioMSBFirstcxx . . $ CDRFILE_TRACK_INFO#RawAudioMSBFirst.;
27 long FileOffsetcxx . . $ CDRFILE_TRACK_INFO#FileOffset.;
28 unsigned int SubchannelModecxx . . $ CDRFILE_TRACK_INFO#SubchannelMode.;
29
30 uint32cxx . . $ uint32# LastSamplePoscxx . . $ CDRFILE_TRACK_INFO#LastSamplePos.;
31
32 AudioReadercxx . . $ AudioReader# *AReadercxx . . $ CDRFILE_TRACK_INFO#AReader.;
33 };
34 #if 0
35 struct Medium_Chunk
36 {
37 int64 Offset; // Offset in [..TODO..]
38 uint32 DIFormat;
39
40 FILE *fp;
41 bool FirstFileInstance;
42 bool RawAudioMSBFirst;
43 unsigned int SubchannelMode;
44
45 uint32 LastSamplePos;
46 AudioReader *AReader;
47 };
48
49 struct CD_Chunk
50 {
51 int32 LBA;
52 int32 Track;
53 int32 Index;
54 bool DataType;
55
56 Medium_Chunk Medium;
57 };
58
59 static std::vector<CD_Chunk> Chunks;
60 #endif
61
62 class CDAccess_Imagecxx . . $ CDAccess_Image# : public CDAccesscxx . . $ CDAccess#
63 {
64 public:
65
66 CDAccess_Imagecxx . . $ CDAccess_Image#CDAccess_Image(90ef5b561fbcb8de).(const char *path, bool image_memcache);
67 virtual ~cxx . . $ CDAccess_Image#`~CDAccess_Image`(ced63f7c635d850d).CDAccess_Imagecxx . . $ CDAccess_Image#();
68
69 virtual void Read_Raw_Sectorcxx . . $ CDAccess_Image#Read_Raw_Sector(fc0f0e1646c32816).(uint8cxx . . $ uint8# *buf, int32cxx . . $ int32# lba);
70
71 virtual void Read_TOCcxx . . $ CDAccess_Image#Read_TOC(421bcafe44c737e9).(CDUtilitycxx . . $ CDUtility/::TOCcxx . . $ CDUtility/TOC# *toc);
72
73 virtual bool Is_Physicalcxx . . $ CDAccess_Image#Is_Physical(77ce49a7840d23c7).(void) throw();
74
75 virtual void Ejectcxx . . $ CDAccess_Image#Eject(b45ddcbc8423892c).(bool eject_status);
76 private:
77
78 int32cxx . . $ int32# NumTrackscxx . . $ CDAccess_Image#NumTracks.;
79 int32cxx . . $ int32# FirstTrackcxx . . $ CDAccess_Image#FirstTrack.;
80 int32cxx . . $ int32# LastTrackcxx . . $ CDAccess_Image#LastTrack.;
81 int32cxx . . $ int32# total_sectorscxx . . $ CDAccess_Image#total_sectors.;
82 uint8cxx . . $ uint8# disc_typecxx . . $ CDAccess_Image#disc_type.;
83 CDRFILE_TRACK_INFOcxx . . $ CDRFILE_TRACK_INFO# Trackscxx . . $ CDAccess_Image#Tracks.[100]; // Track #0(HMM?) through 99
84
85 stdcxx . . $ std/::stringcxx . . $ std/string# base_dircxx . . $ CDAccess_Image#base_dir.;
86
87 void ImageOpencxx . . $ CDAccess_Image#ImageOpen(90ef5b561fbcb8de).(const char *path, bool image_memcache);
88 void Cleanupcxx . . $ CDAccess_Image#Cleanup(49f6e7a06ebc5aa8).(void);
89
90 // MakeSubPQ will OR the simulated P and Q subchannel data into SubPWBuf.
91 void MakeSubPQcxx . . $ CDAccess_Image#MakeSubPQ(ea2b65c19bfee284).(int32cxx . . $ int32# lba, uint8cxx . . $ uint8# *SubPWBuf);
92
93 void ParseTOCFileLineInfocxx . . $ CDAccess_Image#ParseTOCFileLineInfo(82b4f02c231226d2).(CDRFILE_TRACK_INFOcxx . . $ CDRFILE_TRACK_INFO# *track, const int tracknum, const stdcxx . . $ std/::stringcxx . . $ std/string# &filename, const char *binoffset, const char *msfoffset, const char *length, bool image_memcache, stdcxx . . $ std/::mapcxx . . $ std/map#<stdcxx . . $ std/::stringcxx . . $ std/string#, Streamcxx . . $ Stream#*> &toc_streamcache);
94 uint32cxx . . $ uint32# GetSectorCountcxx . . $ CDAccess_Image#GetSectorCount(50c3ffd73eb40cc1).(CDRFILE_TRACK_INFOcxx . . $ CDRFILE_TRACK_INFO# *track);
95 };
96
97
98 #endif