Mercurial > hg > orthanc-wsi
comparison Framework/Inputs/TiledPyramidStatistics.cpp @ 318:8ad12abde290
sparse re-encoding with OpenSlide (notably for MIRAX format)
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 11 Sep 2024 16:11:16 +0200 |
parents | 0683312e21ba |
children |
comparison
equal
deleted
inserted
replaced
317:f611fb47d0e8 | 318:8ad12abde290 |
---|---|
62 return false; | 62 return false; |
63 } | 63 } |
64 } | 64 } |
65 | 65 |
66 | 66 |
67 Orthanc::ImageAccessor* TiledPyramidStatistics::DecodeTile(unsigned int level, | 67 Orthanc::ImageAccessor* TiledPyramidStatistics::DecodeTile(bool& isEmpty, |
68 unsigned int level, | |
68 unsigned int tileX, | 69 unsigned int tileX, |
69 unsigned int tileY) | 70 unsigned int tileY) |
70 { | 71 { |
71 { | 72 { |
72 boost::mutex::scoped_lock lock(mutex_); | 73 boost::mutex::scoped_lock lock(mutex_); |
73 countDecodedTiles_++; | 74 countDecodedTiles_++; |
74 } | 75 } |
75 | 76 |
76 return source_.DecodeTile(level, tileX, tileY); | 77 return source_.DecodeTile(isEmpty, level, tileX, tileY); |
77 } | 78 } |
78 } | 79 } |