extern ASDCP::UL channel_to_mca_universal_label (Channel c, MCASoundField field, ASDCP::Dictionary const* dict);
-enum class ContentKind
-{
- FEATURE,
- SHORT,
- TRAILER,
- TEST,
- TRANSITIONAL,
- RATING,
- TEASER,
- POLICY,
- PUBLIC_SERVICE_ANNOUNCEMENT,
- ADVERTISEMENT,
- EPISODE,
- PROMO
-};
-
-
-extern std::string content_kind_to_string (ContentKind kind);
-extern ContentKind content_kind_from_string (std::string kind);
-
-
enum class Effect
{
NONE,
enum class VAlign
{
/** vertical position is distance:
- * from top of screen to top of subtitle (for SMPTE) or
- * from top of screen to subtitle baseline (for Interop)
+ * from top of screen to top of subtitle (for SMPTE 428-7:{2007,2010} or
+ * from top of screen to subtitle baseline (for Interop or SMPTE 428-7:2014)
*/
TOP,
/** vertical position is distance:
- * from centre of screen to centre of subtitle (for SMPTE) or
- * from centre of screen to subtitle baseline (for Interop)
+ * from centre of screen to centre of subtitle (for SMPTE 428-7:{2007,2010}) or
+ * from centre of screen to subtitle baseline (for Interop or SMPTE 428-7:2014)
*/
CENTER,
/** vertical position is distance:
- * from bottom of screen to bottom of subtitle (for SMPTE) or
- * from bottom of screen to subtitle baseline (for Interop)
+ * from bottom of screen to bottom of subtitle (for SMPTE 428-7:{2007,2010}) or
+ * from bottom of screen to subtitle baseline (for Interop or SMPTE 428-7:2014)
*/
BOTTOM
};
bool keep_going = false;
/** true to save the first pair of differeng image subtitles to the current working directory */
bool export_differing_subtitles = false;
+ /** The maximum allowable absolute difference between the vertical position of subtitles */
+ float max_subtitle_vertical_position_error = 0;
};