mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 14:16:07 +08:00
Attempting to improve the robustness of texture decoding by always ignoring LayerInfo.End values and creating guessed default layer boundaries on failed decodes Changed a noisy J2K decode log message from Info to Debug Replacing openjpeg-dotnet decoding with managed CSJ2K decoding. Should be much more reliable, faster, and use less memory
* Re-added openjpeg-dotnet files since they are used elsewhere in OpenSim * Updated prebuild.xml with a reference to CSJ2K * Renamed IJ2KDecoder and J2KDecoder member names to follow standard naming conventions * Removed j2kDecodeCache cruft and replaced it with the OpenSim cache system * Rewrote the default layer boundary algorithm to use percentages instead of an exponent * Switched from an infinite in-memory cache to an expiring cache (10 minute timeout) * Slightly quieted logging errors for failed texture decodes
This commit is contained in:
@@ -351,7 +351,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
J2KDecodedCallback(m_requestedUUID, new OpenJPEG.J2KLayerInfo[0]);
|
||||
}
|
||||
// Send it off to the jpeg decoder
|
||||
m_j2kDecodeModule.decode(m_requestedUUID, Data, J2KDecodedCallback);
|
||||
m_j2kDecodeModule.BeginDecode(m_requestedUUID, Data, J2KDecodedCallback);
|
||||
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user