HEVC Test Model (HM)  HM-16.3
Classes | Macros
AnnexBread.h File Reference

reading functions for Annex B byte streams More...

#include <stdint.h>
#include <istream>
#include <vector>
#include "TLibCommon/TypeDef.h"
Include dependency graph for AnnexBread.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  InputByteStream
struct  AnnexBStats


#define __ANNEXBREAD__


Bool byteStreamNALUnit (InputByteStream &bs, std::vector< uint8_t > &nalUnit, AnnexBStats &stats)

Detailed Description

reading functions for Annex B byte streams

Definition in file AnnexBread.h.

Macro Definition Documentation

#define __ANNEXBREAD__

Definition at line 42 of file AnnexBread.h.

Function Documentation

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.