Bitstream Interpretation Library (BIL)
0.1
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
bitstream
V5BitstreamReader.hpp
Go to the documentation of this file.
1
6
#pragma once
7
#ifndef BIL_V5BITSTREAMREADER_HPP
8
#define BIL_V5BITSTREAMREADER_HPP
9
10
#include <
bitstream/Bitstream.hpp
>
11
#include <
bitstream/V5BitstreamSyntaxChecker.hpp
>
12
13
namespace
bil {
14
22
class
V5BitstreamReader
{
23
public
:
24
25
/**********************************************************************/
26
/* BITSTREAM LOADING */
27
/**********************************************************************/
28
36
void
read
(
Bitstream
& bitstream,
const
boost::uint32_t* words,
size_t
wordCount);
37
38
39
protected
:
40
49
virtual
size_t
extractPacket
(
const
boost::uint32_t* words,
size_t
wordCount, std::auto_ptr<Packet>& packetPtr);
50
51
52
/**********************************************************************/
53
/* SYNTAX CHECKER INTERFACE */
54
/**********************************************************************/
55
60
bool
behindSyncWord
()
const
;
61
66
bool
lastPacketWasType1
()
const
;
67
72
RegisterAddress::address_t
lastType1Address
()
const
;
73
74
75
private
:
76
77
V5BitstreamSyntaxChecker
m_syntaxChecker;
78
79
};
80
81
90
void
readV5Bitstream
(
Bitstream
& bitstream,
const
boost::uint32_t* words,
size_t
wordCount);
91
92
}
93
94
#endif
Generated on Wed Aug 8 2012 21:57:40 for Bitstream Interpretation Library (BIL) by
1.8.1.1