Skip to content

Commit

Permalink
Add maximumSampleCount limit to CompositeDeepScanLine (AcademySoftwar…
Browse files Browse the repository at this point in the history
…eFoundation#1230)

* Add maximumSampleCount limit to CompositeDeepScanLine

Signed-off-by: Peter Hillman <peterh@wetafx.co.nz>

* maximumSampleCount checks off by default; enabled in checkOpenEXRFile

Signed-off-by: Peter Hillman <peterh@wetafx.co.nz>
Signed-off-by: Cary Phillips <cary@ilm.com>
  • Loading branch information
peterhillman authored and cary-ilm committed Apr 5, 2022
1 parent 4c13688 commit c431d89
Show file tree
Hide file tree
Showing 4 changed files with 620 additions and 430 deletions.
7 changes: 7 additions & 0 deletions src/bin/exrcheck/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,14 @@ main(int argc, char **argv)
}
else if (!strcmp (argv[i], "-m"))
{
//
// note for further memory reduction, calls to the folowing could be added here
// CompositeDeepScanLine::setMaximumSampleCount();
// Header::setMaxImageSize();
// Header::setMaxTileSize();

reduceMemory = true;

}
else if (!strcmp (argv[i], "-t"))
{
Expand Down
Loading

0 comments on commit c431d89

Please sign in to comment.