40 #ifndef LIBDCP_VERIFY_H
41 #define LIBDCP_VERIFY_H
44 #include <boost/filesystem.hpp>
45 #include <boost/function.hpp>
46 #include <boost/optional.hpp>
402 VerificationNote (
Type type,
Code code, std::string note)
408 VerificationNote (
Type type,
Code code, boost::filesystem::path file)
414 VerificationNote (
Type type,
Code code, std::string note, boost::filesystem::path file)
421 VerificationNote (
Type type,
Code code, std::string note, boost::filesystem::path file, uint64_t line)
437 boost::optional<std::string> note ()
const {
441 boost::optional<boost::filesystem::path> file ()
const {
445 boost::optional<uint64_t> line ()
const {
455 boost::optional<boost::filesystem::path>
_file;
461 std::vector<VerificationNote> verify (
462 std::vector<boost::filesystem::path> directories,
463 boost::function<
void (std::string, boost::optional<boost::filesystem::path>)> stage,
464 boost::function<
void (
float)> progress,
465 boost::optional<boost::filesystem::path> xsd_dtd_directory = boost::optional<boost::filesystem::path>()
@ INVALID_INTRINSIC_DURATION
@ INVALID_CLOSED_CAPTION_LINE_COUNT
@ INVALID_PICTURE_FRAME_RATE_FOR_4K
@ MISMATCHED_CPL_ANNOTATION_TEXT
@ MISSING_EXTENSION_METADATA
@ INVALID_SUBTITLE_FIRST_TEXT_TIME
@ MISSING_JPEG200_TLM_MARKER
@ MISMATCHED_SUBTITLE_LANGUAGES
@ INVALID_JPEG2000_TILE_PARTS_FOR_2K
@ INVALID_JPEG2000_CODE_BLOCK_HEIGHT
@ INVALID_TIMED_TEXT_SIZE_IN_BYTES
@ INVALID_JPEG2000_CODESTREAM
@ NEARLY_INVALID_PICTURE_FRAME_SIZE_IN_BYTES
@ INVALID_CLOSED_CAPTION_XML_SIZE_IN_BYTES
@ INCORRECT_JPEG2000_POC_MARKER
@ INVALID_SUBTITLE_LINE_COUNT
@ UNSIGNED_PKL_WITH_ENCRYPTED_CONTENT
@ INVALID_JPEG2000_GUARD_BITS_FOR_2K
@ THREED_ASSET_MARKED_AS_TWOD
@ INCORRECT_SUBTITLE_ENTRY_POINT
@ MISSING_FFMC_IN_FEATURE
@ INVALID_SUBTITLE_SPACING
@ MISSED_CHECK_OF_ENCRYPTED
@ MISMATCHED_CLOSED_CAPTION_VALIGN
@ MISSING_SUBTITLE_START_TIME
@ INVALID_PICTURE_ASSET_RESOLUTION_FOR_3D
@ INVALID_SOUND_FRAME_RATE
@ MISMATCHED_ASSET_DURATION
@ MISSING_CPL_ANNOTATION_TEXT
@ MISSING_SUBTITLE_ENTRY_POINT
@ INVALID_EXTENSION_METADATA
@ MISMATCHED_CLOSED_CAPTION_ASSET_COUNTS
@ INCORRECT_JPEG2000_POC_MARKER_COUNT_FOR_2K
@ INCORRECT_CLOSED_CAPTION_ORDERING
@ MISMATCHED_TIMED_TEXT_RESOURCE_ID
@ INVALID_PICTURE_FRAME_RATE_FOR_2K
@ INVALID_SUBTITLE_DURATION
@ INVALID_CLOSED_CAPTION_LINE_LENGTH
@ MISMATCHED_PKL_ANNOTATION_TEXT_WITH_CPL
@ SUBTITLE_OVERLAPS_REEL_BOUNDARY
@ MISMATCHED_TIMED_TEXT_DURATION
@ INVALID_SUBTITLE_START_TIME
@ MISMATCHED_SOUND_HASHES
@ MISSING_FFEC_IN_FEATURE
@ INVALID_JPEG2000_TILE_SIZE
@ INVALID_JPEG2000_POC_MARKER_LOCATION
@ MISMATCHED_PICTURE_HASHES
@ MISSING_SUBTITLE_LANGUAGE
@ INCORRECT_TIMED_TEXT_ASSET_ID
@ MISSING_CPL_METADATA_VERSION_NUMBER
@ INVALID_PICTURE_SIZE_IN_PIXELS
@ MISSING_CLOSED_CAPTION_ENTRY_POINT
@ INCORRECT_CLOSED_CAPTION_ENTRY_POINT
@ INVALID_JPEG2000_TILE_PARTS_FOR_4K
@ INCORRECT_JPEG2000_POC_MARKER_COUNT_FOR_4K
@ INVALID_PICTURE_FRAME_RATE
@ UNSIGNED_CPL_WITH_ENCRYPTED_CONTENT
@ INVALID_JPEG2000_CODE_BLOCK_WIDTH
@ INVALID_SUBTITLE_LINE_LENGTH
@ INVALID_JPEG2000_GUARD_BITS_FOR_4K
@ MISSING_MAIN_SUBTITLE_FROM_SOME_REELS
@ INVALID_TIMED_TEXT_FONT_SIZE_IN_BYTES
@ INVALID_PICTURE_FRAME_SIZE_IN_BYTES
@ NEARLY_INVALID_SUBTITLE_LINE_LENGTH
boost::optional< boost::filesystem::path > _file
@ BV21_ERROR
may not always be considered an error, but violates a "shall" requirement of Bv2.1
boost::optional< std::string > _note
boost::optional< uint64_t > _line
Namespace for everything in libdcp.
std::string note_to_string(dcp::VerificationNote note)