aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Agent/TextureSender/J2KDecoderModule.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2010-02-22* Adds CreatorID to asset metadata. This is just the plumbing to support ↵John Hurliman1-1/+1
CreatorID, it doesn't modify database backends or OAR files to support storing/loading it
2010-01-29Revert "Updates all IRegionModules to the new style region modules."Melanie1-26/+7
This reverts commit ec3c31e61e5e540f822891110df9bc978655bbaf.
2010-01-23Updates all IRegionModules to the new style region modules.Revolution1-7/+26
Signed-off-by: Melanie <melanie@t-data.com>
2009-11-09minor: remove some mono compiler warningsJustin Clark-Casey (justincc)1-2/+2
2009-11-05Changing the AssetBase constructors to avoid initializing assets with an ↵John Hurliman1-4/+3
unknown asset type, and log an error if it ever does happen
2009-10-02* Creates Util.UTF8 and switches some references of Encoding.UTF8 to ↵John Hurliman1-2/+2
Util.UTF8 (not all references were switched since not all OpenSim libraries reference OpenSim.Framework) * Shrinks the largest in-memory object, the LLRAW.HeightmapLookupValue struct (only used for exporting to LLRAW terrain files), to the minimum possible size. This seems to have the odd side effect of cutting the size of the two double[256,256] terrain objects in half. Possibly an alignment optimization?
2009-10-01* Rewrote LLImageManager to use a real priority queue and hold minimal stateJohn Hurliman1-1/+0
* Rewrote the logic in J2KImage.RunUpdate() * Added a default avatar texture (I made it myself)
2009-09-30Attempting to improve the robustness of texture decoding by always ignoring ↵John Hurliman1-528/+160
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
2009-09-30Revert "Attempting to improve the robustness of texture decoding by always ↵Melanie1-68/+168
ignoring LayerInfo.End values and creating guessed default layer boundaries on failed decodes Changed a noisy J2K decode log message from Info to Debug" This reverts commit 22cc31135e2989df28e0756eb3b03f85530d5555.
2009-09-30Attempting to improve the robustness of texture decoding by always ignoring ↵John Hurliman1-168/+68
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
2009-10-01Formatting cleanup.Jeff Ames1-1/+1
2009-08-29Add a slow cache cleaner thread. By default, the thread starts a cleanupMelanie1-7/+47
sweep every 10 minutes. If any texture data is older than 12 hours, it is regenerated and the memory cache is refreshed. After each decode, the thread delays for 5 seconds.
2009-08-29the beginning of some changes to the decode cache to address concerns aboutMelanie1-9/+30
system load. This commit effectively disables expiration.
2009-08-29Make the j2kDecodeCache expire after 50 minutes (configurable). Alse allowsMelanie1-4/+24
setting the path for it. This commit introduces NEW DEFAULT BEHAVIOR. To retain the old behavior (eternal cache) you will need to change your OpenSim.ini and set the timeout to 0.
2009-07-25* Updates libOMV to version 0.7.0Teravus Ovares1-1/+2
* Uses mantis #3811 as a base (thanks jhuliman) with changes. * E-mail regarding interface changes sent to the opensim-dev list * Archive: https://lists.berlios.de/pipermail/opensim-dev/2009-July/007219.html
2009-06-01Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames1-1/+1
LICENSE.txt.
2009-05-04* Refactor: Simplify InventoryFolderImpl. No functional change.Justin Clarke Casey1-5/+1
2009-04-13* Remove null reference exception in the J2KDecoderModule's J2K repair ↵Teravus Ovares1-2/+14
routine for when the asset we're looking up isn't an image at all. (did someone set the texture on the side of a primitive to some other kind of asset with the script engine?)
2009-03-28* Adding some heuristic error correction to the j2k decoder module to combat ↵Teravus Ovares1-1/+83
some of the situations that we see in mantis 3049 . * This may help people on certain 64 bit systems where the end byte position of each layer data packet is incorrect but the start positions are correct. * The console will still be extremely chatty with 'Inconsistent packet data in JPEG2000 stream:' messages, however.. if OpenSimulator was able to recover the data, it will say HURISTICS SUCCEEDED
2009-02-12* optimized usings.lbsa711-5/+4
2009-02-09starting phase 2 of the OpenSim.Region.Environment commit: relocatingDr Scofield1-1/+1
OpenSim.Region.Environment.Modules.Agent en bloc to OpenSim.Region.CoreModules
2009-02-06This changeset is the step 1 of 2 in refactoringDr Scofield1-2/+2
OpenSim.Region.Environment into a "framework" part and a modules only part. This first changeset refactors OpenSim.Region.Environment.Scenes, OpenSim.Region.Environment.Interfaces, and OpenSim.Region.Interfaces into OpenSim.Region.Framework.{Interfaces,Scenes} leaving only region modules in OpenSim.Region.Environment. The next step will be to move region modules up from OpenSim.Region.Environment.Modules to OpenSim.Region.CoreModules and then sort out which modules are really core modules and which should move out to forge. I've been very careful to NOT BREAK anything. i hope i've succeeded. as this is the work of a whole week i hope i managed to keep track with the applied patches of the last week --- could any of you that did check in stuff have a look at whether it survived? thx!
2009-01-25* Adds console command, 'predecode-j2k <number of threads>' to load all of ↵Teravus Ovares1-1/+2
the texture assets from the scene and decode the j2k layer data to cache. The work is split between the number of threads you specify. A good number of threads value is the number of cores on your machine minus 1. * Increases the number of ImageDataPackets we send per PriorityQueue pop and tweak it so that the number of packets is ( (2 * decode level) + 1 ) * 2, and (((2 * (5-decode level)) + 1) * 2). The first one sends more data for low quality textures, the second one sends more data for high quality textures.
2009-01-23* Adds a synchronous jpeg decode for pre-caching purposesTeravus Ovares1-0/+10
* When the DynamicTextureModule creates a j2k image, pre-cache the decode so that it doesn't stall any client threads.
2009-01-22* Added some more commentsTeravus Ovares1-1/+26
* Fixed up an outgoing packet * I <3 OpenSimulator
2009-01-22* Add File cache for j2k layer decodes. This will make it so that the ↵Teravus Ovares1-38/+304
server will decode the j2k stream once and cache it to disk so that the cache is saved across sim restarts.
2009-01-21* More friendly OpenJpeg error handling.Teravus Ovares1-29/+45
* Often times now the only reason OpenJpeg doesn't work is because it requires Glibc 2.4 The error messages reflect that. * In J2kDecoder module, It stops trying to decode modules if it encounters a dllnotfound exception and instead sends a full resolution layer that causes the texture sender to only send the full resolution image. (big decrease in texture download speed, but it's better then nasty repeating error messages)
2009-01-19* Set SVN PropertiesTeravus Ovares1-215/+215
2009-01-19* Progressive texture patch + PriorityQueue put into the LLClient namespace.Teravus Ovares1-0/+215
* Updates LibOMV to r2362