summaryrefslogtreecommitdiff
path: root/examples
AgeCommit message (Collapse)Author
2024-09-03Fix up example.Carl Hetherington
2024-08-17{,Interop,SMPTE}SubtitleAsset -> {,Interop,SMPTE}TextAsset.Carl Hetherington
2024-04-22Support MPEG2 decompression.Carl Hetherington
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}
2024-03-22Bump asdcplib to dcpomatic-2.13.0 branch.v1.9.4Carl Hetherington
2023-05-15Formatting tidying; use vector instead of scoped_array.Carl Hetherington
2023-05-15Style/formatting tweaks.Carl Hetherington
2023-03-20Use an enum instead of a bool in PictureAsset::start_write().Carl Hetherington
2023-03-20Remove the bools and default parameters from SoundAsset::start_write().Carl Hetherington
They were more confusing than they were worth.
2023-03-16Specify number of channels in the data passed to SoundAssetWriter, and pad ↵Carl Hetherington
channels that aren't there.
2022-12-12Add missing initialisation calls to example.Carl Hetherington
2022-11-27Add make_kdm.cc example.Carl Hetherington
2022-11-27Tidy up examples/wscript.Carl Hetherington
2022-03-07Tweak path in the example.Carl Hetherington
2021-04-14Fix/hide some warnings.Carl Hetherington
2021-04-12Specify CPL standard on construction.Carl Hetherington
Then choose which standard DCP should use based on the CPL(s).
2021-03-26Write MCA tags based on the specified sound field.Carl Hetherington
I had previously assumed that one should write MCA information into the sound MXF based on what channels actually contain sound rather than silence. However a previous example of a stereo DCP gives a verification error in EasyDCP (see DoM bug #1935) which is solved by adding MCA tags for each channel in the specified sound field (e.g. at least 6 tags for a file which is marked as 5.1) even if the audio is really stereo. This commit removes the "active channels" stuff and makes sure that if we say a file is 5.1 we write at least 6 MCA tags (and similarly for 7.1).
2021-02-28Use std::array.Carl Hetherington
2021-02-28Use new write() method in example.Carl Hetherington
2021-02-28Whitespace.Carl Hetherington
2021-02-28Add missing dcp::init() to example.Carl Hetherington
2021-01-22c++11 bits in examples/Carl Hetherington
2021-01-21Use enum class for the things in types.hCarl Hetherington
2021-01-19Rename encrypted() to any_encrypted() and add all_encrypted().Carl 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-08std::shared_ptrCarl Hetherington
2020-09-21Support MCA sound channel tags in MXF/CPL.Carl Hetherington
2019-12-22xerces-related build fixes.Carl Hetherington
2019-12-22Remove now-unused boost regex.Carl Hetherington
2019-12-22Use regex and check <IssueDate> in CPL.Carl Hetherington
2018-03-13Store interop/SMPTE in MXF.Carl Hetherington
2017-03-30Add stride parameter to dcp::xyz_to_rgba.Carl Hetherington
2016-09-09Simplify previous commit and remove some debugging.Carl Hetherington
2016-09-08Add channel assignment support for SMPTE DCPs.Carl Hetherington
2016-08-17Use an optional<> where there should be one.Carl Hetherington
2016-06-01Still more licence fixups.Carl Hetherington
2016-06-01Add Reader classes to permit much more efficient DCP reading.Carl Hetherington
2016-02-03Various build system / dependency fixes.Carl Hetherington
2016-01-28Try to fix cscript build.Carl Hetherington
2016-01-04Add some GPL boilerplate.Carl Hetherington
2015-12-02Use OpenMP when comparing picture assets.Carl Hetherington
2015-06-10Rename XYZImage -> OpenJPEGImage.Carl Hetherington
2015-06-08Require only DCP::add() for the CPL; other assets found by looking in the CPL.Carl Hetherington
2015-06-05MXF -> Asset in lots of places.Carl Hetherington
2015-06-05Rename some stuff Content -> Asset.Carl Hetherington
2015-05-29Fix comment in example code.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.