/* * Direct Stream Transfer (DST) codec * ISO/IEC 14496-3 Part 3 Subpart 10: Technical description of lossless coding of oversampled audio */ #ifndef SEGMENT_H #define SEGMENT_H #include #include #include #include "consts.h" using std::array; using std::vector; namespace dst { class segment_t { public: unsigned int Resolution; // Resolution for segments vector> SegmentLength; // SegmentLength[ChNr][SegmentNr] vector NrOfSegments; // NrOfSegments[ChNr] vector> Table4Segment; // Table4Segment[ChNr][SegmentNr] public: void init(unsigned int channels) { SegmentLength.resize(channels); NrOfSegments.resize(channels); Table4Segment.resize(channels); } }; } #endif