summaryrefslogtreecommitdiff
path: root/src/MXF.h
diff options
context:
space:
mode:
authorjhurst <jhurst@cinecert.com>2013-07-01 22:14:16 +0000
committerjhurst <>2013-07-01 22:14:16 +0000
commit5584493c50cfa0541398527741253a0db8cdbf18 (patch)
tree8d751b6c3ccc1e1ba7d8c58846015ec44bbf2242 /src/MXF.h
parent4c79dd9e68c9f58660343524506712bc32ced077 (diff)
IMF MCA labels
cinecanvas fade time now okay with HH:MM:SS:
Diffstat (limited to 'src/MXF.h')
-rwxr-xr-xsrc/MXF.h27
1 files changed, 20 insertions, 7 deletions
diff --git a/src/MXF.h b/src/MXF.h
index 826c049..cda4408 100755
--- a/src/MXF.h
+++ b/src/MXF.h
@@ -433,26 +433,39 @@ namespace ASDCP
}
};
+ typedef std::map<const std::string, const UL, ci_comp> mca_label_map_t;
+ bool decode_mca_string(const std::string& s, const mca_label_map_t& labels, const Dictionary& dict, const std::string& language, InterchangeObject_list_t&, ui32_t&);
+
//
- class MCAConfigParser : public InterchangeObject_list_t
+ class ASDCP_MCAConfigParser : public InterchangeObject_list_t
{
- typedef std::map<const std::string, const UL, ci_comp> label_map_t;
- label_map_t label_map;
- ui32_t m_ChannelCount;
+ KM_NO_COPY_CONSTRUCT(ASDCP_MCAConfigParser);
+ ASDCP_MCAConfigParser();
+ protected:
+ mca_label_map_t m_LabelMap;
+ ui32_t m_ChannelCount;
const Dictionary*& m_Dict;
- KM_NO_COPY_CONSTRUCT(MCAConfigParser);
- MCAConfigParser();
public:
- MCAConfigParser(const Dictionary*&);
+ ASDCP_MCAConfigParser(const Dictionary*&);
bool DecodeString(const std::string& s, const std::string& language = "en");
// Valid only after a successful call to DecodeString
ui32_t ChannelCount() const;
};
+ //
+ class AS02_MCAConfigParser : public ASDCP_MCAConfigParser
+ {
+ KM_NO_COPY_CONSTRUCT(AS02_MCAConfigParser);
+ AS02_MCAConfigParser();
+
+ public:
+ AS02_MCAConfigParser(const Dictionary*&);
+ };
+
} // namespace MXF
} // namespace ASDCP