summaryrefslogtreecommitdiff
path: root/flam3.h
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2015-03-01 13:02:50 +0100
committerLars-Dominik Braun <lars@6xq.net>2015-05-02 21:36:45 +0200
commit4d2d896e28446928d820bf1353abcf40e3f66ed8 (patch)
tree1aa8c49b5faec5f96a80f2257bb97d1c123d36b6 /flam3.h
parent11f46f4bf230a22559110f64d01ee9c05749de38 (diff)
downloadpucket-4d2d896e28446928d820bf1353abcf40e3f66ed8.tar.gz
pucket-4d2d896e28446928d820bf1353abcf40e3f66ed8.tar.bz2
pucket-4d2d896e28446928d820bf1353abcf40e3f66ed8.zip
Switch to OpenMP
Replaces quality (target density) parameter with time limit. In preparation for rendering resumption.
Diffstat (limited to 'flam3.h')
-rw-r--r--flam3.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/flam3.h b/flam3.h
index 3c17ffd..ac8278d 100644
--- a/flam3.h
+++ b/flam3.h
@@ -508,7 +508,7 @@ void flam3_add_motion_element(flam3_xform *xf);
void flam3_add_xforms(flam3_genome *cp, int num_to_add, int interp_padding, int final_flag);
void flam3_delete_xform(flam3_genome *thiscp, int idx_to_delete);
void flam3_copy_xform(flam3_xform *dest, flam3_xform *src);
-void flam3_copy(flam3_genome *dest, flam3_genome *src);
+void flam3_copy(flam3_genome *dest, const flam3_genome * const src);
void flam3_copyx(flam3_genome *dest, flam3_genome *src, int num_std, int num_final);
void flam3_copy_params(flam3_xform *dest, flam3_xform *src, int varn);
void flam3_delete_motion_elements(flam3_xform *xf);
@@ -523,7 +523,7 @@ void clear_cp(flam3_genome *cp, int def_flag);
(samples[2], samples[3]) as starting color coordinate,
perform fuse iterations and throw them away, then perform
nsamples iterations and save them in the samples array */
-int flam3_iterate(flam3_genome *cp, int n, int fuse, const double4 in, double4 *samples, unsigned short *xform_distrib, randctx *rc);
+int flam3_iterate(flam3_genome *cp, int n, int fuse, const double4 in, double4 *samples, const unsigned short *xform_distrib, randctx *rc);
void apply_motion_parameters(flam3_xform *xf, flam3_xform *addto, double blend);
@@ -564,8 +564,6 @@ double flam3_lyapunov(flam3_genome *g, int ntries);
void flam3_apply_template(flam3_genome *cp, flam3_genome *templ);
-int flam3_count_nthreads(void);
-
typedef struct {
double pixel_aspect_ratio; /* width over height of each pixel */
flam3_genome *genomes;