<feed xmlns='http://www.w3.org/2005/Atom'>
<title>libdcp/test/dcp_test.cc, branch fixlibdir</title>
<subtitle>DCP handling library</subtitle>
<id>https://git.carlh.net/cgit/libdcp/atom?h=fixlibdir</id>
<link rel='self' href='https://git.carlh.net/cgit/libdcp/atom?h=fixlibdir'/>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/'/>
<updated>2024-04-21T23:42:00Z</updated>
<entry>
<title>Support MPEG2 decompression.</title>
<updated>2024-04-21T23:42:00Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2023-11-14T21:01:07Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/commit/?id=066471f69400fc72e9c126ab36f5427329f30220'/>
<id>urn:sha1:066471f69400fc72e9c126ab36f5427329f30220</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move Behaviour enum out of J2KPictureAsset.</title>
<updated>2024-04-18T10:11:43Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2024-02-06T10:51:24Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/commit/?id=6801a43a489b3e55ab062b0db46e0e03d20e9bcb'/>
<id>urn:sha1:6801a43a489b3e55ab062b0db46e0e03d20e9bcb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename classes.</title>
<updated>2024-04-18T10:11:42Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2023-11-08T22:55:26Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/commit/?id=ddb999544ab9da2a3a4760baf241a5ef8520c37e'/>
<id>urn:sha1:ddb999544ab9da2a3a4760baf241a5ef8520c37e</id>
<content type='text'>
sed -i "s/\&lt;PictureAsset/J2KPictureAsset/g" src/*.{cc,h}
sed -i "s/\&lt;dcp::PictureAsset/dcp::J2KPictureAsset/g" src/*.{cc,h} test/*.{cc,h} tools/*.cc examples/*.cc
sed -i "s/\&lt;MonoPictureAsset/MonoJ2KPictureAsset/g" src/*.{cc,h} tools/*.cc test/*.{cc,h}
sed -i "s/\&lt;dcp::MonoPictureAsset/dcp::MonoJ2KPictureAsset/g" src/*.{cc,h} test/*.{cc,h} tools/*.cc examples/*.cc
sed -i "s/\&lt;StereoPictureAsset/StereoJ2KPictureAsset/g" src/*.{cc,h} tools/*.cc
sed -i "s/\&lt;dcp::StereoPictureAsset/dcp::StereoJ2KPictureAsset/g" src/*.{cc,h} test/*.{cc,h} tools/*.cc examples/*.cc
sed -i "s/\&lt;MonoPictureFrame/MonoJ2KPictureFrame/g" src/*.{cc,h} tools/*.cc test/*.{cc,h}
sed -i "s/\&lt;dcp::MonoPictureFrame/dcp::MonoJ2KPictureFrame/g" src/*.{cc,h} test/*.{cc,h} tools/*.cc examples/*.cc
sed -i "s/\&lt;StereoPictureFrame/StereoJ2KPictureFrame/g" src/*.{cc,h} tools/*.cc
sed -i "s/\&lt;dcp::StereoPictureFrame/dcp::StereoJ2KPictureFrame/g" src/*.{cc,h} test/*.{cc,h} tools/*.cc examples/*.cc
</content>
</entry>
<entry>
<title>Fix includes.</title>
<updated>2024-04-18T10:11:16Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2023-11-08T22:43:24Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/commit/?id=f6d466eee4f1381a65da4b5f6d60924e6a81df4e'/>
<id>urn:sha1:f6d466eee4f1381a65da4b5f6d60924e6a81df4e</id>
<content type='text'>
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}
</content>
</entry>
<entry>
<title>Cleanup: move EqualityOptions into its own file.</title>
<updated>2023-07-25T13:28:11Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2023-07-25T13:28:11Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/commit/?id=d21b1e6f9cbf10148b38e1bc3ca3d4920e39a432'/>
<id>urn:sha1:d21b1e6f9cbf10148b38e1bc3ca3d4920e39a432</id>
<content type='text'>
</content>
</entry>
<entry>
<title>When reading a DCP set up asset hashes from the CPL/PKL, not by digesting the actual asset.</title>
<updated>2023-06-28T23:25:40Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2023-06-26T22:11:43Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/commit/?id=e702623781c8d5853b79a29ca8c5f495d0ade3d1'/>
<id>urn:sha1:e702623781c8d5853b79a29ca8c5f495d0ade3d1</id>
<content type='text'>
Previously when reading a DCP we would recalculate asset hashes.  This meant that corrupted
DCPs could be loaded in and their hashes re-written (if nobody checked the new hashes against
the ones in the PKL/CPL).

It seems better to take the hashes from the metadata.  Then if the assets are corrupted
and the DCP is re-written the PKL/CPL hashes will be preserved, showing rather than hiding
the corruption.
</content>
</entry>
<entry>
<title>Cleanup: sorting.</title>
<updated>2023-06-26T22:10:55Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2023-06-26T00:13:22Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/commit/?id=5fa31cd1ed5ebc1446008150f052cceab8d09efe'/>
<id>urn:sha1:5fa31cd1ed5ebc1446008150f052cceab8d09efe</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use an enum instead of a bool in PictureAsset::start_write().</title>
<updated>2023-03-20T15:41:02Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2023-03-17T13:11:34Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/commit/?id=20e3e4c2a7a91e45740987a702f5d4c1ea2f9030'/>
<id>urn:sha1:20e3e4c2a7a91e45740987a702f5d4c1ea2f9030</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove the bools and default parameters from SoundAsset::start_write().</title>
<updated>2023-03-20T15:41:02Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2023-03-17T12:33:08Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/commit/?id=870f02f07ee51ee478006260e2c3b683e591b0c9'/>
<id>urn:sha1:870f02f07ee51ee478006260e2c3b683e591b0c9</id>
<content type='text'>
They were more confusing than they were worth.
</content>
</entry>
<entry>
<title>Specify number of channels in the data passed to SoundAssetWriter, and pad channels that aren't there.</title>
<updated>2023-03-16T18:52:06Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2023-03-16T18:51:27Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/libdcp/commit/?id=c1d296b163ddf88a5b387f98e7e77988a242a996'/>
<id>urn:sha1:c1d296b163ddf88a5b387f98e7e77988a242a996</id>
<content type='text'>
</content>
</entry>
</feed>
