summaryrefslogtreecommitdiff
path: root/src/stereo_picture_asset.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-06-24 01:06:04 +0100
committerCarl Hetherington <cth@carlh.net>2015-06-24 01:06:04 +0100
commit9e523d8a4062ad52330dff6c2ba50e54184c9bb2 (patch)
treecc10da19d90f9ad1d17066e152602c3f88e5bf2b /src/stereo_picture_asset.cc
parent242d42f32a1fbcf9fb1fe64d8c98e907e407703d (diff)
No-op: whitespace.
Diffstat (limited to 'src/stereo_picture_asset.cc')
-rw-r--r--src/stereo_picture_asset.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/stereo_picture_asset.cc b/src/stereo_picture_asset.cc
index 452c3675..76c353f1 100644
--- a/src/stereo_picture_asset.cc
+++ b/src/stereo_picture_asset.cc
@@ -39,7 +39,7 @@ StereoPictureAsset::StereoPictureAsset (boost::filesystem::path file)
if (ASDCP_FAILURE (r)) {
boost::throw_exception (MXFFileError ("could not open MXF file for reading", file.string(), r));
}
-
+
ASDCP::JP2K::PictureDescriptor desc;
if (ASDCP_FAILURE (reader.FillPictureDescriptor (desc))) {
boost::throw_exception (DCPReadError ("could not read video MXF information"));
@@ -82,13 +82,13 @@ StereoPictureAsset::equals (shared_ptr<const Asset> other, EqualityOptions opt,
if (ASDCP_FAILURE (r)) {
boost::throw_exception (MXFFileError ("could not open MXF file for reading", file().string(), r));
}
-
+
ASDCP::JP2K::MXFSReader reader_B;
r = reader_B.OpenRead (other->file().string().c_str());
if (ASDCP_FAILURE (r)) {
boost::throw_exception (MXFFileError ("could not open MXF file for reading", file().string(), r));
}
-
+
ASDCP::JP2K::PictureDescriptor desc_A;
if (ASDCP_FAILURE (reader_A.FillPictureDescriptor (desc_A))) {
boost::throw_exception (DCPReadError ("could not read video MXF information"));
@@ -97,11 +97,11 @@ StereoPictureAsset::equals (shared_ptr<const Asset> other, EqualityOptions opt,
if (ASDCP_FAILURE (reader_B.FillPictureDescriptor (desc_B))) {
boost::throw_exception (DCPReadError ("could not read video MXF information"));
}
-
+
if (!descriptor_equals (desc_A, desc_B, note)) {
return false;
}
-
+
shared_ptr<const StereoPictureAsset> other_picture = dynamic_pointer_cast<const StereoPictureAsset> (other);
DCP_ASSERT (other_picture);
@@ -118,7 +118,7 @@ StereoPictureAsset::equals (shared_ptr<const Asset> other, EqualityOptions opt,
note (DCP_ERROR, e.what ());
return false;
}
-
+
if (!frame_buffer_equals (
i, opt, note,
frame_A->left_j2k_data(), frame_A->left_j2k_size(),
@@ -126,7 +126,7 @@ StereoPictureAsset::equals (shared_ptr<const Asset> other, EqualityOptions opt,
)) {
return false;
}
-
+
if (!frame_buffer_equals (
i, opt, note,
frame_A->right_j2k_data(), frame_A->right_j2k_size(),