Added several TS and NAL convenience functions

This commit is contained in:
Ramoe 2017-05-12 12:02:27 +02:00 committed by Thulinma
parent 45022f36c9
commit ae448d6e8a
4 changed files with 74 additions and 0 deletions

View file

@ -16,4 +16,6 @@ namespace nalu {
unsigned long toAnnexB(const char * data, unsigned long dataSize, char *& result);
unsigned long fromAnnexB(const char * data, unsigned long dataSize, char *& result);
void scanAnnexB(const char * data, uint32_t dataSize, const char *& packetPointer);
const char* nalEndPosition(const char * data, uint32_t dataSize);
}