Initial commit
This commit is contained in:
parent
38ef8704f8
commit
6813f00b09
5 changed files with 582 additions and 1 deletions
14
lib/nal.h
Normal file
14
lib/nal.h
Normal file
|
@ -0,0 +1,14 @@
|
|||
#include <string>
|
||||
#include <cstdio>
|
||||
|
||||
class NAL_Unit {
|
||||
public:
|
||||
NAL_Unit( );
|
||||
NAL_Unit( std::string & InputData );
|
||||
bool ReadData( std::string & InputData );
|
||||
std::string AnnexB( bool LongIntro = false );
|
||||
std::string SizePrepended( );
|
||||
int Type( );
|
||||
private:
|
||||
std::string MyData;
|
||||
};//NAL_Unit class
|
Loading…
Add table
Add a link
Reference in a new issue