blob: d798faaa4256850d11debf0966727ec788ca8d78 (
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
/* Copyright (c) MediaArea.net SARL. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license that can
* be found in the License.html file in the root of the source tree.
*/
//---------------------------------------------------------------------------
#ifndef File__ReferenceFilesHelper_CommonH
#define File__ReferenceFilesHelper_CommonH
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
namespace MediaInfoLib
{
class File__ReferenceFilesHelper;
class File__Analyze;
class MediaInfo_Config_MediaInfo;
//***************************************************************************
// Class resource
//***************************************************************************
class rfh_common
{
public:
#if MEDIAINFO_DEMUX
rfh_common(bool* Demux_Interleave_p, int64u* DTS_Minimal):
#else //MEDIAINFO_DEMUX
rfh_common():
#endif //MEDIAINFO_DEMUX
MI(NULL),
Config(NULL),
FileSize((int64u)-1),
HasMultipleSequences(false),
HasMainFile(false),
HasMainFile_Filled(false),
ContainerHasNoId(false)
#if MEDIAINFO_DEMUX
,
Demux_Interleave(Demux_Interleave_p),
DTS_Minimal(DTS_Minimal)
#endif //MEDIAINFO_DEMUX
{
}
//Data
File__ReferenceFilesHelper* ReferenceFilesHelper;
File__Analyze* MI;
MediaInfo_Config_MediaInfo* Config;
int64u FileSize;
bool HasMultipleSequences;
bool HasMainFile;
bool HasMainFile_Filled;
bool ContainerHasNoId;
#if MEDIAINFO_DEMUX
const bool Demux_Interleave_Get() {return *Demux_Interleave;}
void Demux_Interleave_Set(bool Demux_Interleave_n) {*Demux_Interleave=Demux_Interleave_n;}
const int64u DTS_Minimal_Get() {return *DTS_Minimal;}
void DTS_Minimal_Set(size_t DTS_Minimal_n) {*DTS_Minimal=DTS_Minimal_n;}
#endif //MEDIAINFO_DEMUX
private:
#if MEDIAINFO_DEMUX
bool* Demux_Interleave;
int64u* DTS_Minimal;
#endif //MEDIAINFO_DEMUX
};
} //NameSpace
#endif
|