Commit Graph

40 Commits

Author SHA1 Message Date
Cinder Biscuits
093f19b391 Generate AssemblyInfo at build time and have appveyor patch configs with version number 2017-09-04 18:13:38 -05:00
Cinder Biscuits
d0be662db0 Bump Static assembly info version number 2017-09-04 17:27:05 -05:00
Cinder Biscuits
117a69a968 VS tricked me 2017-09-04 09:42:18 -05:00
Cinder Biscuits
7e09972cbb Switch back to Compat System.Drawing again. :( 2017-09-04 09:22:53 -05:00
Cinder Biscuits
a68a046a45 Build .NET 4.6.1 too 2017-09-03 21:09:23 -05:00
Cinder Biscuits
0b128c1291 Switch back to mono System.Drawing with changed namespace because of a conflict between .net standard and mono on System.Drawing.Color. :( 2017-09-03 20:54:34 -05:00
Cinder Biscuits
c8fca6ad2e Fixing stuff 2017-09-03 18:26:06 -05:00
Cinder Biscuits
79d80129ab Easy does it... 2017-09-03 17:24:14 -05:00
Cinder Biscuits
8df81c6888 Change up targets on a few 2017-09-03 16:56:46 -05:00
Cinder Biscuits
be1778715d Sick of these 2017-09-03 16:50:55 -05:00
Cinder Biscuits
b7ab19e711 It complains on this 2017-09-03 15:33:51 -05:00
Cinder Biscuits
73ee1b483a Remove incompatible files that were being ignored before 2017-09-03 15:31:00 -05:00
Cinder Biscuits
63201c4c79 Switch target framework to .NET Standard 2.0 2017-09-03 14:25:41 -05:00
Cinder Biscuits
8f661ed587 Cleanup unused params and turn off automatic assembly info generation 2017-09-03 14:04:43 -05:00
Cinder Biscuits
15ace2356d VS globs for these now 2017-09-03 13:07:37 -05:00
Cinder Biscuits
36a071f891 First attempt at converting csproj files to VS2017 format 2017-09-03 12:55:28 -05:00
Cinder Biscuits
6fcb14800b Update to newer version of CSJ2K from github.com/cureos/csj2k with modification 2017-05-16 19:41:03 -05:00
Cinder Biscuits
c719ef284c Minor changes 2017-05-16 18:54:31 -05:00
Drake Arconis
42517a3f30 Enable obsolete/deprecation warnings 2017-03-24 00:31:37 -04:00
Ricky C
556e622b4e Dropped premake/prebuild system in favor of straight VS solution and projects. 2017-03-12 08:03:16 -07:00
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
65deb8f71e Reverting previous commit (LIBOMV-861)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3414 52acb1d6-8a22-11de-b505-999d5b087335
2010-08-05 21:47:12 +00:00
John Hurliman
c4e7cb967d * Add two more CSJ2K logging messages to make it more clear why a decode failed (LIBOMV-861)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3413 52acb1d6-8a22-11de-b505-999d5b087335
2010-08-05 21:43:12 +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
03901afe1e * Replaced most CSJ2K Array.Copy() calls with the faster Buffer.BlockCopy() for a ~17% speedup (LIBOMV-861)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3411 52acb1d6-8a22-11de-b505-999d5b087335
2010-08-05 19:18:24 +00:00
John Hurliman
77e55fa488 CSJ2K improvements (LIBOMV-861):
* J2kImage.FromStream() can now handle five component textures (the fifth component is ignored since System.Drawing.Image only supports up to four components
* Fixed incorrect RGBA ordering for four and five component textures

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3410 52acb1d6-8a22-11de-b505-999d5b087335
2010-08-05 00:32:36 +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
a2b82eb7fe * Fixed CSJ2K decoding error messages about "COM marker registered as 0x0 unknown"
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3404 52acb1d6-8a22-11de-b505-999d5b087335
2010-08-02 19:36:21 +00:00
John Hurliman
98248b6582 Added a missing file for the previous commit
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3243 52acb1d6-8a22-11de-b505-999d5b087335
2010-01-06 23:54:44 +00:00
John Hurliman
66e1017103 * Initial implementation of the J2KEncoder class. Currently, it only supports lossy single layer RGB textures
* Breaking change to the OSD format for permissions. The field naming convention has been corrected to match the rest of the OSD serialization methods
* Added serialization support to ParticleSystem
* Finished TextureEntry serialization support

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3242 52acb1d6-8a22-11de-b505-999d5b087335
2010-01-06 23:45:43 +00:00
John Hurliman
8e3d1bb711 * Minor adjustment in CSJ2K to dispose MemoryStreams when it creates them
* Replaced all Packet field properties with simple class members. Big internal change but no API difference
* TextureEntry GetBytes() now disposes the MemoryStream it creates
* Added LocklessQueue.Count and LocklessQueue.Clear()

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3169 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-24 07:10:47 +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
d71bf4c6dd Bug fix in CSJ2K to handle both binary and latin-15 comments (this one should probably be pushed upstream)
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3122 52acb1d6-8a22-11de-b505-999d5b087335
2009-10-02 23:53:16 +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
Jim Radford
9e3293fa91 LIBOMV-703 Initial import of CSJ2K r24175 Source including compiled binary in bin. This is a managed Jpeg2000 encoder/decoder library to replace openjpeg. *Note: this has not been added to prebuild.xml and is not rebuilt each compile.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3117 52acb1d6-8a22-11de-b505-999d5b087335
2009-09-30 23:50:03 +00:00