diff options
author | TommyTheTerrible <81168766+TommyTheTerrible@users.noreply.github.com> | 2024-07-16 21:02:57 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-17 04:02:57 +0300 |
commit | 2f83b0aed2ad123b86faad5b4cb1b55abc0a3a85 (patch) | |
tree | 63f3fba5c02a220303afce84af6f6314e57a2036 /indra/newview/llvocache.cpp | |
parent | bd0baebb6eea478260880d04e34f6b3181d883a6 (diff) |
Fix: Update calcDataSizeJ2C to pyramid-base file size estimation (#2032)
* Fix: Update calcDataSizeJ2C to pyramid-base file size estimation
Used the loop from the previous LayerFactored method to create a more accurate file size estimation by walking up the pyramid tiles.
Sizes are much larger in many cases and eliminate partial decoder issues with OpenJPEG.
KDU not tested but expected to produce better files as well.
Should also stop decode failures on tiny or very rectangular dimensions.
---------
Co-authored-by: Andrey Lihatskiy <alihatskiy@productengine.com>
Diffstat (limited to 'indra/newview/llvocache.cpp')
0 files changed, 0 insertions, 0 deletions