blob: 83d54113fe2d3c14329855e6738bb47c1cc3d86a (
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
|
#ifndef MP4V2_UTIL_OTHER_H
#define MP4V2_UTIL_OTHER_H
///////////////////////////////////////////////////////////////////////////////
namespace mp4v2 { namespace util {
///////////////////////////////////////////////////////////////////////////////
struct MP4V2_EXPORT FileSummaryInfo {
typedef set<string> BrandSet;
// standard ftyp box attributes
string major_brand;
uint32_t minor_version;
BrandSet compatible_brands;
uint32_t nlargesize;
uint32_t nversion1;
uint32_t nspecial;
};
///////////////////////////////////////////////////////////////////////////////
///
/// Fetch mp4 file summary information.
///
/// This function fetches summary information for <b>file</b> and information
/// is stored in <b>info</b>.
///
/// @return On success <b>true</b>.
/// On failure <b>false</b>, and contents of <b>info</b> are undefined.
///
MP4V2_EXPORT
bool fileFetchSummaryInfo( MP4FileHandle file, FileSummaryInfo& info );
///////////////////////////////////////////////////////////////////////////////
}} // namespace mp4v2::util
#endif // MP4V2_UTIL_OTHER_H
|