nfnt
579058ccc0
Test for color-casts due to wrong alpha-channel scaling.
il y a 9 ans
minodisk
87f723015c
Test same color with some color modes
il y a 9 ans
minodisk
f430a41192
Fix wrong color with RGBA input
il y a 9 ans
nfnt
563154816f
Remove debugging directives.
il y a 9 ans
nfnt
5a6676c19e
Add test case for input data with pre-multiplied-alpha.
il y a 9 ans
jst
618f7ff07a
Add test case for correct pixel coordinates after resize.
il y a 10 ans
Charlie Vieth
b09281bd36
Update benchmarks to focus on conversion performance.
Benchmark each interpolation function for RGBA and YCbCr images.
Reduce the image size used when benchmarking to reduce the influence of
memory performance on results.
il y a 10 ans
jst
9485f5475a
Return input image if output dimensions equal input dimensions.
il y a 10 ans
jst
20c6afea04
Remove unnecessary benchmark
il y a 10 ans
jst
220cad3343
Add simple test case for input image with non-trivial bounds.
il y a 10 ans
jst
016a61cd31
Optimize data-locality for a huge increase in processing speed.
This is a complete rewrite! The tight scaling loop needs data locality for optimal performance. The old version used lots of pointer redirections to access image data which was bad for data locality. By providing the complete loop for each image type, this problem is solved. Unfortunately this increases code duplication but the result should be worth it: I could measure a ~6x speed-up for certain test cases!
il y a 10 ans
jst
446eea2f7b
Remove LUT based filters.
Caching kernel weights makes using the LUT based approach obsolete. Now they seem to be even slower than their counterparts.
il y a 11 ans
jst
8f586c4f06
Add benchmarks to compare execution times.
Run "go test -bench LargeJpegThumb" to benchmark all functions at once.
il y a 11 ans
jst
252ccc84a2
Add benchmarks for Lanczos3Lut to compare it with Lanczos3 performance.
il y a 11 ans
jst
da95f74904
go fmt
il y a 12 ans
jst
84039c403b
Test for correct canvas size.
il y a 12 ans
Jason Summers
3d9094eb9e
Center the resized image on the canvas, instead of shifting it slightly
il y a 12 ans
jst
3e06045c3f
Speed up computation: Try to avoid Image.At() as much as possible -> specialized color access for some image types
il y a 12 ans
jst
e548f52385
Blur input image during downscaling by scaling the filter kernel to prevent moires in the output image
il y a 12 ans
jst
d0b2b9bc39
Added MitchellNetravali, changed Lanczos a bit
il y a 12 ans
jst
3fc31c95cc
Kernel simplified
il y a 12 ans
jst
339b8fd43a
Speed up calculation by avoiding dynamic casting
il y a 12 ans
jst
9041d4db18
Function signature changed again, no need for multiple return value
il y a 12 ans
jst
6b67b636b8
Function signature changed again, no need for multiple return value
il y a 12 ans
jst
14d51db8b4
Changed function signature to include error handling. Filters simplified.
il y a 12 ans
nfnt
fdc4a64918
Tests added
il y a 12 ans
nfnt
428642c9f1
initial commit
il y a 12 ans