182 Commits
Author SHA1 Message Date
Jeremy Pritts 79295aa258 Bump version to 2.0.0 2.0.0 2023-09-30 12:44:40 -04:00
Jeremy Pritts b721294e62 Use safe min and max methods for generic colors 2023-09-30 12:20:30 -04:00
Jeremy Pritts f3f7b69954 Color.GetChannelCount 2023-09-30 12:16:45 -04:00
Jeremy Pritts 6980a32759 More efficient Yuy2 decoding
* Rename ColorExtensions to Color
* Remove constraints on NumericConversion.GetXXXValue()
2023-09-30 12:13:49 -04:00
Jeremy Pritts 81e2a38829 Refactor Color Metadata
* Remove RgbaAttribute
* Add IColorBase interface
* Add ChannelType static property
* Add ChannelsAreFullyUtilized static property
2023-09-30 11:39:15 -04:00
Jeremy Pritts d496a13d63 Rename type parameters 2023-09-30 11:02:04 -04:00
Jeremy Pritts 850f7f335a Formatting 2023-09-30 10:49:53 -04:00
Jeremy Pritts 78a8f18375 Only use safe code for AtcDecoder 2023-09-30 10:31:17 -04:00
dependabot[bot] 696a677bc3 Bump NUnit.Analyzers from 3.7.0 to 3.8.0
Bumps [NUnit.Analyzers](https://github.com/nunit/nunit.analyzers) from 3.7.0 to 3.8.0.
- [Release notes](https://github.com/nunit/nunit.analyzers/releases)
- [Changelog](https://github.com/nunit/nunit.analyzers/blob/master/CHANGES.txt)
- [Commits](https://github.com/nunit/nunit.analyzers/compare/3.7.0...3.8.0)

---
updated-dependencies:
- dependency-name: NUnit.Analyzers
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-09-26 01:53:06 -04:00
Jeremy Pritts 1ef781f072 Astc span output 2023-09-17 00:42:01 -04:00
Jeremy Pritts 2a41577d28 Astc BitTransferSigned use ref instead of pointer 2023-09-17 00:26:00 -04:00
Jeremy Pritts b3371b34d3 Use span for some Astc helper methods 2023-09-17 00:19:01 -04:00
Jeremy Pritts 05c961fcac AstcDecoder: replace input pointers with span 2023-09-16 23:56:00 -04:00
Jeremy Pritts 061968eeb8 Bump nuget references 2023-09-16 19:09:49 -04:00
dependabot[bot] 9a02c7149b Bump BenchmarkDotNet from 0.13.7 to 0.13.8
Bumps [BenchmarkDotNet](https://github.com/dotnet/BenchmarkDotNet) from 0.13.7 to 0.13.8.
- [Release notes](https://github.com/dotnet/BenchmarkDotNet/releases)
- [Commits](https://github.com/dotnet/BenchmarkDotNet/compare/v0.13.7...v0.13.8)

---
updated-dependencies:
- dependency-name: BenchmarkDotNet
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-09-10 22:17:37 -04:00
Jeremy Pritts 705dc88bbb Use more Span in AstcDecoder 2023-09-05 23:48:38 -04:00
Jeremy Pritts 3187e92d6b ref BlockData instead of BlockData* 2023-09-05 23:38:29 -04:00
Jeremy Pritts b4863dcae7 Use less pointers in AstcDecoder 2023-09-05 23:22:01 -04:00
Jeremy Pritts d416ad0318 Astc tests 2023-09-05 23:19:30 -04:00
Jeremy Pritts 8220d27370 Android Textures 2023-09-05 23:18:58 -04:00
Jeremy Pritts 43d7db671e Project for paths 2023-09-05 21:44:59 -04:00
dependabot[bot] 6fb2c430af Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-09-04 22:21:42 -04:00
dependabot[bot] 14f22a1b28 Bump Microsoft.NET.Test.Sdk from 17.7.1 to 17.7.2
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.7.1 to 17.7.2.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md)
- [Commits](https://github.com/microsoft/vstest/compare/v17.7.1...v17.7.2)

---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-08-29 21:34:49 -04:00
dependabot[bot] 52d6613263 Bump Microsoft.NET.Test.Sdk from 17.7.0 to 17.7.1
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.7.0 to 17.7.1.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md)
- [Commits](https://github.com/microsoft/vstest/compare/v17.7.0...v17.7.1)

---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-08-16 22:16:19 -04:00
dependabot[bot] 301212b278 Bump BenchmarkDotNet from 0.13.6 to 0.13.7
Bumps [BenchmarkDotNet](https://github.com/dotnet/BenchmarkDotNet) from 0.13.6 to 0.13.7.
- [Release notes](https://github.com/dotnet/BenchmarkDotNet/releases)
- [Commits](https://github.com/dotnet/BenchmarkDotNet/compare/v0.13.6...v0.13.7)

---
updated-dependencies:
- dependency-name: BenchmarkDotNet
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-08-06 22:00:39 -04:00
dependabot[bot] 07812e1f48 Bump Microsoft.NET.Test.Sdk from 17.6.3 to 17.7.0
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.6.3 to 17.7.0.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md)
- [Commits](https://github.com/microsoft/vstest/compare/v17.6.3...v17.7.0)

---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-08-06 21:55:12 -04:00
Jeremy Pritts 16cdf61406 Editor config 2023-08-02 20:17:34 -04:00
Jeremy Pritts e5da67340b Aggressive Optimization 2023-08-02 20:14:28 -04:00
Jeremy Pritts 750dae931e Remove test method in NumericConversion 2023-08-02 20:05:12 -04:00
Jeremy Pritts f05609904a Revert to double computations in ColorRGB9e5 2023-08-02 20:03:19 -04:00
Jeremy Pritts f90871bd03 Support Int128 and UInt128 2023-08-02 20:00:50 -04:00
Jeremy Pritts c578ab204b Remove ColorRGB32Half
* Related: #17
2023-08-02 17:27:57 -04:00
Jeremy Pritts 699e437511 Higher precision for ColorRGB9e5 2023-08-02 17:20:04 -04:00
dependabot[bot] 8b7644d2bf Bump BenchmarkDotNet from 0.13.5 to 0.13.6
Bumps [BenchmarkDotNet](https://github.com/dotnet/BenchmarkDotNet) from 0.13.5 to 0.13.6.
- [Release notes](https://github.com/dotnet/BenchmarkDotNet/releases)
- [Commits](https://github.com/dotnet/BenchmarkDotNet/compare/v0.13.5...v0.13.6)

---
updated-dependencies:
- dependency-name: BenchmarkDotNet
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2023-08-02 11:56:34 -04:00
Jeremy Pritts aea54da07a Generic Color Structs
* Resolves #42
* Removes many of the nongeneric structs
* Unit tests for ColorRGB32Half are disabled (#17)
2023-08-02 03:52:34 -04:00
Jeremy Pritts 18a5b27333 Fix bug in NumericConversion 2023-08-02 01:33:37 -04:00
Jeremy Pritts ddcb97be28 Support int, uint, long, ulong, and decimal in IColor<T> 2023-08-01 21:51:29 -04:00
Jeremy Pritts 959f6584b2 Remove HalfConstants 2023-08-01 17:58:11 -04:00
Jeremy Pritts 8f4390a315 Apply readonly to color properties and methods 2023-08-01 16:50:17 -04:00
Jeremy Pritts ccd0276d99 Fix build error 2023-08-01 16:41:39 -04:00
Jeremy Pritts 4064c799a7 Mark some methods as safe 2023-08-01 10:01:34 -04:00
Jeremy Pritts 093a810e30 DirectBitmap Improvements:
* Make readonly
* Cache ImageWriter instance
* Use IColor<T> static properties
2023-08-01 09:59:02 -04:00
Jeremy Pritts 20c835e821 Add static abstract properties to IColor<T> 2023-08-01 09:54:32 -04:00
Jeremy Pritts 243caa5bf8 .NET 7 only 2023-08-01 09:45:05 -04:00
Jeremy Pritts 958b831205 Bump version and add source link 1.3.0.0 2023-07-01 14:22:50 -04:00
Jeremy Pritts 2085dbcce4 Add methods to DirectBitmap 2023-07-01 14:16:50 -04:00
Jeremy Pritts d6ad4d5a6f More ETC memory safety 2023-07-01 14:01:24 -04:00
Jeremy Pritts 1a5ca1405e Validate ASTC block dimensions 2023-07-01 13:56:53 -04:00
Jeremy Pritts d5da591f92 Use PolySharp instead of Nullable and IsExternalInit 2023-07-01 12:27:04 -04:00
Jeremy Pritts dd129401c7 Use ArrayPool when decompressing Bc4 and Bc5 2023-06-30 00:51:57 -04:00