summaryrefslogtreecommitdiff
path: root/test/round_trip_test.cc
AgeCommit message (Collapse)Author
2024-04-18Move Behaviour enum out of J2KPictureAsset.Carl Hetherington
2024-04-18Rename classes.Carl Hetherington
sed -i "s/\<PictureAsset/J2KPictureAsset/g" src/*.{cc,h} sed -i "s/\<dcp::PictureAsset/dcp::J2KPictureAsset/g" src/*.{cc,h} test/*.{cc,h} tools/*.cc examples/*.cc sed -i "s/\<MonoPictureAsset/MonoJ2KPictureAsset/g" src/*.{cc,h} tools/*.cc test/*.{cc,h} sed -i "s/\<dcp::MonoPictureAsset/dcp::MonoJ2KPictureAsset/g" src/*.{cc,h} test/*.{cc,h} tools/*.cc examples/*.cc sed -i "s/\<StereoPictureAsset/StereoJ2KPictureAsset/g" src/*.{cc,h} tools/*.cc sed -i "s/\<dcp::StereoPictureAsset/dcp::StereoJ2KPictureAsset/g" src/*.{cc,h} test/*.{cc,h} tools/*.cc examples/*.cc sed -i "s/\<MonoPictureFrame/MonoJ2KPictureFrame/g" src/*.{cc,h} tools/*.cc test/*.{cc,h} sed -i "s/\<dcp::MonoPictureFrame/dcp::MonoJ2KPictureFrame/g" src/*.{cc,h} test/*.{cc,h} tools/*.cc examples/*.cc sed -i "s/\<StereoPictureFrame/StereoJ2KPictureFrame/g" src/*.{cc,h} tools/*.cc sed -i "s/\<dcp::StereoPictureFrame/dcp::StereoJ2KPictureFrame/g" src/*.{cc,h} test/*.{cc,h} tools/*.cc examples/*.cc
2024-04-18Fix includes.Carl Hetherington
sed -i "s/#include \"stereo_picture_asset_writer.h\"/#include \"stereo_j2k_picture_asset_writer.h\""/g src/*.{cc,h} sed -i "s/#include \"mono_picture_asset_writer.h\"/#include \"mono_j2k_picture_asset_writer.h\""/g src/*.{cc,h} examples/*.cc sed -i "s/#include \"stereo_picture_asset_reader.h\"/#include \"stereo_j2k_picture_asset_reader.h\""/g src/*.{cc,h} sed -i "s/#include \"mono_picture_asset_reader.h\"/#include \"mono_j2k_picture_asset_reader.h\""/g src/*.{cc,h} test/*.cc examples/*.cc sed -i "s/#include \"stereo_picture_asset.h\"/#include \"stereo_j2k_picture_asset.h\""/g src/*.{cc,h} test/*.cc examples/*.cc sed -i "s/#include \"mono_picture_asset.h\"/#include \"mono_j2k_picture_asset.h\""/g src/*.{cc,h} examples/*.cc sed -i "s/#include \"picture_asset_writer.h\"/#include \"j2k_picture_asset_writer.h\""/g src/*.{cc,h} test/*.cc sed -i "s/#include \"mono_picture_asset_writer.h\"/#include \"mono_j2k_picture_asset_writer.h\""/g src/*.{cc,h} test/*.cc tools/*.cc sed -i "s/#include \"picture_asset.h\"/#include \"j2k_picture_asset.h\""/g src/*.{cc,h} tools/*.cc sed -i "s/#include \"mono_picture_asset.h\"/#include \"mono_j2k_picture_asset.h\""/g src/*.{cc,h} test/*.cc tools/*.cc sed -i "s/#include \"mono_picture_frame.h\"/#include \"mono_j2k_picture_frame.h\""/g src/*.{cc,h} test/*.cc examples/*.cc sed -i "s/#include \"stereo_picture_frame.h\"/#include \"stereo_j2k_picture_frame.h\""/g src/*.{cc,h} sed -i "s/#include \"picture_asset_writer_common.cc\"/#include \"j2k_picture_asset_writer_common.cc\""/g src/*.{cc,h}
2023-03-20Use an enum instead of a bool in PictureAsset::start_write().Carl Hetherington
2022-02-12Pass certificate validity length into the constructor.v1.8.7Carl Hetherington
2021-04-12C++11 tidying.Carl Hetherington
2021-04-12Specify CPL standard on construction.Carl Hetherington
Then choose which standard DCP should use based on the CPL(s).
2021-01-21Use enum class for the things in types.hCarl Hetherington
2021-01-17Replace std::list with std::vector in the API.Carl Hetherington
2021-01-17Replace dcp::File with dcp::ArrayData.Carl Hetherington
2021-01-17Remove 32x32 test image.Carl Hetherington
2021-01-08std::shared_ptrCarl Hetherington
2019-12-01Check that KDM validity periods are safely within the validity periodsCarl Hetherington
of the signing certificate chain. This does cause problems when you try to create a KDM for a certificate you just made (due to the fact that certificates always have a start-valid time of "now") but hopefully this can be fixed up in another commit.
2019-03-16Fix some GPL boilerplate.Carl Hetherington
2018-11-08Take thumbprint rather than a full dcp::Certificate for trusted devices.Carl Hetherington
2018-03-13Store interop/SMPTE in MXF.Carl Hetherington
2018-02-14Use a bool instead of an int for disable-forensic-picture andCarl Hetherington
a optional<int> instead of an int with a magic -1 for disable-forensic-audio.
2018-02-14Make disabling forensic marking optional.Mart Jansink
2017-03-30Add stride parameter to dcp::xyz_to_rgba.Carl Hetherington
2016-08-25Allow reading of certificate chains from strings.Carl Hetherington
This also makes the Certificate constructor throw if it finds extra stuff after a certificate it is loading.
2016-06-01Still more licence fixups.Carl Hetherington
2016-06-01Add Reader classes to permit much more efficient DCP reading.Carl Hetherington
2015-11-15Support trusted device lists in KDMs.Carl Hetherington
2015-07-30Merge Signer into CertificateChain.Carl Hetherington
2015-07-30Rename certificates.{cc,h} -> certificate.{cc,h}.Carl Hetherington
2015-06-24No-op: whitespace.Carl Hetherington
2015-06-10Rename XYZImage -> OpenJPEGImage.Carl Hetherington
2015-06-08Some comments and test tweaks.Carl Hetherington
2015-06-05MXF -> Asset in lots of places.Carl Hetherington
2015-04-22Express colour conversions as chromaticities and adjust so thatCarl Hetherington
everything is specified as something_to_xyz and then you can get an inverse LUT if you want one.
2015-02-02Remove Image and ARGBImage and just dump RGB data intoCarl Hetherington
uint8_t* buffers. This is hopefully simpler than trying to come up with some Image hierarchy that suits everything.
2015-02-02Rename XYZFrame -> XYZImage and ARGBFrame -> ARGBImage.Carl Hetherington
2014-07-20Allow loading of EncryptedKDMs from strings.Carl Hetherington
2014-07-20Tidy up KDM generation from CPLs a bit.Carl Hetherington
2014-07-18Quite large reworking of signer/cert handling.Carl Hetherington
2014-07-17Get Signer to take a PEM string rather than a filename.Carl Hetherington
2014-06-26Forward-port KDM formulation from v0.Carl Hetherington
2014-03-19Considerable re-work of KDM class to express the difference between ↵Carl Hetherington
encrypted and unencrypted KDMs.
2014-01-28Various test fixes.Carl Hetherington
2014-01-26It builds again.Carl Hetherington
2014-01-22Various work.Carl Hetherington
2014-01-17Asset -> MXF in some cases.Carl Hetherington
2014-01-17namespace libdcp -> dcp.Carl Hetherington
2013-10-09Avoid use of pipes in openssl hackery.Carl Hetherington
2013-09-29Test KDMKeys reload.Carl Hetherington
2013-09-25Split up some files.Carl Hetherington
2013-09-25Switch away from the many-constructor-arguments approach to a hopefully ↵Carl Hetherington
simpler API.
2013-09-25Add round-trip KDM test. Fix various bugs in KDM generation. Some string ↵Carl Hetherington
-> path.