diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-08-30 22:49:58 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-08-30 22:49:58 +0100 |
| commit | 233a81ed87d512c2af9bb8ca3d9e78be86372054 (patch) | |
| tree | e5916be38f70bdf696a8c61769ee23e548c38a06 /src/picture_asset.cc | |
| parent | a1824e65aea9bfec655ea19ef9cbc71b9d3ec9d1 (diff) | |
Untested code to optionally reduce resolution on extracting image frames.
Diffstat (limited to 'src/picture_asset.cc')
| -rw-r--r-- | src/picture_asset.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/picture_asset.cc b/src/picture_asset.cc index 21da250a..4c66bd02 100644 --- a/src/picture_asset.cc +++ b/src/picture_asset.cc @@ -149,8 +149,8 @@ PictureAsset::equals (shared_ptr<const Asset> other, EqualityOptions opt) const } /* Decompress the images to bitmaps */ - opj_image_t* image_A = decompress_j2k (const_cast<uint8_t*> (buffer_A.RoData()), buffer_A.Size ()); - opj_image_t* image_B = decompress_j2k (const_cast<uint8_t*> (buffer_B.RoData()), buffer_B.Size ()); + opj_image_t* image_A = decompress_j2k (const_cast<uint8_t*> (buffer_A.RoData()), buffer_A.Size (), 0); + opj_image_t* image_B = decompress_j2k (const_cast<uint8_t*> (buffer_B.RoData()), buffer_B.Size (), 0); /* Compare them */ |
