diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-05-28 04:58:51 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-05-28 04:58:51 +0200 |
commit | d8c194e3868ff7cc74e6b990e458a1814814c427 (patch) | |
tree | 477fdd9e6cb21a2c67c62fbfb6d7565a4eb51c79 /src/gamma-helper.c | |
parent | on GAMMA_METHOD_MAX and GAMMA_METHOD_COUNT (diff) | |
download | libgamma-d8c194e3868ff7cc74e6b990e458a1814814c427.tar.gz libgamma-d8c194e3868ff7cc74e6b990e458a1814814c427.tar.bz2 libgamma-d8c194e3868ff7cc74e6b990e458a1814814c427.tar.xz |
change doc style to one appropriate for manuals
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | src/gamma-helper.c | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/src/gamma-helper.c b/src/gamma-helper.c index 5d73b02..69f81ea 100644 --- a/src/gamma-helper.c +++ b/src/gamma-helper.c @@ -29,12 +29,12 @@ /** - * Convert any set of gamma ramps into a 64-bit integer array with all channels + * Convert any set of gamma ramps into a 64-bit integer array with all channels. * - * @param depth The depth of the gamma ramp, `-1` for `float`, `-2` for `double` - * @param n The grand size of gamma ramps (sum of all channels' sizes) - * @param out Output array - * @param in Input gamma ramps + * @param depth The depth of the gamma ramp, `-1` for `float`, `-2` for `double`. + * @param n The grand size of gamma ramps (sum of all channels' sizes.) + * @param out Output array. + * @param in Input gamma ramps. */ static void translate_to_64(signed depth, size_t n, uint64_t* restrict out, libgamma_gamma_ramps_any_t in) { @@ -74,12 +74,12 @@ static void translate_to_64(signed depth, size_t n, uint64_t* restrict out, libg /** - * Undo the actions of `translate_to_64` + * Undo the actions of `translate_to_64`. * - * @param depth The depth of the gamma ramp, `-1` for `float`, `-2` for `double` - * @param n The grand size of gamma ramps (sum of all channels' sizes) - * @param out Output gamma ramps - * @param in Input array, may be modified + * @param depth The depth of the gamma ramp, `-1` for `float`, `-2` for `double`. + * @param n The grand size of gamma ramps (sum of all channels' sizes.) + * @param out Output gamma ramps. + * @param in Input array, may be modified. */ static void translate_from_64(signed depth, size_t n, libgamma_gamma_ramps_any_t out, uint64_t* restrict in) { @@ -122,15 +122,15 @@ static void translate_from_64(signed depth, size_t n, libgamma_gamma_ramps_any_t /** - * Allocate and initalise a gamma ramp with any depth + * Allocate and initalise a gamma ramp with any depth. * - * @param ramps_sys Output gamma ramps - * @param ramps The gamma ramps whose sizes should be duplicated + * @param ramps_sys Output gamma ramps. + * @param ramps The gamma ramps whose sizes should be duplicated. * @param depth The depth of the gamma ramps to allocate, - * `-1` for `float`, `-2` for `double` - * @param elements Output reference for the grand size of the gamma ramps + * `-1` for `float`, `-2` for `double`. + * @param elements Output reference for the grand size of the gamma ramps. * @return Zero on success, otherwise (negative) the value of an - * error identifier provided by this library + * error identifier provided by this library. */ static int allocated_any_ramp(libgamma_gamma_ramps_any_t* restrict ramps_sys, libgamma_gamma_ramps_any_t ramps, signed depth, size_t* restrict elements) @@ -163,19 +163,19 @@ static int allocated_any_ramp(libgamma_gamma_ramps_any_t* restrict ramps_sys, /** - * Get current the gamma ramps for a CRTC, re-encoding version + * Get current the gamma ramps for a CRTC, re-encoding version. * - * @param this The CRTC state - * @param ramps The gamma ramps to fill with the current values + * @param this The CRTC state. + * @param ramps The gamma ramps to fill with the current values. * @param depth_user The depth of the gamma ramps that are provided by the user, - * `-1` for `float`, `-2` for `double` + * `-1` for `float`, `-2` for `double`. * @param depth_system The depth of the gamma ramps as required by the adjustment method, - * `-1` for `float`, `-2` for `double` + * `-1` for `float`, `-2` for `double`. * @param fun Function that is to be used read the ramps, its parameters have * the same function as those of this function with the same names, - * and the return value too is identical + * and the return value too is identical. * @return Zero on success, otherwise (negative) the value of an - * error identifier provided by this library + * error identifier provided by this library. */ int libgamma_translated_ramp_get_(libgamma_crtc_state_t* restrict this, libgamma_gamma_ramps_any_t* restrict ramps, @@ -212,19 +212,19 @@ int libgamma_translated_ramp_get_(libgamma_crtc_state_t* restrict this, /** - * Set the gamma ramps for a CRTC, re-encoding version + * Set the gamma ramps for a CRTC, re-encoding version. * - * @param this The CRTC state - * @param ramps The gamma ramps to apply + * @param this The CRTC state. + * @param ramps The gamma ramps to apply. * @param depth_user The depth of the gamma ramps that are provided by the user, - * `-1` for `float`, `-2` for `double` + * `-1` for `float`, `-2` for `double`. * @param depth_system The depth of the gamma ramps as required by the adjustment method, - * `-1` for `float`, `-2` for `double` + * `-1` for `float`, `-2` for `double`. * @param fun Function that is to be used write the ramps, its parameters have * the same function as those of this function with the same names, - * and the return value too is identical + * and the return value too is identical. * @return Zero on success, otherwise (negative) the value of an - * error identifier provided by this library + * error identifier provided by this library. */ int libgamma_translated_ramp_set_(libgamma_crtc_state_t* restrict this, libgamma_gamma_ramps_any_t ramps, |