5419 Commits (ce2c1d28b32186d9ecc405425d3953b7a026d058)

Author SHA1 Message Date
James Jackson-South ce2c1d28b3 Optimization pass. 6 years ago
James Jackson-South 5b7c4b9cb0 Reorganize files 6 years ago
Franz Häring 2d3ab4ebd5 New overloads for binary threshold operations. The new argument ColorComponent defines the scalar color component to be used for threshold comparison: Luminance, Saturation or MaxChroma. Luminance is default and identical to previous versions. Saturation is the HSL saturation component. MaxChroma is calculated as the maximum of YCbCr chroma value, i.e. Cb and Cr distance from achromatic value. Background: This component shall discriminate colorful parts from achromatic parts in human perception. Very dark pixels, which are perceived as near black, can have high HSL saturation values if e.g. (rgb)==(4,0,0); this would definitely not be perceived as colorful by a human. The MaxChroma component will calculate them low. 6 years ago
Nicolas Portmann f7d4675482 Cleanup 6 years ago
Nicolas Portmann af4e4ff018 Fix vectorized subsampling 6 years ago
Brian Popow de191995e1 Add check for Avx2 in ResizeKernel, fix #1546 6 years ago
Anton Firszov 7e0a43bcdb change inlining options for RowOctet.Update() 6 years ago
Anton Firszov 1968d3724f better JpegEncoder profiling/benchmarks 6 years ago
James Jackson-South ac3eb80374 Optimize and fix warnings. 6 years ago
James Jackson-South 6cba30874f Cleanup 6 years ago
James Jackson-South a92c01fe50 Use a loop instead. 6 years ago
James Jackson-South 7b97ccef1f Update Block8x8F.cs 6 years ago
James Jackson-South 742aaad004 Move statics to local 6 years ago
James Jackson-South 3e29c4e019 Try explicit layout 6 years ago
James Jackson-South f3c74547b4 manually inline meythod 6 years ago
James Jackson-South b0241b04b6 Disable inlining 6 years ago
James Jackson-South 6c798c92a8 Remove compiler conditional for static fields 6 years ago
James Jackson-South 61a45ccd29 Fix typo 6 years ago
James Jackson-South 9b016e97d7 Add AVX Block8x8F.DivideRoundAll 6 years ago
James Jackson-South e47c8fcb90 Remove bounds checks during Emit 6 years ago
James Jackson-South 91a5d4c031 Update RowOctet tests 6 years ago
James Jackson-South f1a8e6e763 Santize descriptor bounds. Fixes #1530 6 years ago
Stefan Nikolei a060d5c37e USE SIXLABORS_TESTING instead of CI Env var 6 years ago
Stefan Nikolei cf63cd2218 use when and otherwise in csproj 6 years ago
Jeff Skaistis fb508475eb Change size guards for WrapMemory to allow Memory/IMemoryOwner blocks larger than the required image size. 6 years ago
Stefan Nikolei e5f640182c use CI environment variable to also build on .net5.0 6 years ago
James Jackson-South a58311a4aa Use less expensive update for RowOctet 6 years ago
Stefan Nikolei 58491c9c12 remove .net50 target framework 6 years ago
Stefan Nikolei 862c939a3a Add net5.0 target 6 years ago
Nicolas Portmann 81c728e05b Vectorize Scale16X16To8X8 6 years ago
Sergio Pedri ed4cfaa0ae Workaround for incorrect codegen on .NET 5 6 years ago
Sergio Pedri e68a21de52 Add missing indexing update 6 years ago
Sergio Pedri e0b2defde2 Add unrolled FMA loop 6 years ago
Sergio Pedri 0e465cd8c3 Revert to FMA, codegen improvements 6 years ago
Sergio Pedri 1169e73915 Switch from FMA to AVX2 instructions 6 years ago
Sergio Pedri c825eccd10 Improved loading of factors using permutation 6 years ago
Sergio Pedri 1033297a37 Add initial FMA resize kernel convolve implementation 6 years ago
Nicolas Portmann 5033e3eb95 Improve algorithm 6 years ago
Nicolas Portmann 93099d1585 Add unit tests for both converters 6 years ago
Nicolas Portmann 429696bd5e Fix mistakes in final touches 6 years ago
Nicolas Portmann efd4d22665 Add initial vectorized implementation with benchmarks 6 years ago
Brian Popow a968b289a0 Use this.maxColors when getting size of the reduced palette, fixes #1505 6 years ago
Petar Tasev 62a01b7475 Split PixelConversionModifiers into a separate function. 6 years ago
Petar Tasev 0df047222b Add PremultiplyAlpha to ResizeOptions 6 years ago
James Jackson-South 3cbd8e393d Use explicit threadsafety declaration. 6 years ago
James Jackson-South bf9f25a142 Use properties for true Lazy. 6 years ago
James Jackson-South 016de29898 Fix alpha companding. 6 years ago
James Jackson-South 1ea6a00338 intitial implementation 6 years ago
James Jackson-South 89007db1a6 Minor style cleanup. 6 years ago
Sergio Pedri 14d2af4bdd Codegen improvements to Numerics.Clamp 6 years ago