aboutsummaryrefslogtreecommitdiffstats
path: root/src/libgamma_Ramp.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-09-05 00:24:04 +0200
committerMattias Andrée <maandree@operamail.com>2014-09-05 00:24:04 +0200
commit49ff4974eaa9b3a5f2eccbfda2bb2315b8ead32c (patch)
treeb4d08ab3c48346f50eb63b4d9db27acc24dd0f94 /src/libgamma_Ramp.c
parentmakefile can build library + add .c files with all prototypes (diff)
downloadjlibgamma-49ff4974eaa9b3a5f2eccbfda2bb2315b8ead32c.tar.gz
jlibgamma-49ff4974eaa9b3a5f2eccbfda2bb2315b8ead32c.tar.bz2
jlibgamma-49ff4974eaa9b3a5f2eccbfda2bb2315b8ead32c.tar.xz
add documation to .c files
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/libgamma_Ramp.c')
-rw-r--r--src/libgamma_Ramp.c107
1 files changed, 107 insertions, 0 deletions
diff --git a/src/libgamma_Ramp.c b/src/libgamma_Ramp.c
index f81470f..98fa6d8 100644
--- a/src/libgamma_Ramp.c
+++ b/src/libgamma_Ramp.c
@@ -18,16 +18,123 @@
#include "libgamma_Ramp.h"
+/**
+ * Read the value of a stop in an 8-bit ramp.
+ *
+ * @param address The address of the ramp.
+ * @param stop The index of the stop.
+ * @return The value of the stop.
+ */
jshort Java_libgamma_Ramp_libgamma_1gamma_1ramps8_1get(JNIEnv *, jclass, jlong, jint);
+
+
+/**
+ * Read the value of a stop in a 16-bit ramp.
+ *
+ * @param address The address of the ramp.
+ * @param stop The index of the stop.
+ * @return The value of the stop.
+ */
jint Java_libgamma_Ramp_libgamma_1gamma_1ramps16_1get(JNIEnv *, jclass, jlong, jint);
+
+
+/**
+ * Read the value of a stop in a 32-bit ramp.
+ *
+ * @param address The address of the ramp.
+ * @param stop The index of the stop.
+ * @return The value of the stop.
+ */
jlong Java_libgamma_Ramp_libgamma_1gamma_1ramps32_1get(JNIEnv *, jclass, jlong, jint);
+
+
+/**
+ * Read the value of a stop in a 64-bit ramp.
+ *
+ * @param address The address of the ramp.
+ * @param stop The index of the stop.
+ * @return The value of the stop.
+ */
jlong Java_libgamma_Ramp_libgamma_1gamma_1ramps64_1get(JNIEnv *, jclass, jlong, jint);
+
+
+/**
+ * Read the value of a stop in a single precision floating point ramp.
+ *
+ * @param address The address of the ramp.
+ * @param stop The index of the stop.
+ * @return The value of the stop.
+ */
jfloat Java_libgamma_Ramp_libgamma_1gamma_1rampsf_1get(JNIEnv *, jclass, jlong, jint);
+
+
+/**
+ * Read the value of a stop in a double precision floating point ramp.
+ *
+ * @param address The address of the ramp.
+ * @param stop The index of the stop.
+ * @return The value of the stop.
+ */
jdouble Java_libgamma_Ramp_libgamma_1gamma_1rampsd_1get(JNIEnv *, jclass, jlong, jint);
+
+
+
+/**
+ * Set the value of a stop in an 8-bit ramp.
+ *
+ * @param address The address of the ramp.
+ * @param stop The index of the stop.
+ * @param value The value of the stop.
+ */
void Java_libgamma_Ramp_libgamma_1gamma_1ramps8_1set(JNIEnv *, jclass, jlong, jint, jshort);
+
+
+/**
+ * Set the value of a stop in a 16-bit ramp.
+ *
+ * @param address The address of the ramp.
+ * @param stop The index of the stop.
+ * @param value The value of the stop.
+ */
void Java_libgamma_Ramp_libgamma_1gamma_1ramps16_1set(JNIEnv *, jclass, jlong, jint, jint);
+
+
+/**
+ * Set the value of a stop in a 32-bit ramp.
+ *
+ * @param address The address of the ramp.
+ * @param stop The index of the stop.
+ * @param value The value of the stop.
+ */
void Java_libgamma_Ramp_libgamma_1gamma_1ramps32_1set(JNIEnv *, jclass, jlong, jint, jlong);
+
+
+/**
+ * Set the value of a stop in a 64-bit ramp.
+ *
+ * @param address The address of the ramp.
+ * @param stop The index of the stop.
+ * @param value The value of the stop.
+ */
void Java_libgamma_Ramp_libgamma_1gamma_1ramps64_1set(JNIEnv *, jclass, jlong, jint, jlong);
+
+
+/**
+ * Set the value of a stop in a single precision floating point ramp.
+ *
+ * @param address The address of the ramp.
+ * @param stop The index of the stop.
+ * @param value The value of the stop.
+ */
void Java_libgamma_Ramp_libgamma_1gamma_1rampsf_1set(JNIEnv *, jclass, jlong, jint, jfloat);
+
+
+/**
+ * Set the value of a stop in a double precision floating point ramp.
+ *
+ * @param address The address of the ramp.
+ * @param stop The index of the stop.
+ * @param value The value of the stop.
+ */
void Java_libgamma_Ramp_libgamma_1gamma_1rampsd_1set(JNIEnv *, jclass, jlong, jint, jdouble);