#include #include #include "nal.h" namespace h264 { std::deque analysePackets(const char * data, unsigned long len); ///Struct containing pre-calculated metadata of an SPS nal unit. Width and height in pixels, fps in Hz struct SPSMeta { unsigned int width; unsigned int height; double fps; uint8_t profile; uint8_t level; bool sep_col_plane; uint8_t cnt_type; bool gaps;///< Gaps in frame num allowed flag bool mbs_only;///