Commit Graph

136 Commits

Author SHA1 Message Date
dd645bcbf6 Use one dither offset per block. 2011-10-15 00:29:22 -04:00
83670df2c7 Fix random seeds. 2011-10-14 11:56:58 -04:00
b168a2431e 32-bit compatibility (I think?) 2011-10-13 16:56:20 -04:00
d409f02e4a Precompile accessors.
This improves packing speed by 8x, which is visible on small or
low-quality frames.
2011-10-12 11:50:07 -04:00
a12714f4c4 Fix MWC test 2011-10-12 07:36:07 -04:00
9b03f557c2 Fix missing control points in async version.
The allocation pool was reallocating the same frame as soon as it had
left the current scope, before it had been copied. We just reallocate
the same chunks. I don't think this has any real performance impact but
this can be verified.
2011-10-11 20:54:33 -04:00
b081bc9378 Remove a sync from iter.
A small but consistent improvement.
2011-10-11 14:56:23 -04:00
8c7e86c7c7 Fixed fraction to not exceed range 2011-10-11 11:26:38 -04:00
618b51b1b1 Speed enhancement: alpha packing.
When the alpha channel is used in a color palette, the code now replaces
the blue channel in the accumulation buffer with a pair of two U16s,
which encode the values of the blue and alpha channels as a fraction of
the value of the density. When the alpha channel is always 1.0, the blue
channel works as normal. Density is now always the last element in the
accumulation buffer.

Eliminating the separate IO operations improved total runtime by more
than 30% on my card, while the extra calculations reduced that to 20%
when alpha was present (though that can be optimized further).
2011-10-11 09:57:37 -04:00
46c6074b92 Use C++ pass-by-reference to explicitly share. 2011-10-03 16:53:29 -04:00
18a60ec066 Major bugfix. Also include thread-swapping that works. 2011-06-25 20:37:08 -04:00
44f897f28e fixed enable/disable chaos 'if chain' in iter kernel function 2011-06-24 09:59:14 -06:00
b732a3c244 now the chaos 'if chain' is only used if there are non-unity chaos entries in the genome. 2011-06-24 08:18:08 -06:00
50b664b1f9 chaos support \0/ 2011-06-24 06:09:04 -06:00
bc2aa00e2a removed stray debug printfs 2011-06-21 11:24:06 -06:00
addad052b1 closes 11 - all black pixels with non-zero density were not being handled properly. 2011-06-21 11:22:20 -06:00
981de94be5 added <stdio.h> for printf support in cuda code 2011-06-21 11:17:11 -06:00
746185ce4d added support for pre_blur. all variations that start with 'pre_' will be applied to the
output of the affine transform before the other variation contributions are calculated.
2011-06-20 14:05:00 -06:00
c66cb463d4 Add background color support, and tentatively disable density blurring. 2011-06-19 00:30:54 -04:00
883de380fc Did check. It is right. 2011-06-18 22:30:09 -04:00
98fb376545 fixed extra ) in var59 2011-06-17 16:36:27 -06:00
f684f90956 fixed a few more variations 2011-06-17 13:00:57 -06:00
3ee437d9b2 more fixes for variations...just about have all of the written ones validated. 2011-06-17 10:24:13 -06:00
6cd4f328f0 fixes for various variations 2011-06-16 21:25:06 -06:00
9e74ff57ce Fix julia variation. Closes issue 10. 2011-06-16 13:42:17 -04:00
8a3365712c fixed super_shape 2011-06-16 10:23:47 -06:00
e05d43fc57 fixed pie variation. 2011-06-16 06:50:26 -06:00
e83e67b440 fixed waves variation. 2011-06-16 05:34:46 -06:00
842efb6317 more variation fixes, syntax errors and so on. 2011-06-15 20:21:40 -06:00
702e303509 Gaussian dither 2011-06-13 23:20:39 -04:00
e579c837ce Missed a double in the filtering 2011-06-13 00:50:41 -04:00
5ebf62b1a3 Reduce some double-precision constants 2011-06-13 00:48:31 -04:00
131ce96263 fixed some missing ; in the variation code. 2011-06-12 21:53:33 -06:00
89b6732752 Skip the final xform when (re)joining the attractor 2011-06-12 19:29:10 -04:00
9f2bc49009 Clean up some leftover debugging code in filtering 2011-06-12 19:17:02 -04:00
f872baf844 Use much more accurate filtsum estimation polynomials 2011-06-12 17:37:57 -04:00
e9998c28da Re-add a hard clamp for an estimator minimum.
The value 0.4 is above what it should be (0.3 is the theoretical minimum), and
having the harder clamp threshold causes some problems, but fixes others.
There's a deeper bug here.
2011-06-11 23:39:51 -04:00
299b5d5dab Fix filtering - or at least make it less broken 2011-06-11 23:28:32 -04:00
6b09e162a3 Make DE use current center CP instead of anim-wide CP; start debugging color 2011-06-11 22:51:16 -04:00
38fbc391e8 Add gamma linearization (may be incorrect) 2011-06-11 17:50:15 -04:00
6c7d0270ad A few variation fixups 2011-06-11 17:21:34 -04:00
e79df46c66 Refactor API
--HG--
rename : cuburn/code/filter.py => cuburn/code/filtering.py
2011-06-11 15:59:10 -04:00
6f3c27007a Remove outdated MemBench stuff 2011-06-11 15:58:37 -04:00
94c453d153 Filter adjustments (density prefilter, gutter) 2011-06-11 15:58:15 -04:00
cd1f905ca3 Fix assembly (don't think this bug ever bit, but it could) 2011-05-29 15:20:58 -04:00
daf56ffc53 Split thread group up along warp boundary (this is useful later) 2011-05-29 15:15:06 -04:00
923d471e0e Merge memory transaction for slightly less smashing 2011-05-29 15:06:57 -04:00
78835085e8 A few trivial syntax corrections in the vars 2011-05-29 14:52:10 -04:00
7556d79ae5 Merge Erik's variations (TY!) 2011-05-05 23:36:40 -04:00
3d94c256a9 Another non-working checkin 2011-05-05 23:35:54 -04:00