blob: 0ab35e6f652e266b93aa0b6c20e745faaeec3fee (
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
|
/* 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.
*/
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//
// Information about Dolby E files
//
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//---------------------------------------------------------------------------
#ifndef MediaInfo_File_DolbyEH
#define MediaInfo_File_DolbyEH
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
#include "MediaInfo/File__Analyze.h"
//---------------------------------------------------------------------------
namespace MediaInfoLib
{
//***************************************************************************
// Class File_DolbyE
//***************************************************************************
class File_DolbyE : public File__Analyze
{
public :
//In
int64u GuardBand_Before;
int64u GuardBand_After;
//Constructor/Destructor
File_DolbyE();
private :
//Streams management
void Streams_Fill();
//Buffer - Synchro
bool Synchronize();
bool Synched_Test();
//Buffer - Per element
void Header_Parse();
void Data_Parse();
//Elements
void Block();
//Helpers
bool Descramble_16bit();
bool Descramble_20bit();
bool Descramble_24bit();
//Temp
int64u SMPTE_time_code_StartTimecode;
int8u ProgramConfiguration;
int8u FrameRate;
int8u BitDepth;
bool ScrambledBitStream;
int8u* Descrambled_Buffer; //Used in case of scrambled bitstream
int64u GuardBand_Before_Initial;
int64u GuardBand_After_Initial;
};
} //NameSpace
#endif
|