*/
+/** @file src/cpl.h
+ * @brief CPL class.
+ */
+
#ifndef LIBDCP_CPL_H
#define LIBDCP_CPL_H
* @brief A decrypted KDM.
*
* This is a KDM that has either been decrypted by a target private key, or one which
- * has been created by some other means, ready for encryption later.
+ * has been created (by some other means) ready for encryption later.
*
* A DecryptedKDM object can be created either from an EncryptedKDM and private key file,
* or from the details of the MXFs that the KDM should protect.
/** Construct a DecryptedKDM.
* @param cpl CPL that the keys are for.
* @param not_valid_before Start time for the KDM.
- * @param not_valid_after ENd time for the KDM.
+ * @param not_valid_after End time for the KDM.
*/
DecryptedKDM (
boost::shared_ptr<const CPL> cpl,
*/
+/** @file src/decrypted_kdm_key.h
+ * @brief DecryptedKDMKey class
+ */
+
#ifndef LIBDCP_DECRYPTED_KDM_KEY_H
#define LIBDCP_DECRYPTED_KDM_KEY_H
namespace dcp {
+/** @class DecryptedKDMKey
+ * @brief An un- or de-crypted key from a KDM.
+ */
class DecryptedKDMKey
{
public:
*/
+/** @file src/font.h
+ * @brief Font class
+ */
+
#include "types.h"
#include "subtitle.h"
#include <boost/shared_ptr.hpp>
}
namespace dcp {
-
+
+/** @class Font
+ * @brief Helper class for parsing subtitle XML.
+ */
class Font
{
public:
*/
+/** @file src/subtitle_string.h
+ * @brief SubtitleString class.
+ */
+
#ifndef LIBDCP_SUBTITLE_STRING_H
#define LIBDCP_SUBTITLE_STRING_H
namespace dcp {
+/** @class SubtitleString
+ * @brief A single line of subtitle text with all the associated attributes.
+ */
class SubtitleString
{
public:
int size_in_pixels (int screen_height) const;
private:
+ /** font name */
std::string _font;
+ /** true if the text is italic */
bool _italic;
+ /** text colour */
Color _color;
/** Size in points as if the screen height is 11 inches, so a 72pt font
* would be 1/11th of the screen height.