diff options
Diffstat (limited to 'src/stl_binary_reader.h')
| -rw-r--r-- | src/stl_binary_reader.h | 29 |
1 files changed, 27 insertions, 2 deletions
diff --git a/src/stl_binary_reader.h b/src/stl_binary_reader.h index 0491cb8..b049b93 100644 --- a/src/stl_binary_reader.h +++ b/src/stl_binary_reader.h @@ -173,6 +173,25 @@ public: TIMECODE_STATUS_INTENDED_FOR_USE }; + enum CumulativeStatus { + CUMULATIVE_STATUS_NOT_CUMULATIVE, + CUMULATIVE_STATUS_FIRST, + CUMULATIVE_STATUS_INTERMEDIATE, + CUMULATIVE_STATUS_LAST + }; + + enum Justification { + JUSTIFICATION_NONE, + JUSTIFICATION_LEFT, + JUSTIFICATION_CENTRE, + JUSTIFICATION_RIGHT + }; + + enum Comment { + COMMENT_NO, + COMMENT_YES + }; + int code_page_number; int frame_rate; DisplayStandard display_standard; @@ -204,13 +223,19 @@ public: std::string editor_contact_details; private: - std::string fixed_string (int, int) const; - void create_maps (); + std::string get_string (int, int) const; + int get_int (int, int) const; + FrameTime get_timecode (int) const; + + void create_tables (); std::map<std::string, STLCode<DisplayStandard> > _display_standard_map; std::map<std::string, STLCode<LanguageGroup> > _language_group_map; std::map<std::string, STLCode<Language> > _language_map; std::map<std::string, STLCode<TimecodeStatus> > _timecode_status_map; + std::map<int, STLCode<CumulativeStatus> > _cumulative_status_map; + std::map<int, STLCode<Justification> > _justification_map; + std::map<int, STLCode<Comment> > _comment_map; unsigned char* _buffer; }; |
