HEVC Test Model (HM)
HM-16.18
|
reading functions for Annex B byte streams More...
Go to the source code of this file.
Classes | |
class | InputByteStream |
struct | AnnexBStats |
Macros | |
#define | __ANNEXBREAD__ |
Functions | |
Bool | byteStreamNALUnit (InputByteStream &bs, std::vector< uint8_t > &nalUnit, AnnexBStats &stats) |
reading functions for Annex B byte streams
Definition in file AnnexBread.h.
#define __ANNEXBREAD__ |
Definition at line 42 of file AnnexBread.h.
Bool byteStreamNALUnit | ( | InputByteStream & | bs, |
vector< uint8_t > & | nalUnit, | ||
AnnexBStats & | stats | ||
) |
Parse an AVC AnnexB Bytestream bs to extract a single nalUnit while accumulating bytestream statistics into stats.
Returns false if EOF was reached (NB, nalunit data may be valid), otherwise true.
Definition at line 182 of file AnnexBread.cpp.