36 #ifndef __ANNEXBWRITE__
37 #define __ANNEXBWRITE__
55 std::vector<UInt> annexBsizes;
57 for (AccessUnit::const_iterator it = au.begin(); it != au.end(); it++)
62 static const UChar start_code_prefix[] = {0,0,0,1};
73 out.write(reinterpret_cast<const TChar*>(start_code_prefix), 4);
78 out.write(reinterpret_cast<const TChar*>(start_code_prefix+1), 3);
84 annexBsizes.push_back(size);
NalUnitType m_nalUnitType
nal_unit_type
Access Unit class (header)
std::ostringstream m_nalUnitData
static std::vector< UInt > writeAnnexB(std::ostream &out, const AccessUnit &au)