summaryrefslogtreecommitdiff
path: root/rect.c
AgeCommit message (Collapse)AuthorFilesLines
2015-05-24Minor cleanupLars-Dominik Braun1-2/+1
2015-05-19Fix out of bounds detectionLars-Dominik Braun1-8/+6
unsigned int works, because the greater than check catches the overflow, but it’s obviously not correct.
2015-05-02Refactor flam3_iterateLars-Dominik Braun1-14/+20
2015-05-02Precalc variation constants onceLars-Dominik Braun1-0/+3
No difference measureable.
2015-05-02Another massive cleanupLars-Dominik Braun1-1/+67
Drops unused functions, fixes function visibility.
2015-05-02Drop rotation centerLars-Dominik Braun1-1/+1
Equal to camera center anyway
2015-05-02Use camera transform matrixLars-Dominik Braun1-37/+26
Rotation and camera transformation are a single matrix now. Speedup is negligible (~1%, depending on #xforms).
2015-05-02Rewrite color palettesLars-Dominik Braun1-11/+10
Supports palettes with != 256 colors properly now. A lot of old code still (silently!) relies on that number though.
2015-05-02Rename project to “pucket”Lars-Dominik Braun1-1/+0
2015-05-02Add bucket cacheLars-Dominik Braun1-0/+63
Stores accumulation buckets. Use case: Run n seconds, check image noise levels, run again (with cache and thus previous results), check image agin, …
2015-05-02Fix colormap segfaultLars-Dominik Braun1-20/+9
The segfaults due to unaligned vector access should have happened before the recent changes. Not sure why it worked before. Reverts colormap vectorization. This is going to be restored once I rework the colormaps.
2015-05-02Switch to OpenMPLars-Dominik Braun1-337/+208
Replaces quality (target density) parameter with time limit. In preparation for rendering resumption.
2015-05-02Drop accumulation bufferLars-Dominik Braun1-60/+19
Unused after dropping spatial/temporal filters. Cuts memory usage in half.
2015-05-02Drop progress printing from rendering threadLars-Dominik Braun1-152/+29
2015-05-02Drop fieldLars-Dominik Braun1-20/+6
2015-05-02Drop temporal filter/passesLars-Dominik Braun1-80/+16
2015-05-02Drop oversamplingLars-Dominik Braun1-54/+14
Just scale it down.
2015-05-02Move iter_storage allocation to thread functionLars-Dominik Braun1-26/+24
2015-05-02Prefetch bucket accumulatorLars-Dominik Braun1-11/+13
The bucket add is a hotspot.
2015-05-02Use rotation matrixLars-Dominik Braun1-15/+10
Reuse affine transformation code from variations.
2015-05-02Factor out palette interpolationLars-Dominik Braun1-32/+38
2015-05-02Vectorize color clippingLars-Dominik Braun1-146/+61
Replaces redundant code with one function. Oddly this fixes rendering with earlyclip – not sure why. Drop transparency and channel settings (always transparent, always four channels).
2015-05-02Use floating point color values in [0,1]Lars-Dominik Braun1-23/+21
Internal color representation is [0,1] now for every channel.
2015-05-02Remove all uses of getenvLars-Dominik Braun1-16/+1
Not much functionality lost here. Move on.
2015-05-02Fix memory leaksLars-Dominik Braun1-2/+3
Introduced by 15f89a8390af9338227c2ee3f603b32a1a206a8f
2015-05-02Correctly align malloc’d vector arraysLars-Dominik Braun1-3/+14
Fixes segfault with -march=native
2015-05-02Vectorize accumulationLars-Dominik Braun1-84/+47
Also vectorizes some color functions and switches to double accumulation buffer. Does not seem to be slower.
2015-05-02Drop density estimatorLars-Dominik Braun1-358/+22
First of all, it does not look too pretty. But more importantly now we can reduce the bucket size to four (instead of five) and vectorize that stuff.
2015-05-02Remove unused variables, fix compiler warningsLars-Dominik Braun1-2/+0
2015-05-02Unify prng useLars-Dominik Braun1-6/+6
Finally drop all isaac references, do not use system rng any more. Drop rng state from flam3_frame – it was not used anyway.
2015-05-02Drop Windows/Mac support, require pthreadsLars-Dominik Braun1-60/+4
2015-05-02Drop support for atomic ops and bucket formatsLars-Dominik Braun1-26/+0
Atomic ops are slower than locks, probably going to switch buckets to uint64_t later.
2015-05-02Vectorize flam3_iterateLars-Dominik Braun1-10/+12
2015-05-02Replace isaac with xorshiftLars-Dominik Braun1-4/+1
No difference in performance. rdrand instruction alone is too slow.
2015-05-02Fix crashLars-Dominik Braun1-3/+2
For some reason filter is overwritten by pthread_join, removing its second argument fixes the problem. It is unused anyway.
2015-05-02Move out of subdirLars-Dominik Braun1-0/+1287