Cinder
7b3ca5b8fe
tnbytes may be up to max int
2016-09-25 09:58:24 -05:00
John Hurliman
3fb3d19b52
* Reverting the CSJ2K Array.Copy -> Buffer.BlockCopy optimization for now since I didn't properly update the length parameter the first time around (LIBOMV-861)
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3415 52acb1d6-8a22-11de-b505-999d5b087335
2010-08-06 03:11:08 +00:00
John Hurliman
45e7dd675f
CSJ2K:
...
* Fixed decoding to System.Drawing.Image for single component textures
* Improved exception throwing
* Removed unused ProgressWatch class
* Sanity check for seeking to a negative offset, gracefully handle
* Small speed improvement to the inverse wavelet transform by using Buffer.BlockCopy() and avoiding extra typecasts
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3412 52acb1d6-8a22-11de-b505-999d5b087335
2010-08-05 20:49:03 +00:00
John Hurliman
90c80753ac
* Remove unused debug logging in CSJ2K that was eating up memory (LIBOMV-861)
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3409 52acb1d6-8a22-11de-b505-999d5b087335
2010-08-04 23:49:56 +00:00
John Hurliman
9adcfa8570
* Fix for a regression in the previous commit (LIBOMV-861)
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3407 52acb1d6-8a22-11de-b505-999d5b087335
2010-08-04 22:14:23 +00:00
John Hurliman
984c1c6e4d
* Fixed an EOC marker sanity check in CSJ2K that was potentially reading past the end of the stream
...
* If CSJ2K packet decoding tries to read past the end of the stream, just terminate the decoding and return what we have so far instead of throwing an exception. This experimental fix should improve the JPEG2000 decoding success rate
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3406 52acb1d6-8a22-11de-b505-999d5b087335
2010-08-04 22:01:25 +00:00
John Hurliman
2e87329e3b
* Replacing NotImplementedError with System.NotImplementedException
...
* CSJ2K does not have a helper function for encoding at the moment! Need to look into that
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3143 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-13 22:31:18 +00:00
John Hurliman
8869b9e344
Adding layer boundary tracking and J2kImage.GetLayerBoundaries() function to CSJ2K
...
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3121 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-01 00:25:27 +00:00
Latif Khalifa
1f9f3ad00b
* Fixing lots of warnings and some compile time errors in checked mode in CSJ2K
...
* Removing CSJ2K.dll from bin/ now that we have it in prebuild.xml
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3119 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-01 00:19:01 +00:00
John Hurliman
eff1ff4b41
* Cleaned up the CSJ2K source (removed unnecessary projects and an unused file) and added it to prebuild.xml
...
* Fixed a typo in OpenJPEG.J2KLayerInfo (only affected debug display)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3118 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-01 00:09:52 +00:00